Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-thor
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/ruby-thor: revert to 1.2.2 sysutils/ruby-inspec-core require <1.3.0.
devel/ruby-thor: update to 1.3.0 1.3.0 (2023-10-18) What's Changed * use the correct class for shared namespaces by @Gerst20051 in #754 * Allow to Override Order of Commands in Help by @alessio-signorini in #642 * Add support for providing http headers to get by @dnlgrv in #801 * Don't document negative boolean option named no_* by @BrentWheeldon in #797 * CreateFile#identical? fixed for files containing multi-byte UTF-8 codepoints by @tomclose in #786 * Drop support to Ruby 2.6 by @rafaelfranca in #821 * Fix dashless option usage info by @sambostock in #800 * Support Range in enum option by @phene in #775 * Check if type: array values are in enum by @movermeyer in #784 * Fix inject into file warning by @nicolas-brousse in #709 * Support Thor::CoreExt::HashWithIndifferentAccess#slice method by @shuuuuun in #812 * long_desc: new option to disable wrapping by @igneus in #739 * Print default in help when option type is :boolean and default is false by @nevesenin in #849 * Silence encoding warnings in specs by @p8 in #857 * Validate arguments for method_option and class_option by @p8 in #856 * Fix help for file_collision method without block by @shuuuuun in #858 * Extract print methods to seperate classes by @p8 in #854 * Add support for printing tables with borders by @p8 in #855 * Fix printing tables with borders and indentation by @p8 in #861 New Contributors * @Gerst20051 made their first contribution in #754 * @alessio-signorini made their first contribution in #642 * @dnlgrv made their first contribution in #801 * @BrentWheeldon made their first contribution in #797 * @tomclose made their first contribution in #786 * @sambostock made their first contribution in #800 * @phene made their first contribution in #775 * @movermeyer made their first contribution in #784 * @nicolas-brousse made their first contribution in #709 * @shuuuuun made their first contribution in #812 * @igneus made their first contribution in #739 * @nevesenin made their first contribution in #849
devel/ruby-thor: update to 1.2.1 1.2.0 (2022-01-04) What's Changed * Support Thor::CoreExt::HashWithIndifferentAccess#except for Rails 6.0 by @koic in #734 * The klass parameter 'inject_into_class' should be given a string type.(also inject_into_module) by @ratovia in #752 * Added Shell::Basic#say_error by @postmodern in #750 * Check for duplicate content in relevant section when inserting into files by @excid3 in #735 * Loaded the directory under tasks. by @Mitsuru53 in #747 * Update Thor::Actions#inside to return the value yielded by the block by @jordan-brough in #712 * remove_file should unlink broken symlinks by @2called-chaos in #720 * Use string interpolation for trailing whitespace by @jonathanhefner in #730 * Indent multiline messages in say_status by @jonathanhefner in #714 * Allow leading hyphen in switch values when specified with = by @univerio in #737 * Fix for #707 by @scambra in #708 * Support latest did_you_mean by @deivid-rodriguez in #761 New Contributors * @ratovia made their first contribution in #752 * @excid3 made their first contribution in #735 * @Mitsuru53 made their first contribution in #747 * @jordan-brough made their first contribution in #712 * @2called-chaos made their first contribution in #720 * @univerio made their first contribution in #737 * @scambra made their first contribution in #708 1.2.1 (2022-01-04) What's Changed * Fix regressions with insert_into_file
devel/ruby-thor: update to 1.0.1 Update ruby-thor to 1.0.1. # 1.0.1 * Fix thor when `thor/base` and `thor/group` are required without `thor.rb`. * Handle relative source path in `create_link`. # 1.0.0 * Drop support to Ruby 1.8 and 1.9. * Deprecate relying on default `exit_on_failure?`. In preparation to make Thor commands exit when there is a failure we are deprecating defining a command without defining what behavior is expected when there is a failure. To fix the deprecation you need to define a class method called `exit_on_failure?` returning `false` if you want the current behavior or `true` if you want the new behavior. * Deprecate defining an option with the default value using a different type as defined in the option. * Allow options to be repeatable. See #674.
Update ruby-thor to 0.19.4. * pkgsrc change: add pkg_alternatives support. 0.19.4, release 2016-11-28 * Rename Thor::Base#thor_reserved_word? to #is_thor_reserved_word? 0.19.3, release 2016-11-27 * Output a warning instead of raising an exception when a default option value doesn't match its specified type 0.19.2, release 2016-11-26 * Fix bug with handling of colors passed to ask (and methods like yes? and no? which it underpins) * Allow numeric arguments to be negative * Ensure that default option values are of the specified type (e.g. you can't specify "foo" as the default for a numeric option), but make symbols and strings interchangeable * Add Thor::Shell::Basic#indent method for intending output * Fix remove_command for an inherited command (see #451) * Allow hash arguments to only have each key provided once (see #455) * Allow commands to disable class options, for instance for "help" commands (see #363) * Do not generate a negative option (--no-no-foo) for already negative boolean options (--no-foo) * Improve compatibility of Thor::CoreExt::HashWithIndifferentAccess with Ruby standard library Hash * Allow specifying a custom binding for template evaluation (e.g. #key? and #fetch) * Fix support for subcommand-specific "help"s * Use a string buffer when handling ERB for Ruby 2.3 compatibility * Update dependencies
Update to 0.19.1. No changelog provided.
Update ruby-thor to 0.18.1. # 0.18.1, release 2013-03-30 * Revert regressions found in 0.18.0 ## 0.18.0, release 2013-03-26 * Remove rake2thor * Only display colors if output medium supports colors * Pass parent_options to subcommands * Fix non-dash-prefixed aliases * Make error messages more helpful * Rename "task" to "command" * Add the method to allow for custom package name
Update ruby-thor to 0.17.0.
0.17.0, release 2013-01-24
Add better support for tasks that accept arbitrary additional arguments (e.g. things like bundle exec)
Add #stop_on_unknown_option!
Only strip from stdin.gets if it wasn't ended with EOF
Allow "send" as a task name
Allow passing options as arguments after "--"
Autoload Thor::Group
0.16.0, release 2012-08-14
Add enum to string arguments
0.15.4, release 2012-06-29
Fix regression when destination root contains reserved regexp characters
0.15.3, release 2012-06-18
Support strict_args_position! for backwards compatibility
Escape Dir glob characters in paths
0.15.2, released 2012-05-07
Added print_in_columns
Exposed terminal_width as a public API
0.15.1, release 2012-05-06
Fix Ruby 1.8 truncation bug with unicode chars
Fix shell delegate methods to pass their block
Don't output trailing spaces when printing the last column in a table
0.15, released 2012-04-29
Alias method_options to options
Refactor say to allow multiple colors
Exposed error as a public API
Exposed file_collision as a public API
Exposed print_wrapped as a public API
Exposed set_color as a public API
Fix number-formatting bugs in print_table
Fix "indent" typo in print_table
Fix Errno::EPIPE when piping tasks to head
More friendly error messages
Update ruby-thor package to 0.14.6. Changes are unknown.
Update devel/ruby-thor to 0.14.1. Official changes are unknown but it seems that some bug fixes was done.
Importing devel/ruby-thor 0.14.0. Thor is a simple and efficient tool for building self-documenting command line utilities. It removes the pain of parsing command line options, writing "USAGE:" banners, and can also be used as an alternative to the [Rake](http://github.com/jimweirich/rake) build tool. The syntax is Rake-like, so it should be familiar to most Rake users.
Initial revision