v0.20.0
What's Changed
- fix subcommand method help by @akm in #464
- Lazy-load io/console to avoid activating the gem unecessarily by @segiddins in #539
- Fix injecting into file which contains chinese by @lingceng in #528
- Inject into Modules by @revans in #515
- Template stacktraces by @maxlinc in #432
- Specify an explicit external encoding for tests by @TimMoore in #392
- Add
disable_required_check!
to disable check for required options in some commands by @rafaelfranca in #545
It is a substitute ofdisable_class_options
that was not working as intended. - Make HashWithIndifferentAccess handle reverse_merge by @tejasbubane in #550
- Fix
warning: File.exists?
in CI by @takkanm in #557 - update Simplecov dependency version by @takkanm in #556
- use latest ruby version in CI by @takkanm in #558
- Lazy-load date & fileutils gems by @segiddins in #560
- Avoid extra spaces from nil/false switches in Options.to_switches by @segiddins in #565
- refactor ordered_hash_spec by @colby-swandale in #566
- Prevent infinite loop on file collision when stdin closed by @tpope in #563
- Fix instance variable not initialized warning by @matthewd in #562
- Fix commands running even with pretend enabled by @DuoSRX in #559
- Fix "file clash" bug by @nodo in #541
- Feature/dont replace nonexistant files by @vcavallo in #505
- Add
check_default_type!
to check if the default value of an option matches the defined type by @rafaelfranca in #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 #574
- Fix --no-opt boolean parsing when followed by an argument by @danajp in #575
- Updates so things work with frozen string literals by @pat in #567
- Add
inject_into_module
New Contributors
- @timrogers made their first contribution in #535
- @akm made their first contribution in #464
- @lingceng made their first contribution in #528
- @revans made their first contribution in #515
- @maxlinc made their first contribution in #432
- @tejasbubane made their first contribution in #550
- @takkanm made their first contribution in #557
- @colby-swandale made their first contribution in #566
- @matthewd made their first contribution in #562
- @DuoSRX made their first contribution in #559
- @nodo made their first contribution in #541
- @vcavallo made their first contribution in #505
- @yhirano55 made their first contribution in #574
- @danajp made their first contribution in #575
- @pat made their first contribution in #567
Full Changelog: v0.19.4...v0.20.0