Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: erikhuda/thor
...
head fork: rleber/thor
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Dec 10, 2010
@rleber rleber Add Thor::Wrapper class and update other files. README still needs work
c1077cd
@rleber rleber Complete README
61be4e4
@rleber rleber Add comments to Thor::Wrapper
3b5c510
@rleber rleber Begin adding tests for Thor::Wrapper
112d093
@rleber rleber Changes to help text, tests and bug fixes
5703b64
Commits on Dec 11, 2010
@rleber rleber Add tests for help, Thor::Runner/list and Thor::Runner/installed
4faf2c0
@rleber rleber Complete specifications
f718b1f
@rleber rleber Add method invocation specifications
280e4ad
@rleber rleber Fix bug in passing arguments and options to tasks in the parent comma…
…nd; add relevant behaviors
97a86c6
Commits on Dec 12, 2010
@rleber rleber Add some comments explaining wrapping of long descriptions, and some …
…formatting hacks
422b2cc
Commits on Dec 13, 2010
@rleber rleber Add bug fix for arguments with spaces in them
5973b07
@rleber rleber Add test for correct passing of parameters with spaces
dc21f68
Commits on Dec 22, 2010
@rleber rleber Update gem
f9e956a
Commits on Jun 18, 2011
@sferik sferik Update rspec development dependency to version 2.3.0
825887f
@sferik sferik Ignore Gemfile.lock
75eed49
@gunn gunn Modifed the template action to satisfy this promise from the docs: "I…
…f the destination is not given it's assumed to be equal to the source removing .tt from the filename". Added a test and updated an existing one.
ccdea32
@sferik sferik Let it be
7e449c8
@hiroshi hiroshi Added a section about Thor#start
14eabe5
@bgraw3 bgraw3 fix the example
b239e22
@parndt parndt Possibly fix typo?
141b96a
@sferik sferik Update simplecov development dependency to ~> 0.4
1eeea93
@sferik sferik Fix typo in docs (Utils -> Util)
Reported by: Oliver Gaida
6942a10
@derickbailey derickbailey removed documentation from readme as it's now in the wiki
f7d2292
@eventualbuddha eventualbuddha Make boolean options with a false default uses false instead of nil.
Fixes #125.
2c65454
@sferik sferik Convert GitHub link to HTTPS
8d12b45
@sferik sferik Update gemspec
bda5c68
@martinos martinos Thor file location now supports https uri
8f3f39c
@sferik sferik Update installation instructions; link to LICENSE
e4b1714
@nerdyc nerdyc Use #public_methods to check whether a command method is public, rath…
…er than private_methods+protected_methods.

