github rails/thor 0.9.5
v0.9.5

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

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

Don't miss a new thor release

NewReleases is sending notifications on new releases.