Permalink
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…

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

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

    * 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
    Andy Delcambre committed with josevalim Feb 25, 2010
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.

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

    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>
    geoffgarside committed with josevalim Feb 18, 2010
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
  5. Small refactor in invocations.

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

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

    …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.
    josevalim committed Feb 11, 2010
  2. Revert "Added autoload for Thor::Group. Closes #22."

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

    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.
    rheimbuch committed Feb 11, 2010
  4. Revert "Require 'thor/group' so that task.rb line 92 doesn't blow up."

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

    There's no way to spec this because spec_helper.rb requires
    thor/group already.
    indirect committed with wycats Feb 11, 2010
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 …

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

    josevalim committed Feb 2, 2010
  2. Spacing

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

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