(Works around bug #204 in MacRuby)
1752cca
@rleber rleber Fix typo in help text for default_task
95b3986
@rleber rleber Remove unnecessary dependency on Thor::Group
facc819
@rleber rleber Fix gemspec: should reference LICENSE.md
c1fb299
@rleber rleber Remove old gem file
72417a6
@rleber rleber Rebuild gem
86137d8
@rleber rleber Rebuild gem
0d54e80
@rleber rleber Fix problem with help not including parent command names for subcommands
0523194
@rleber rleber Merge branch 'fix_subcommands'
6d533a6
@rleber rleber Add fix to subcommand naming in help; bump version
8eee7a3
@rleber rleber Rebuild gem
315e71e
@rleber rleber Fix typo in thor.rb
581bfc8
@rleber rleber Rebuild gem
372a84f
Commits on Jun 21, 2011
@rleber rleber Rebuild gem
8d2d324
@rleber rleber Rebuild gem
f3c73bc
@rleber rleber Rebuild gem
a2c21e1
@rleber rleber Rebuild gem
386596e
@rleber rleber Rebuild gem
cc685fe
@rleber rleber Allow Thor to specify using a default task with arguments, if argumen…
…ts match no method
b880585
@rleber rleber Rebuild gem
b5af1e2
@rleber rleber Commit changes -- allow default tasks with arguments
78cb428
@rleber rleber Rebuild gem
e7df5fe
@rleber rleber Rebuild gem
d8b13e6
@rleber rleber Rebuild gem
68a54b1
@rleber rleber Rebuild gem
15825ed
@rleber rleber Rebuild gem
e9a48d3
@rleber rleber Rebuild gem
4045cd7
@rleber rleber Rebuild gem
bcd4994
@rleber rleber Rebuild gem
771337b
@rleber rleber Rebuild gem
9ad3817
@rleber rleber Rebuild gem
7f16e17
@rleber rleber Rebuild gem
38a4bc3
@rleber rleber Add test for Thor.banner
91bf376
@rleber rleber Add tests for default tasks with arguments allowed
2b8e883
@rleber rleber Allow repeating options
0f2455d
@rleber rleber Rebuild gem
9f6ef5b
@rleber rleber Rebuild gem
d7c3c9f
Commits on Jun 22, 2011
@rleber rleber Update tasks
3f2a150
@rleber rleber Rebuild gem
2210e12
@rleber rleber Rebuild gem
ab7875d
@rleber rleber Rebuild gem
cf68ec3
@rleber rleber Rebuild gem
9b36d81
@rleber rleber Rebuild gem
ffe6526
@rleber rleber Rebuild gem
3467ec3
@rleber rleber Finally fixed bad default task bug
b5914b4
@rleber rleber Rebuild gem
e7d047c
Commits on Jul 02, 2011
@rleber rleber Bug fix in print_wrapped
485c5bf
@rleber rleber Update version and CHANGELOG. Remove extraneous History.rdoc and old gem
aad0976
@rleber rleber Fix merge conflicts
7ec3f92
@rleber rleber Fix bug in print_wrapped. Expand explanatory comments for print_wrapped
0304f9f
@rleber rleber Remove unnecessary dependency on Thor::Group
81c16ab
@rleber rleber Fix problem with help not including parent command names for subcommands
See problem identified in github Issue 128. This patch has been submitted
as Issue 137
c292d92
@rleber rleber Rename banner as task_banner (to distinguish it from overall banners for
Thor classes). Add Thor.banner method to set overall banner for a Thor
class. Add tests for Thor.banner
69a075f
@rleber rleber Allow Thor to specify using a default task with arguments, if argumen…
…ts match no method, i.e.

  thor klass blah # where blah is not a task, defaults to: thor klass default_task blah

Also add tests for default tasks with arguments, and fix typo in documentation comments for default_task
e92f432
@rleber rleber Allow repeating options
1af071c
@rleber rleber Fix bug if default task is not found
14cd8b5
Commits on Jul 03, 2011
@rleber rleber Revert back to where Thor::Wrapper code diverged from github wycats/t…
…hor upstream repository.

The state of this branch should now be equivalent to the point marked by tag wrapper_diverges,
commit e17a07d

This reversion also includes reverting some interim changes to the upstream repository,
and the changes incorporated in the misc_extensions branch. These changes will be cherry-picked
back into this repository to sync things up, minus the Thor::Wrapper changes.

The Thor::Wrapper changes will be maintained in a separate branch, for future reference

This is a combination of 74 commits.

* Revert "Fix merge conflicts"
  This reverts commit 7ec3f92, reversing
  changes made to aad0976.

* Revert "Update version and CHANGELOG. Remove extraneous History.rdoc and old gem"
  This reverts commit aad0976.

* Revert "Bug fix in print_wrapped"
  This reverts commit 485c5bf.

* Revert "Rebuild gem"
  This reverts commit e7d047c.

* Revert "Finally fixed bad default task bug"
  This reverts commit b5914b4.

* Revert "Rebuild gem"
  This reverts commit 3467ec3.

* Revert "Rebuild gem"
  This reverts commit ffe6526.

* Revert "Rebuild gem"
  This reverts commit 9b36d81.

* Revert "Rebuild gem"
  This reverts commit cf68ec3.

* Revert "Rebuild gem"
  This reverts commit ab7875d.

* Revert "Rebuild gem"
  This reverts commit 2210e12.

* Revert "Update tasks"
  This reverts commit 3f2a150.

* Revert "Rebuild gem"
  This reverts commit d7c3c9f.

* Revert "Rebuild gem"
  This reverts commit 9f6ef5b.

* Revert "Allow repeating options"
  This reverts commit 0f2455d.

* Revert "Add tests for default tasks with arguments allowed"
  This reverts commit 2b8e883.

* Revert "Add test for Thor.banner"
  This reverts commit 91bf376.

* Revert "Rebuild gem"
  This reverts commit 38a4bc3.

* Revert "Rebuild gem"
  This reverts commit 7f16e17.

* Revert "Rebuild gem"
  This reverts commit 9ad3817.

* Revert "Rebuild gem"
  This reverts commit 771337b.

* Revert "Rebuild gem"
  This reverts commit bcd4994.

* Revert "Rebuild gem"
  This reverts commit 4045cd7.

* Revert "Rebuild gem"
  This reverts commit e9a48d3.

* Revert "Rebuild gem"
  This reverts commit 15825ed.

* Revert "Rebuild gem"
  This reverts commit 68a54b1.

* Revert "Rebuild gem"
  This reverts commit d8b13e6.

* Revert "Rebuild gem"
  This reverts commit e7df5fe.

* Revert "Commit changes -- allow default tasks with arguments"
  This reverts commit 78cb428.

* Revert "Rebuild gem"
  This reverts commit b5af1e2.

* Revert "Allow Thor to specify using a default task with arguments, if arguments match no method"
  This reverts commit b880585.

* Revert "Rebuild gem"
  This reverts commit cc685fe.

* Revert "Rebuild gem"
  This reverts commit 386596e.

* Revert "Rebuild gem"
  This reverts commit a2c21e1.

* Revert "Rebuild gem"
  This reverts commit f3c73bc.

* Revert "Rebuild gem"
  This reverts commit 8d2d324.

* Revert "Rebuild gem"
  This reverts commit 372a84f.

* Revert "Fix typo in thor.rb"
  This reverts commit 581bfc8.

* Revert "Rebuild gem"
  This reverts commit 315e71e.

* Revert "Add fix to subcommand naming in help; bump version"
  This reverts commit 8eee7a3.

* Revert "Merge branch 'fix_subcommands'"
  This reverts commit 6d533a6, reversing
  changes made to 0d54e80.

* Revert "Remove old gem file"
  This reverts commit 72417a6.

* Revert "Fix gemspec: should reference LICENSE.md"
  This reverts commit c1fb299.

* Revert "Remove unnecessary dependency on Thor::Group"
  This reverts commit facc819.

* Revert "Fix typo in help text for default_task"
  This reverts commit 95b3986.

* Revert "Use #public_methods to check whether a command method is public, rather than private_methods+protected_methods."
  This reverts commit 1752cca.

* Revert "Update installation instructions; link to LICENSE"
  This reverts commit e4b1714.

* Revert "Thor file location now supports https uri"
  This reverts commit 8f3f39c.

* Revert "Update gemspec"
  This reverts commit bda5c68.

  Conflicts:

	thor.gemspec

* Revert "Convert GitHub link to HTTPS"
  This reverts commit 8d12b45.

* Revert "Make boolean options with a false default uses false instead of nil."
  This reverts commit 2c65454.

* Revert "removed documentation from readme as it's now in the wiki"
  This reverts commit f7d2292.

* Revert "Fix typo in docs (Utils -> Util)"
  This reverts commit 6942a10.

* Revert "Update simplecov development dependency to ~> 0.4"
  This reverts commit 1eeea93.

* Revert "Possibly fix typo?"
  This reverts commit 141b96a.

* Revert "fix the example"
  This reverts commit b239e22.

* Revert "Added a section about Thor#start"
  This reverts commit 14eabe5.

* Revert "Let it be"
  This reverts commit 7e449c8.

* Revert "Modifed the template action to satisfy this promise from the docs: "If the destination is not given it's assumed to be equal to the source removing .tt from the filename". Added a test and updated an existing one."
  This reverts commit ccdea32.

* Revert "Ignore Gemfile.lock"
  This reverts commit 75eed49.

* Revert "Update rspec development dependency to version 2.3.0"
  This reverts commit 825887f.

* Revert "Update gem"
  This reverts commit f9e956a.

* Revert "Add test for correct passing of parameters with spaces"
  This reverts commit dc21f68.

* Revert "Add bug fix for arguments with spaces in them"
  This reverts commit 5973b07.

* Revert "Add some comments explaining wrapping of long descriptions, and some formatting hacks"
  This reverts commit 422b2cc.

* Revert "Fix bug in passing arguments and options to tasks in the parent command; add relevant behaviors"
  This reverts commit 97a86c6.

* Revert "Add method invocation specifications"
  This reverts commit 280e4ad.

* Revert "Complete specifications"
  This reverts commit f718b1f.

* Revert "Add tests for help, Thor::Runner/list and Thor::Runner/installed"
  This reverts commit 4faf2c0.

* Revert "Changes to help text, tests and bug fixes"
  This reverts commit 5703b64.

* Revert "Begin adding tests for Thor::Wrapper"
  This reverts commit 112d093.

* Revert "Add comments to Thor::Wrapper"
  This reverts commit 3b5c510.

* Revert "Complete README"
  This reverts commit 61be4e4.

* Revert "Add Thor::Wrapper class and update other files. README still needs work"
  This reverts commit c1077cd.
7ea8afe
@rleber rleber Merge upstream/master (github wycats/thor)
39942f4
@rleber rleber Merge branch 'master' of github.com:rleber/thor
f6f7e80
@sferik sferik Update rspec development dependency to version 2.3.0
9228c36
@sferik sferik Ignore Gemfile.lock
8f7136c
@sferik sferik Let it be
b8c0db7
@hiroshi hiroshi Added a section about Thor#start
f9942fb
@bgraw3 bgraw3 fix the example
4060564
@parndt parndt Possibly fix typo?
26be0bb
@sferik sferik Update simplecov development dependency to ~> 0.4
ab1f782
@sferik sferik Fix typo in docs (Utils -> Util)
Reported by: Oliver Gaida
a7c4944
@derickbailey derickbailey removed documentation from readme as it's now in the wiki
53ad376
@eventualbuddha eventualbuddha Make boolean options with a false default uses false instead of nil.
Fixes #125.
7472116
@sferik sferik Convert GitHub link to HTTPS
0d1aa74
@sferik sferik Update gemspec
bc89861
@martinos martinos Thor file location now supports https uri
7d41cfa
@sferik sferik Update installation instructions; link to LICENSE
f81578c
@nerdyc nerdyc Use #public_methods to check whether a command method is public, rath…
…er than private_methods+protected_methods.

(Works around bug #204 in MacRuby)
2b63499
@gazay gazay Initialize @no_tests in inherited hook
dac3de4
@gazay gazay Added right extension to LICENSE for building gem
dd9ef9c
@gazay gazay Removed warning about shadowing outer local variable - option
b7c5c18
@gazay gazay Initializing mute variable
d0615a0
@rleber rleber Fix remaining small differences with wycats/thor
ac6633e
@rleber rleber Remove thor-0.14.8.gem
8354c8d
@rleber rleber Merge branch 'revert_wrapper'
9baa615
@rleber rleber Merge branch 'misc_extensions'
59fc407
Commits on Jul 04, 2011
@rleber rleber Better patch for MacRuby bug. Previous attempt (677b1e0) introduces a…
… bug for dynamic tasks
283c58a
Commits on Jul 09, 2011
@rleber rleber Merge changes to upstream
62f99bc
@rleber rleber Fix problem with help not including parent command names for subcommands
See problem identified in github Issue 128. This patch has been submitted
as Issue 137
e6d0b93
@rleber rleber Allow Thor to specify using a default task with arguments, if argumen…
…ts match no method, i.e.

  thor klass blah # where blah is not a task, defaults to: thor klass default_task blah

Also add tests for default tasks with arguments, and fix typo in documentation comments for default_task
0333ee1
@rleber rleber Fix bug if default task is not found
848670e
@rleber rleber Add repeating options
2ad710c
@rleber rleber Fix merge errors; all specs pass
f2fd483
Something went wrong with that request. Please try again.