All Versions
Latest Version
Avg Release Cycle
166 days
Latest Release
277 days ago

Changelog History
Page 3

  • v0.14

    July 25, 2010
    • โž• Added CreateLink class and #link_file method
    • 0๏ธโƒฃ Made Thor::Actions#run use system as default method for system calls
    • ๐Ÿ‘ Allow use of private methods from superclass as tasks
    • โž• Added mute(&block) method which allows to run block without any output
    • โœ‚ Removed config[:pretend]
    • ๐Ÿ’ป Enabled underscores for command line switches
    • โž• Added Thor::Base.basename which is used by both Thor.banner and Thor::Group.banner
    • ๐Ÿ—„ Deprecated invoke() without arguments
    • Added :only and :except to check_unknown_options
  • v0.13

    February 03, 2010
    • โž• Added :lazy_default which is only triggered if a switch is given
    • โž• Added Thor::Shell::HTML
    • โž• Added subcommands
    • Decoupled Thor::Group and Thor, so it's easier to vendor
    • Added check_unknown_options! in case you want error messages to be raised in valid switches
    • โš™ run(command) should return the results of command
  • v0.12

    January 02, 2010
    • Methods generated by attr_* are automatically not marked as tasks
    • inject_into_file does not add the same content twice, unless :force is set
    • โœ‚ Removed rr in favor to rspec mock framework
    • ๐Ÿ‘Œ Improved output for thor -T
    • [#7] Do not force white color on status
    • [#8] Yield a block with the filename on directory
  • v0.11

    July 01, 2009
    • โž• Added a rake compatibility layer. It allows you to use spec and rdoc tasks on Thor classes.
    • BACKWARDS INCOMPATIBLE: aliases are not generated automatically anymore since it may cause wrong behavior in the invocation system.
    • thor help now show information about any class/task. All those calls are possible:

      thor help describe thor help describe:amazing Or even with default namespaces:

      thor help :spec

    • 0๏ธโƒฃ Thor::Runner now invokes the default task if none is supplied:

      thor describe # invokes the default task, usually help

    • Thor::Runner now works with mappings:

      thor describe -h

    • โž• Added some documentation and code refactoring.

  • v0.9.8

    October 20, 2008
    • ๐Ÿ›  Fixed some tiny issues that were introduced lately.
  • v0.9.7

    October 13, 2008
    • Setting global method options on the initialize method works as expected: All other tasks will accept these global options in addition to their own.
    • โž• Added 'group' notion to Thor task sets (class Thor); by default all tasks are in the 'standard' group. Running 'thor -T' will only show the standard tasks - adding --all will show all tasks. You can also filter on a specific group using the --group option: thor -T --group advanced
  • v0.9.6

    September 13, 2008
    • Generic improvements
  • v0.9.5

    August 27, 2008
    • ๐Ÿ‘Œ Improve Windows compatibility
    • โšก๏ธ Update (incorrect) README and task.thor sample file
    • Options hash is now frozen (once returned)
    • ๐Ÿ‘ Allow magic predicates on options object. For instance: options.force?
    • โž• Add support for :numeric type
    • โ™ป๏ธ BACKWARDS INCOMPATIBLE: Refactor Thor::Options. You cannot access shorthand forms in options hash anymore (for instance, options[:f])
    • ๐Ÿ‘ Allow specifying optional args with default values: method_options(:user => "mislav")
    • Don't write options for nil or false values. This allows, for example, turning color off when running specs.
    • ๐Ÿ‘ท Exit with the status of the spec command to help CI stuff out some.
  • v0.9.4

    August 13, 2008
    • ๐Ÿ Try to add Windows compatibility.
    • BACKWARDS INCOMPATIBLE: options hash is now accessed as a property in your class and is not passed as last argument anymore
    • ๐Ÿ‘ Allow options at the beginning of the argument list as well as the end.
    • ๐Ÿ‘‰ Make options available with symbol keys in addition to string keys.
    • ๐Ÿ‘ Allow true to be passed to Thor#method_options to denote a boolean option.
    • โš  If loading a thor file fails, don't give up, just print a warning and keep going.
    • ๐Ÿšฉ Make sure that we re-raise errors if they happened further down the pipe than we care about.
    • โšก๏ธ Only delete the old file on updating when the installation of the new one is a success
    • ๐Ÿ’Ž Make it Ruby 1.8.5 compatible.
    • Don't raise an error if a boolean switch is defined multiple times.
    • ๐Ÿ“œ Thor::Options now doesn't parse through things that look like options but aren't.
    • โž• Add URI detection to install task, and make sure we don't append ".thor" to URIs
    • โž• Add rake2thor to the gem binfiles.
    • ๐Ÿ‘‰ Make sure local Thorfiles override system-wide ones.