Skip to content

v0.9.4

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

What's Changed

  • Try to add Windows compatibility.
  • BACKWARDS INCOMPATIBLE: options hash is now accessed as a property in your class and is not passed as last argument anymore
  • Allow options at the beginning of the argument list as well as the end.
  • Make options available with symbol keys in addition to string keys.
  • Allow true to be passed to Thor#method_options to denote a boolean option.
  • If loading a thor file fails, don't give up, just print a warning and keep going.
  • Make sure that we re-raise errors if they happened further down the pipe than we care about.
  • Only delete the old file on updating when the installation of the new one is a success
  • Make it Ruby 1.8.5 compatible.
  • Don't raise an error if a boolean switch is defined multiple times.
  • Thor::Options now doesn't parse through things that look like options but aren't.
  • Add URI detection to install task, and make sure we don't append ".thor" to URIs
  • Add rake2thor to the gem binfiles.
  • Make sure local Thorfiles override system-wide ones.

Full Changelog: 0.9.2...0.9.4