github rails/thor v0.20.0

latest releases: v1.3.2, v1.3.1, v1.3.0...
2 years ago

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 of disable_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

Full Changelog: v0.19.4...v0.20.0

Don't miss a new thor release

NewReleases is sending notifications on new releases.