Skip to content

Releases: jekyll/mercenary

v0.4.0

18 Jan 14:52
2bfa3b4
Compare
Choose a tag to compare

Major Enhancements

  • Drop Ruby 2.3 support

Minor Enhancements

  • Remove parent command's flags from subcommand usage (#44)

Development Fixes

  • Adopt Jekyll's rubocop config for consistency

Documentation

  • fixes the readme (#52)

v0.3.6

08 Apr 00:56
2df4457
Compare
Choose a tag to compare

Bug Fixes

  • Presenter: Options should include those from parent command (#42)

v0.3.5

12 Nov 23:54
Compare
Choose a tag to compare

Bug Fixes

  • Capture OptionsParser::InvalidOption and show a nice error message (#38)
  • Absolute paths for requires and autoloads (#39)

Development Fixes

  • Bump to RSpec 3 (#40)

v0.3.4

12 Jul 06:30
Compare
Choose a tag to compare

Bug Fixes

  • Use option object as key in the command's @map hash (#35)

v0.3.3

12 Jul 06:30
Compare
Choose a tag to compare

Bug Fixes

  • The --version flag should not exit with code 1, but instead code 0. (#33)

v0.3.2

19 Mar 03:36
Compare
Choose a tag to compare

Bug Fixes

  • Remove duplicate commands from help output; show aliases w/command names
    (#29)

v0.3.1

21 Feb 19:14
Compare
Choose a tag to compare

Minor Enhancements

  • Add -t/--trace to list of options in help message (#19)

Bug Fixes

  • Mercenary::Option now accepts return values in the form of Class constants
    (#22)

v0.3.0

20 Feb 23:57
Compare
Choose a tag to compare

Major Enhancements

  • Officially drop 1.8.7 support (#14)
  • Allow Commands to set their own versions (#17)
  • Show subcommands, options and usage in help and attach to all commands (#18)
  • Add -t, --trace to allow full exception backtrace to print, otherwise print
    just the error message (#19)

Minor Enhancements

  • Logging state is maintained throughout process (#12)
  • Tidy up Command#logger output (#21)

Development Fixes

  • Added specs for Program (#13)

v0.2.1

26 Dec 19:33
Compare
Choose a tag to compare

Bug Fixes

  • Added missing comma to fix '-v' and '--version' options (#9)

v0.2.0

01 Dec 04:54
Compare
Choose a tag to compare

Major Enhancements

  • Add Command#default_command to specify a default command if none is given
    by the user at runtime (#7)

Minor Enhancements

  • Add Command#execute to execute the actions of a command (#6)

Development Fixes

  • Add standard GitHub bootstrap and cibuild scripts to script/ (#2)