Update dependency thor to '~> 0.20.0'
This MR contains the following updates:
Package | Update | Change |
---|---|---|
thor (source, changelog) | minor |
'~> 0.14.0' -> '~> 0.20.0'
|
Release Notes
rails/thor (thor)
v0.20.3
What's Changed
- Add care about old version of
did_you_mean
by @y-yagi in https://github.com/rails/thor/pull/637
Full Changelog: https://github.com/rails/thor/compare/v0.20.2...v0.20.3
v0.20.2
What's Changed
- Remove the globally installed gem by rvm by @y-yagi in https://github.com/rails/thor/pull/636
Full Changelog: https://github.com/rails/thor/compare/v0.20.1...v0.20.2
v0.20.1
What's Changed
- Deprecate safe_level of ERB.new in Ruby 2.6 by @koic in https://github.com/rails/thor/pull/594
- Make sure future versions of ERB are invoked appropriately by @utilum in https://github.com/rails/thor/pull/599
- Fix comment_lines regexp by @jonathanhefner in https://github.com/rails/thor/pull/600
- Add
merge
action to file colision menu by @y-yagi in https://github.com/rails/thor/pull/605 - Fix incorrect use of Process::exit. This fixes open issue #244. by @jmax315 in https://github.com/rails/thor/pull/578
- Use correct line numbers for
class_eval
andmodule_eval
methods by @pocke in https://github.com/rails/thor/pull/589 - Fix check_unknown_options! when parsing gets stopped by @MaxLap in https://github.com/rails/thor/pull/618
- Fix edge cases in
#relative_to_original_destination_root
by @MaxLap in https://github.com/rails/thor/pull/620 - Remove duplicate option creation in spec by @marcandre in https://github.com/rails/thor/pull/623
- Fix print_wrapped to properly parse "\x5" newline character by @Choms in https://github.com/rails/thor/pull/616
- Abort when
run
subprocess fail by @deivid-rodriguez in https://github.com/rails/thor/pull/628 - Support did-you-mean functionality in thor by @kddnewton in https://github.com/rails/thor/pull/630
New Contributors
- @sschuberth made their first contribution in https://github.com/rails/thor/pull/572
- @sshaw made their first contribution in https://github.com/rails/thor/pull/576
- @lostapathy made their first contribution in https://github.com/rails/thor/pull/583
- @yahonda made their first contribution in https://github.com/rails/thor/pull/598
- @utilum made their first contribution in https://github.com/rails/thor/pull/599
- @pallan made their first contribution in https://github.com/rails/thor/pull/601
- @jmax315 made their first contribution in https://github.com/rails/thor/pull/578
- @bosoxbill made their first contribution in https://github.com/rails/thor/pull/611
- @pocke made their first contribution in https://github.com/rails/thor/pull/589
- @MaxLap made their first contribution in https://github.com/rails/thor/pull/618
- @Choms made their first contribution in https://github.com/rails/thor/pull/616
- @kddnewton made their first contribution in https://github.com/rails/thor/pull/630
Full Changelog: https://github.com/rails/thor/compare/v0.20.0...v0.20.1
v0.20.0
What's Changed
- fix subcommand method help by @akm in https://github.com/rails/thor/pull/464
- Lazy-load io/console to avoid activating the gem unecessarily by @segiddins in https://github.com/rails/thor/pull/539
- Fix injecting into file which contains chinese by @lingceng in https://github.com/rails/thor/pull/528
- Inject into Modules by @revans in https://github.com/rails/thor/pull/515
- Template stacktraces by @maxlinc in https://github.com/rails/thor/pull/432
- Specify an explicit external encoding for tests by @TimMoore in https://github.com/rails/thor/pull/392
- Add
disable_required_check!
to disable check for required options in some commands by @rafaelfranca in https://github.com/rails/thor/pull/545 It is a substitute ofdisable_class_options
that was not working as intended. - Make HashWithIndifferentAccess handle reverse_merge by @tejasbubane in https://github.com/rails/thor/pull/550
- Fix
warning: File.exists?
in CI by @takkanm in https://github.com/rails/thor/pull/557 - update Simplecov dependency version by @takkanm in https://github.com/rails/thor/pull/556
- use latest ruby version in CI by @takkanm in https://github.com/rails/thor/pull/558
- Lazy-load date & fileutils gems by @segiddins in https://github.com/rails/thor/pull/560
- Avoid extra spaces from nil/false switches in Options.to_switches by @segiddins in https://github.com/rails/thor/pull/565
- refactor ordered_hash_spec by @colby-swandale in https://github.com/rails/thor/pull/566
- Prevent infinite loop on file collision when stdin closed by @tpope in https://github.com/rails/thor/pull/563
- Fix instance variable not initialized warning by @matthewd in https://github.com/rails/thor/pull/562
- Fix commands running even with pretend enabled by @DuoSRX in https://github.com/rails/thor/pull/559
- Fix "file clash" bug by @nodo in https://github.com/rails/thor/pull/541
- Feature/dont replace nonexistant files by @vcavallo in https://github.com/rails/thor/pull/505
- Add
check_default_type!
to check if the default value of an option matches the defined type by @rafaelfranca in https://github.com/rails/thor/pull/569 It removes the warning on usage and gives the command authors the possibility to check for programming errors. - Fix bug and refactoring by @yhirano55 in https://github.com/rails/thor/pull/574
- Fix --no-opt boolean parsing when followed by an argument by @danajp in https://github.com/rails/thor/pull/575
- Updates so things work with frozen string literals by @pat in https://github.com/rails/thor/pull/567
- Add
inject_into_module
New Contributors
- @timrogers made their first contribution in https://github.com/rails/thor/pull/535
- @akm made their first contribution in https://github.com/rails/thor/pull/464
- @lingceng made their first contribution in https://github.com/rails/thor/pull/528
- @revans made their first contribution in https://github.com/rails/thor/pull/515
- @maxlinc made their first contribution in https://github.com/rails/thor/pull/432
- @tejasbubane made their first contribution in https://github.com/rails/thor/pull/550
- @takkanm made their first contribution in https://github.com/rails/thor/pull/557
- @colby-swandale made their first contribution in https://github.com/rails/thor/pull/566
- @matthewd made their first contribution in https://github.com/rails/thor/pull/562
- @DuoSRX made their first contribution in https://github.com/rails/thor/pull/559
- @nodo made their first contribution in https://github.com/rails/thor/pull/541
- @vcavallo made their first contribution in https://github.com/rails/thor/pull/505
- @yhirano55 made their first contribution in https://github.com/rails/thor/pull/574
- @danajp made their first contribution in https://github.com/rails/thor/pull/575
- @pat made their first contribution in https://github.com/rails/thor/pull/567
Full Changelog: https://github.com/rails/thor/compare/v0.19.4...v0.20.0
v0.19.4
What's Changed
- Rename
Thor::Base#thor_reserved_word?
to#is_thor_reserved_word?
Full Changelog: https://github.com/rails/thor/compare/v0.19.3...v0.19.4
v0.19.3
What's Changed
- Output a warning instead of raising an exception when a default option value doesn't match its specified type
Full Changelog: https://github.com/rails/thor/compare/v0.19.2...v0.19.3
v0.19.2
What's Changed
- fix 'thor_script subcommand [args] --help'
🌈 by @doudou in https://github.com/rails/thor/pull/500 -
- Fix bug with handling of colors passed to
ask
(and methods likeyes?
andno?
which it underpins)
- Fix bug with handling of colors passed to
- Allow numeric arguments to be negative
- 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
New Contributors
- @yui-knk made their first contribution in https://github.com/rails/thor/pull/511
- @doudou made their first contribution in https://github.com/rails/thor/pull/501
Full Changelog: https://github.com/rails/thor/compare/v0.19.1...v0.19.2
v0.19.1
What's Changed
- Fix
say
non-String break regression
Full Changelog: https://github.com/rails/thor/compare/v0.19.0...v0.19.1
v0.19.0
What's Changed
- Add support for a default to #ask
- Avoid @namespace not initialized warning
- Avoid private attribute? warning
- Fix initializing with unknown options
- Loosen required_rubygems_version for compatibility with Ubuntu 10.04
- Shell#ask: support a noecho option for stdin
- Shell#ask: change API to be :echo => false
- Display a message without a stack trace for ambiguous commands
- Make say and say_status thread safe
- Dependency for console io version check
- Alias --help to help on subcommands
- Use mime-types 1.x for Ruby 1.8.7 compatibility for Ruby 1.8 only
- Accept .tt files as templates
- Check if numeric value is in enum
- Use Readline for user input
- Fix dispatching of subcommands (concerning :help and *args)
- Fix warnings when running specs with
$VERBOSE = true
- Make subcommand help more consistent
- Make the current command chain accessible in command
Full Changelog: https://github.com/rails/thor/compare/v0.18.1...v0.19.0
v0.18.1
What's Changed
- Revert regressions found in 0.18.0
Full Changelog: https://github.com/rails/thor/compare/v0.18.0...v0.18.1
v0.18.0
What's Changed
- Remove rake2thor
- Only display colors if output medium supports colors
- Pass parent_options to subcommands
- Fix non-dash-prefixed aliases
- Make error messages more helpful
- Rename "task" to "command"
- Add the method to allow for custom package name
Full Changelog: https://github.com/rails/thor/compare/v0.17.0...v0.18.0
v0.17.0
What's Changed
- Add better support for tasks that accept arbitrary additional arguments (e.g. things like
bundle exec
) - Add #stop_on_unknown_option!
- Only strip from stdin.gets if it wasn't ended with EOF
- Allow "send" as a task name
- Allow passing options as arguments after "--"
- Autoload Thor::Group
Full Changelog: https://github.com/rails/thor/compare/v0.16.0...v0.17.0
v0.16.0
What's Changed
- Add enum to string arguments
Full Changelog: https://github.com/rails/thor/compare/v0.15.4...v0.16.0
v0.15.4
What's Changed
- Fix regression when destination root contains reserved regexp characters
Full Changelog: https://github.com/rails/thor/compare/v0.15.2...v0.15.4
v0.15.2
What's Changed
- Added print_in_columns
- Exposed terminal_width as a public API
Full Changelog: https://github.com/rails/thor/compare/v0.15.1...v0.15.2
v0.15.1
What's Changed
- Fix Ruby 1.8 truncation bug with unicode chars
- Fix shell delegate methods to pass their block
- Don't output trailing spaces when printing the last column in a table
Full Changelog: https://github.com/rails/thor/compare/v0.15.0...v0.15.1
v0.15.0
What's Changed
- Alias method_options to options
- Refactor say to allow multiple colors
- Exposed error as a public API
- Exposed file_collision as a public API
- Exposed print_wrapped as a public API
- Exposed set_color as a public API
- Fix number-formatting bugs in print_table
- Fix "indent" typo in print_table
- Fix Errno::EPIPE when piping tasks to
head
- More friendly error messages
Full Changelog: https://github.com/rails/thor/compare/v0.14.6...v0.15.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.