Skip to content

v0.9.5

Compare
Choose a tag to compare
@rafaelfranca rafaelfranca released this 04 Jan 20:25
· 1611 commits to main since this release

What's Changed

  • Improve Windows compatibility
  • Update (incorrect) README and task.thor sample file
  • Options hash is now frozen (once returned)
  • Allow magic predicates on options object. For instance: options.force?
  • Add support for :numeric type
  • BACKWARDS INCOMPATIBLE: Refactor Thor::Options. You cannot access shorthand forms in options hash anymore (for instance, options[:f])
  • Allow specifying optional args with default values: method_options(:user => "mislav")
  • Don't write options for nil or false values. This allows, for example, turning color off when running specs.
  • Exit with the status of the spec command to help CI stuff out some.

Full Changelog: 0.9.4...0.9.5