blob: 433eda542d62f42089c50e751483db57dd774ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
Changelog
=========
_Unreleased_
------------
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))
v4.6.2 (2018-03-12)
-------------------
Bug fixes/Enhancements
* Fix equals character (=) being parsed incorrectly in some cases. [#226](https://github.com/leejarvis/slop/issues/226)
v4.6.1 (2017-11-20)
-------------------
Bug fixes/Enhancements
* Fix separator so it doesn't mutate user data. [#223](https://github.com/leejarvis/slop/issues/223) (Marc-André Lafortune)
* Add additional tests for `Options#separator` and fix issue where
the last separator was ignored. [#222](https://github.com/leejarvis/slop/issues/222)
v4.6.0 (2017-10-06)
-------------------
Features
* Add support for required options. [#218](https://github.com/leejarvis/slop/issues/218) (William Woodruff)
v4.5.0 (2017-05-22)
-------------------
Features:
* Added config option to avoid translating flags-with-dashes into
underscores. [#206](https://github.com/leejarvis/slop/issues/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](https://github.com/leejarvis/slop/issues/199)
* Fix removing arguments after `--`. [#194](https://github.com/leejarvis/slop/issues/194)
v4.4.1 (2016-08-21)
-------------------
Bug fixes:
* Handle bad constant names in `Slop.option_defined?`. [#198](https://github.com/leejarvis/slop/issues/198)
(Ellen Marie Dash)
v4.4.0 (2016-08-15)
-------------------
Features
* Support parsing arguments prefixed with dashes. [#192](https://github.com/leejarvis/slop/issues/192) (Andrew Clemons)
Bug fixes:
* Retain sort order inside tail sort. [#193](https://github.com/leejarvis/slop/issues/193) (Caio Chassot)
v4.3.0 (2016-03-19)
-------------------
Features
* Allow disabling array delimiter. [#189](https://github.com/leejarvis/slop/issues/189) (Mike Pastore)
* Allow passing custom banner as config. [#191](https://github.com/leejarvis/slop/issues/191) (Philip Rees)
v4.2.1 (2015-11-25)
-------------------
Features:
* Better handling of option names with multiple words. [#169](https://github.com/leejarvis/slop/issues/169) (Tim Rogers)
Minor enhancements:
* add ARGF notes to Arguments (README). [#173](https://github.com/leejarvis/slop/issues/173) (Rick Hull)
Bug fixes:
* Fix arguments removed with option arguments. [#182](https://github.com/leejarvis/slop/issues/182) (Naoki Mizuno)
* Fix bug where true is passed to BoolOption block regardless
of --no- prefix. [#184](https://github.com/leejarvis/slop/issues/184) (Ben Brady)
* only raise MissingArgument if not `default_value`. [#163](https://github.com/leejarvis/slop/issues/163) (Ben Brady)
v4.2.0 (2015-04-18)
-------------------
Features:
* Support for Regexp option type [#167](https://github.com/leejarvis/slop/issues/167) (Laurent Arnoud)
* Support prefixed `--no-` for explicitly setting boolean options
to `false` [#168](https://github.com/leejarvis/slop/issues/168)
* Better handling of flags with multiple words [#169](https://github.com/leejarvis/slop/issues/169) (Tim Rogers)
v4.1.0 (2015-04-18)
-------------------
Features:
* Support for FloatOption [#156](https://github.com/leejarvis/slop/issues/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](https://github.com/leejarvis/slop/issues/162)
* Implement flag gettings for UnknownOption and MissingArgument
error classes. [#165](https://github.com/leejarvis/slop/issues/165) (sigurdsvela)
Minor enhancements:
* Reset parser every time `parse` is called.
Bug fixes:
* Remove "--" from unprocessed arguments [#157](https://github.com/leejarvis/slop/issues/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
|