All Versions
29
Latest Version
Avg Release Cycle
166 days
Latest Release
1739 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.1 Changes
December 17, 2019- ๐ Fix thor when
thor/base
andthor/group
are required withoutthor.rb
. - ๐ Handle relative source path in
create_link
.
- ๐ Fix thor when
-
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?
returningfalse
if you want the current behavior ortrue
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
.
- Support old versions of
-
v0.20.2 Changes
November 10, 2018- Fix
did_you_mean
support.
- Fix
-
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 withstop_on_unknown_option!
- Add
did_you_mean
support.
-
v0.20.0 Changes
August 16, 20170๏ธโฃ 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 ofdisable_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?
- Rename
-
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 likeyes?
andno?
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 libraryHash
- ๐ 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
- ๐ Fix bug with handling of colors passed to
-
v0.19.1 Changes
March 24, 2014- ๐ Fix
say
non-String break regression
- ๐ Fix