All Versions
29
Latest Version
Avg Release Cycle
166 days
Latest Release
722 days ago

Changelog History
Page 1

  • v1.0.1 Changes

    December 17, 2019
    • ๐Ÿ›  Fix thor when thor/base and thor/group are required without thor.rb.
    • ๐Ÿ– Handle relative source path in create_link.
  • v1.0.0 Changes

    December 13, 2019
    • โฌ‡๏ธ Drop support to Ruby 1.8 and 1.9.
    • Deprecate relying on default exit_on_failure?. In preparation to make Thor commands exit when there is a failure we are deprecating defining a command without defining what behavior is expected when there is a failure.

    To fix the deprecation you need to define a class method called exit_on_failure? returning

    false if you want the current behavior or true if you want the new behavior.

    • ๐Ÿ—„ Deprecate defining an option with the default value using a different type as defined in the option.
    • ๐Ÿ‘ Allow options to be repeatable. See #674.
  • v0.20.3 Changes

    November 10, 2018
    • Support old versions of did_you_mean.
  • v0.20.2 Changes

    November 10, 2018
    • Fix did_you_mean support.
  • v0.20.1 Changes

    November 09, 2018
    • ๐Ÿ‘Œ Support new versions of ERB.
    • Fix check_unknown_options! to not check the content that was not parsed, i.e. after a -- or after the first unknown with stop_on_unknown_option!
    • Add did_you_mean support.
  • v0.20.0 Changes

    August 16, 2017
    • 0๏ธโƒฃ Add check_default_type! to check if the default value of an option matches the defined type. It removes the warning on usage and gives the command authors the possibility to check for programming errors.

    • Add disable_required_check! to disable check for required options in some commands. It is a substitute of disable_class_options that was not working as intended.

    • Add inject_into_module.

  • v0.19.4 Changes

    November 28, 2016
    • Rename Thor::Base#thor_reserved_word? to #is_thor_reserved_word?
  • v0.19.3 Changes

    November 27, 2016
    • โš  Output a warning instead of raising an exception when a default option value doesn't match its specified type
  • v0.19.2 Changes

    November 26, 2016
    • ๐Ÿ›  Fix bug with handling of colors passed to ask (and methods like yes? and no? which it underpins)
    • ๐Ÿ‘ Allow numeric arguments to be negative
    • 0๏ธโƒฃ Ensure that default option values are of the specified type (e.g. you can't specify "foo" as the default for a numeric option), but make symbols and strings interchangeable
    • โž• Add Thor::Shell::Basic#indent method for intending output
    • ๐Ÿ›  Fix remove_command for an inherited command (see #451)
    • ๐Ÿ‘ Allow hash arguments to only have each key provided once (see #455)
    • ๐Ÿ‘ Allow commands to disable class options, for instance for "help" commands (see #363)
    • Do not generate a negative option (--no-no-foo) for already negative boolean options (--no-foo)
    • ๐Ÿ‘Œ Improve compatibility of Thor::CoreExt::HashWithIndifferentAccess with Ruby standard library Hash
    • ๐Ÿ‘ Allow specifying a custom binding for template evaluation (e.g. #key? and #fetch)
    • ๐Ÿ›  Fix support for subcommand-specific "help"s
    • ๐Ÿ’Ž Use a string buffer when handling ERB for Ruby 2.3 compatibility
    • โšก๏ธ Update dependencies
  • v0.19.1 Changes

    March 24, 2014
    • ๐Ÿ›  Fix say non-String break regression