Up to [cvs.NetBSD.org] / pkgsrc / misc / ruby-slop
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
misc/ruby-slop: update to 4.10.1 4.10.1 (2023-02-26) Bug fixes * Fix boolean flags from being invalid when followed by arguments #279
misc/ruby-slop: update to 4.10.0 4.10.0 (2023-02-15) Features: * Add support for optional type validation #278 (Victor Gama)
misc/ruby-slop: update to 4.9.3 4.9.3 (2022-09-30) Bug fixes: * Fix explicitly false boolean options and allow for additional false arguments #276 (Eugene Otto)
misc/ruby-slop: updateo to 4.9.2 4.9.2 (2022-03-26) Bug fixes: * Handle flag arguments that contain equals character #275 (ConnorWGarvey)
misc/ruby-slop: update to 4.9.1 4.9.1 (2021-05-28) Bug fixes: * Fixed a bug where flag=arg syntax would raise an error when an empty value was passed. #266
misc/ruby-slop: update to 4.8.2 Update ruby-slop package to 4.8.2. 4.8.2 (2020-07-10) Bug fixes: * Fix bug where separator position was messed up if using help: false #253
misc/ruby-slop: update to 4.8.1 Update ruby-slop to 4.8.1. v4.8.1 (2020-03-31) ------------------- Bug fixes: * Fix keyword argument warning. [#251](https://github.com/leejarvis/slop/pull/251)
misc/ruby-slop: update to 4.8.0 Update ruby-slop to 4.8.0. v4.8.0 (2020-01-17) ------------------- Features: * Add support for prefixing integer values with `+` character [#243](https://github.com/leejarvis/slop/pull/243) (Juha Ylitalo) * Add support for parsing floats with scientific notation [#250](https://github.com/leejarvis/slop/pull/250) (Hansuk Hong) Maintenance: * Add 2.7.0 to CI and fix warnings [#248](https://github.com/leejarvis/slop/pull/248) (Juha Ylitalo, Andrew Kane)
misc/ruby-slop: update to 4.7.0 Update ruby-slop to 4.7.0. pkgsr change: Add "USE_LANGUAGES= # none". v4.7.0 (2019-06-29) ------------------- Features: * Add `Slop::Result#fetch`. It returns the value of given option, or raises an error if given option is not present. [#232](https://github.com/leejarvis/slop/pull/232) ([Giovanni Benussi](https://github.com/giovannibenussi)) * Adding a separator without passing any arguments now creates a separator with the empty string. [#238](https://github.com/leejarvis/slop/pull/238) ([Teemu Matilainen](https://github.com/tmatilai)) Bug fixes * Ensure non-string option types have their flags consumed properly [#241] (Sutou Kouhei)
misc/ruby-slop: update to 4.6.2 v4.6.2 (2018-03-12) Bug fixes/Enhancements * Fix equals character (=) being parsed incorrectly in some cases. #226 v4.6.1 (2017-11-20) ------------------- Bug fixes/Enhancements * Fix separator so it doesn't mutate user data. #223 (Marc-André Lafortune) * Add additional tests for `Options#separator` and fix issue where the last separator was ignored. #222 v4.6.0 (2017-10-06) ------------------- Features * Add support for required options. #218 (William Woodruff) v4.5.0 (2017-05-22) ------------------- Features: * Added config option to avoid translating flags-with-dashes into underscores. #206 (@lbriais) v4.4.3 (2017-05-02) ------------------- Bug fixes: * Ruby 2.0.0 support broken in v4.4.2 v4.4.2 (2017-04-29) ------------------- Bug fixes: * Fix support for parsing -x5 or -nfoo. #199 * Fix removing arguments after `--`. #194 v4.4.1 (2016-08-21) ------------------- Bug fixes: * Handle bad constant names in `Slop.option_defined?`. #198 (Ellen Marie Dash) v4.4.0 (2016-08-15) ------------------- Features * Support parsing arguments prefixed with dashes. #192 (Andrew Clemons) Bug fixes: * Retain sort order inside tail sort. #193 (Caio Chassot) v4.3.0 (2016-03-19) ------------------- Features * Allow disabling array delimiter. #189 (Mike Pastore) * Allow passing custom banner as config. #191 (Philip Rees) v4.2.1 (2015-11-25) ------------------- Features: * Better handling of option names with multiple words. #169 (Tim Rogers) Minor enhancements: * add ARGF notes to Arguments (README). #173 (Rick Hull) Bug fixes: * Fix arguments removed with option arguments. #182 (Naoki Mizuno) * Fix bug where true is passed to BoolOption block regardless of --no- prefix. #184 (Ben Brady) * only raise MissingArgument if not `default_value`. #163 (Ben Brady) v4.2.0 (2015-04-18) ------------------- Features: * Support for Regexp option type #167 (Laurent Arnoud) * Support prefixed `--no-` for explicitly setting boolean options to `false` #168 * Better handling of flags with multiple words #169 (Tim Rogers) v4.1.0 (2015-04-18) ------------------- Features: * Support for FloatOption #156 (Rick Hull) * Support for `limit` config to ArrayOption. * Support for `tail` config to add options to the bottom of the help text. * Add explicit setter (#[]=) to Result class. #162 * Implement flag gettings for UnknownOption and MissingArgument error classes. #165 (sigurdsvela) Minor enhancements: * Reset parser every time `parse` is called. Bug fixes: * Remove "--" from unprocessed arguments #157 (David RodrÃguez). v4.0.0 (2014-12-27) ------------------- Features: * Rebuilt from the ground up. See the v3 changelog for all existing changes: https://github.com/leejarvis/slop/blob/v3/CHANGES.md
Update ruby-slop to 3.6.0. 3.6.0 (2014-06-18) ------------------ * Add example of rest arguments usage in the readme file #139 * Default values on options are printed in the help message #134
Import misc/ruby-slop into pkgsrc. Slop is a simple option parser with an easy to remember syntax and friendly API.