./misc/ruby-slop, Simple Lightweight Option Parsing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.6.2, Package name: ruby24-slop-4.6.2, Maintainer: pkgsrc-users

Slop is a simple option parser with an easy to remember syntax and
friendly API.


Required to run:
[lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 15fc1ab21469515d67c33599d10942ffea60ef14
RMD160: 985c3fd7386bc340287d82b37bde4828ac42e97a
Filesize: 19.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-03-14 16:06:22 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-14 08:48:10 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
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
   2014-06-03 15:58:10 by Jonathan Perkin | Files touched by this commit (4)
Log message:
Import misc/ruby-slop into pkgsrc.

Slop is a simple option parser with an easy to remember syntax and
friendly API.