Permalink
Commits on Mar 9, 2010
  1. Allow default namespace tasks to be invoked without a colon

    indirect authored and Brian Donovan committed Mar 9, 2010
Commits on Feb 26, 2010
  1. Bump tiny.

    josevalim committed Feb 26, 2010
Commits on Feb 25, 2010
  1. Make default option assignment work correctly for the last argument a…

    Andy Delcambre authored and josevalim committed Feb 25, 2010
    …s well
  2. Return the default if an option has a default and it is given with no…

    Andy Delcambre authored and josevalim committed Feb 25, 2010
    … arg
  3. Fix the regexes to detect whether something is a switch

    Andy Delcambre authored and josevalim committed Feb 25, 2010
    * The regex was unintentionally acception things like --f--asd+--
    * In some cases switches needed to pass the regexes to be switches
      in others, just starting with a - was enough, now everything must
      pass the regexes
Commits on Feb 23, 2010
  1. Small fixes.

    josevalim committed Feb 23, 2010
Commits on Feb 22, 2010
Commits on Feb 19, 2010
  1. Add spec to test Thor::Action#get with http remote source.

    geoffgarside authored and josevalim committed Feb 19, 2010
    Adds a test dependency on fakeweb to perform HTTP source test without hitting the network.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. Fix the get action to support HTTP remote sources.

    geoffgarside authored and josevalim committed Feb 18, 2010
    As of commit dd072c9 the get action fails to retrieve remote sources. This is due to the File.binread method operating on File which only works with locally mounted file systems. Prior to this commit the get action used Open-URI to access the source which allowed it to be either local to the system or a remote http file.
    
    This commit restores the use of Open-URI and also aims to maintain the binary mode reading support of the aforementioned commit.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Feb 17, 2010
  1. Bump tiny.

    josevalim committed Feb 17, 2010
Commits on Feb 16, 2010
  1. Bump version.

    josevalim committed Feb 16, 2010
  2. Thor should not steal ARGV.

    josevalim committed Feb 16, 2010
  3. Remove deprecated stuff.

    josevalim committed Feb 16, 2010
  4. Unify error messages.

    josevalim committed Feb 16, 2010
Commits on Feb 15, 2010
  1. Normalize task names when providing task help.

    Brian Donovan
    Brian Donovan committed Feb 15, 2010
    Fixes cases like `thor help fix-me`, which didn't work even though
    `thor fix-me` would.
Commits on Feb 11, 2010
  1. The problem all along is that thor runner was not loading thor and th…

    josevalim committed Feb 11, 2010
    …or/group. This was fixed. Neither Thor or Thor::Group are autoloaded, you need to require them by hand. The good news is, if you just require 'thor', you will get only Thor, if you require only 'thor/group', you will get only Thor::Group.
  2. Revert "Added autoload for Thor::Group. Closes #22."

    josevalim committed Feb 11, 2010
    This reverts commit 1f55b64.
  3. Added autoload for Thor::Group. Closes #22.

    rheimbuch committed Feb 11, 2010
    Thor::Group was not autoloaded, despite the comment on ba20598 indicating so.
    Autoloading Thor::Group is consistent with autoloading Thor::Actions.
    No longer require 'thor/group' in spec_helper.rb.
    All specs pass.
    `thor list` now runs without error.
  4. Revert "Require 'thor/group' so that task.rb line 92 doesn't blow up."

    rheimbuch committed Feb 11, 2010
    Patches the problem at task.rb:92, but spec_helper.rb blows up when loading fixtures/group.thor
    
    This reverts commit 5943a11.
  5. Require 'thor/group' so that task.rb line 93 doesn't blow up.

    indirect authored and wycats committed Feb 11, 2010
    There's no way to spec this because spec_helper.rb requires
    thor/group already.
Commits on Feb 3, 2010
  1. Release Thor 0.13.0

    josevalim committed Feb 3, 2010
  2. Bump to 0.12.4.

    josevalim committed Feb 3, 2010
  3. Closes gh-10: rdoc gem should not be required to run thor -T or thor…

    Hedge Hog authored and josevalim committed Jan 2, 2010
    … specs without warnings.
    
    Signed-off-by: Hedge Hog <hedge.hogs.hiatus@gmail.com>
Commits on Feb 2, 2010
  1. Wrap up README changes.

    josevalim committed Feb 2, 2010
  2. Spacing

    Jonathan Hicks authored and josevalim committed Feb 2, 2010
  3. Adding an example generator, a section on further reading about

    Jonathan Hicks authored and josevalim committed Feb 2, 2010
    Thor and some documentation links.