Thor v0.19.2 Release Notes

Release Date: 2016-11-26 // over 7 years ago
    • ๐Ÿ›  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