switches.rb 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +138 -1
- data/README.md +7 -0
- data/lib/Switches.rb +0 -121
- data/switches.rb.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3522ecf029cdd554e02bb72d5620de851dfeb091421cfa2efea8c9d115f8d935
|
|
4
|
+
data.tar.gz: 75a81b0ca90c8d6125e4bbac37cc5840291b17bbaef5598050db2c97d27a2742
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 852da32c748e8b771122eb84e54fb4aaba785a0a973c5b377cfa0c89fd36e6095812dfa96bb466ecd47a637fbd994b14fb6868a1db6a1a0c870e97570a389fc6
|
|
7
|
+
data.tar.gz: c6ffc907d26d8219cee5e6b011a1f0746574139867b7ae4249c7589262394be5b13022d28a04cad9cffc6429f62b88a4acb67c4b5c121c12f0af4405a16bc0c5
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 20260812
|
|
4
|
+
|
|
5
|
+
0.10.2: Recover the in-source change log into the CHANGELOG, and move the Notes to the README.
|
|
6
|
+
|
|
7
|
+
1. + CHANGELOG: the 0.9.0 to 0.9.13 series, recovered from the "Changes since 0.8:" log that lived in the lib/Switches.rb header. The items are reproduced as written; the versions carry no reliable dates and are left undated.
|
|
8
|
+
2. + README.md: a Notes section, carrying the notes from the lib/Switches.rb header — the unusable "-?" switch, the clash between Switches methods and OptionParser methods, the required/optional demarcation, and the bang interface methods.
|
|
9
|
+
3. - lib/Switches.rb: the "# Changes since 0.8:" log (now in the CHANGELOG) and the "# Notes:" section (now in the README). The rest of the header — Description, Todo, Ideas, Dependencies — stays.
|
|
10
|
+
|
|
11
|
+
|
|
3
12
|
## 20260809
|
|
4
13
|
|
|
5
14
|
0.10.1: Get the specs running again, under rspec 3 and rake.
|
|
@@ -28,4 +37,132 @@
|
|
|
28
37
|
|
|
29
38
|
0.9.14: Turn switches into a gem, convert the README to markdown, and remove the examples directory.
|
|
30
39
|
|
|
31
|
-
|
|
40
|
+
The 0.9.0 to 0.9.13 series below is recovered from the "Changes since 0.8:" log that was kept in the lib/Switches.rb header (removed in 0.10.2); the items are reproduced as they were written there. switches began in 2009 and this pre-gem history carries no reliable per-version dates, so these entries are undated. Nothing before 0.9.0 — the 0.4.0 to 0.8.x Options era — is recorded.
|
|
41
|
+
|
|
42
|
+
0.9.13: Swap a couple of @settings.instance_variable_get(:@table)'s for OpenStruct#to_h's.
|
|
43
|
+
|
|
44
|
+
1. Swapped out a couple of @settings.instance_variable_get(:@table)'s for OpenStruct#to_h's.
|
|
45
|
+
|
|
46
|
+
0.9.12: Remove the default aliases for default_to, which clashed with the mail gem's Mail::Message#default.
|
|
47
|
+
|
|
48
|
+
1. - Object#default.
|
|
49
|
+
2. - NilClass#default.
|
|
50
|
+
|
|
51
|
+
0.9.11: Fix the defaults overwriting the supplied settings.
|
|
52
|
+
|
|
53
|
+
1. ~ Switches#set_switches_with_defaults to check if a setting had been set before applying a default value.
|
|
54
|
+
|
|
55
|
+
0.9.10: OpenStruct#to_h and Switches#to_h.
|
|
56
|
+
|
|
57
|
+
1. + OpenStruct#to_h.
|
|
58
|
+
2. ~ Switches#to_h.
|
|
59
|
+
|
|
60
|
+
0.9.9: A large batch — full missing-switch reporting, required_perform, default_is, and Array/Module helpers.
|
|
61
|
+
|
|
62
|
+
1. ~ Switches#check_required_switches, so as it now assembles the complete list of missing switches rather than failing on and reporting only the first.
|
|
63
|
+
2. + Switches#required_perform
|
|
64
|
+
3. + Switches#required_perform!
|
|
65
|
+
4. - OptionParse#soft_parse, since this was never used here, but only in Attributes.
|
|
66
|
+
5. + Object#default_is(et.al.)
|
|
67
|
+
6. + NilClass#default_is(et.al.) overrides Object#default_is for the specific case of nil.
|
|
68
|
+
7. /switches_defaults/switches_with_defaults/.
|
|
69
|
+
8. + Array#peek_options.
|
|
70
|
+
9. + Array#poke_options!.
|
|
71
|
+
10. + Array#all_but_last.
|
|
72
|
+
11. + Array#last!.
|
|
73
|
+
12. + Module#alias_methods.
|
|
74
|
+
13. ~ CastingInterfaceMethods, to make use of Array#poke_options.
|
|
75
|
+
14. + CastingInterfaceMethods#flag.
|
|
76
|
+
15. + Switches.as_h (and associated aliased interfaces).
|
|
77
|
+
16. ~ Switches#initialize, arguments are now a splat with the intention of allowing both casting_interface_methods and as_h being specified as a hash supplied to the initialiser.
|
|
78
|
+
17. ~ Switches, to make use of Module#alias_methods.
|
|
79
|
+
18. ~ Switches, to make use of Array#peek_options and Array#poke_options!.
|
|
80
|
+
19. + Switches#required_perform.
|
|
81
|
+
20. + Switches#required_perform!.
|
|
82
|
+
21. + Switches#switches_with_defaults.
|
|
83
|
+
22. + Switches#switches_with_castings.
|
|
84
|
+
23. + Swtiches#to_h.
|
|
85
|
+
24. + Switches#set_if_required_switch.
|
|
86
|
+
25. + Switches#set_switches_with_defaults.
|
|
87
|
+
26. ~ Switches#parse!, + set_switches_with_defaults() and + to_h().
|
|
88
|
+
27. ~ Switches#do_set, + set_if_required_switch().
|
|
89
|
+
28. ~ Switches#do_action, + set_if_required_switch().
|
|
90
|
+
29. ~ Switches#on_args, so as it can handle castings.
|
|
91
|
+
|
|
92
|
+
0.9.8: Add #perform and #perform!, plus #do_action and the #on_args changes to support them.
|
|
93
|
+
|
|
94
|
+
1. ~ Switches#on_args, so as if a block is supplied which is not returning a String, then it will not be placed into the on_args argument list.
|
|
95
|
+
2. + Switches#perform, interface for actions which don't require an argument.
|
|
96
|
+
3. + Switches#perform!, interface for actions which do require an argument.
|
|
97
|
+
4. + Switches#do_action, executes a block when called by either of #perform or #perform!.
|
|
98
|
+
|
|
99
|
+
0.9.7: Some small tidyups and removal of the self-run section.
|
|
100
|
+
|
|
101
|
+
1. ~ Switches#on_args, shorter when handling casting arguments.
|
|
102
|
+
2. /unused_switches/unset_switches/.
|
|
103
|
+
3. ~ Switches#check_required_switches, so that the message is not being assigned until a switch is missing.
|
|
104
|
+
4. Removed the self-run section and moved it to ./test/run.rb.
|
|
105
|
+
|
|
106
|
+
0.9.6: Fix the setting of defaults overriding supplied switch values.
|
|
107
|
+
|
|
108
|
+
1. ~ Switches#set_unused_switches, to make use of #switch_defaults and #unused_switches.
|
|
109
|
+
2. + Switches#switch_defaults, as an interface method since it might be useful for querying at some point?
|
|
110
|
+
3. + Switches#unused_switches, also as an interface method since it might also be useful for querying at some point?
|
|
111
|
+
4. ~ Switches#on_args, so as to enable alternate hash keys (:type and :class) for type casting.
|
|
112
|
+
5. ~ self-run section to reflect the optionalness/optionality(?) of summaries.
|
|
113
|
+
|
|
114
|
+
0.9.5: Add default values for switches.
|
|
115
|
+
|
|
116
|
+
1. ~ CastingInterfaceMethods to extract any options before pushing a cast option, since it was overwriting for those casting interface methods.
|
|
117
|
+
2. ~ Switches#initialize, + @defaults.
|
|
118
|
+
3. /Switches#set_unused_switches_to_nil/Switches#set_unused_switches/.
|
|
119
|
+
4. ~ Switches#set_unused_switches, so as it handles setting unused switches with a default.
|
|
120
|
+
|
|
121
|
+
0.9.4: Add the casting interface methods.
|
|
122
|
+
|
|
123
|
+
1. + CastingInterfaceMethods#integer(!).
|
|
124
|
+
2. + CastingInterfaceMethods#float(!).
|
|
125
|
+
3. + CastingInterfaceMethods#array(!).
|
|
126
|
+
4. + CastingInterfaceMethods#regex(p)(!).
|
|
127
|
+
5. + CastingInterfaceMethods#boolean(!).
|
|
128
|
+
6. ~ Switches#initialize + include_casting_interface_methods.
|
|
129
|
+
7. /String#short_arg?/String#short_switch?/.
|
|
130
|
+
8. /String#long_arg?/String#long_switch?/.
|
|
131
|
+
9. ~ Switches#on_args - boolean_switch.
|
|
132
|
+
|
|
133
|
+
0.9.3: Rename the library file.
|
|
134
|
+
|
|
135
|
+
1. /Options.rb/Switches.rb/.
|
|
136
|
+
|
|
137
|
+
0.9.2: Add casting to nominated Ruby classes.
|
|
138
|
+
|
|
139
|
+
1. ~ Switches#on_args + options.
|
|
140
|
+
2. + Array#extract_options!.
|
|
141
|
+
3. + Switches#allowed.
|
|
142
|
+
4. + Switches#allowed!.
|
|
143
|
+
5. + Swithces#mandatory.
|
|
144
|
+
6. + Switches#necessary.
|
|
145
|
+
7. ~ Switches#do_set + ...options.
|
|
146
|
+
8. ~ Switches#on_args + ...options[:cast].
|
|
147
|
+
9. ~ self-run section to do a simple test of casting.
|
|
148
|
+
|
|
149
|
+
0.9.1: Remove ! from the switch-setting methods and move those to the Switches interface methods.
|
|
150
|
+
|
|
151
|
+
1. + Switches#do_set.
|
|
152
|
+
2. ~ Switches#set.
|
|
153
|
+
3. + Switches#set!.
|
|
154
|
+
4. + Switches#required!.
|
|
155
|
+
5. - String#required_arg?.
|
|
156
|
+
6. ~ Switches#on_args + requires_argument.
|
|
157
|
+
|
|
158
|
+
0.9.0: Rename the project from Options to Switches, since there are required switches now and required options don't make sense.
|
|
159
|
+
|
|
160
|
+
1. /Options/Switches/.
|
|
161
|
+
2. /RequiredOptionMissing/RequiredSwitchMissing/.
|
|
162
|
+
3. /String#boolean_arg?/String#boolean_switch?/.
|
|
163
|
+
4. Other references to options changed to switches.
|
|
164
|
+
5. + Switches#required/mandatory/necessary.
|
|
165
|
+
6. + Swtiches#optional.
|
|
166
|
+
7. + Switches#supplied_switches.
|
|
167
|
+
8. + Switches#set_unused_switches_to_nil.
|
|
168
|
+
9. ~ self-run section to reflect new interface.
|
data/README.md
CHANGED
|
@@ -183,6 +183,13 @@ switches.class # => Hash
|
|
|
183
183
|
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
+
## Notes
|
|
187
|
+
|
|
188
|
+
- The switch `-?` can't be used, since there is no Ruby method `#?` for it to map to.
|
|
189
|
+
- A `Switches` instance can't define a method whose name matches an `OptionParser` method, since such calls are forwarded to the underlying `OptionParser` instance.
|
|
190
|
+
- There is a clear demarcation between whether a switch's argument is required and whether the switch itself is required.
|
|
191
|
+
- The bang interface methods (for example `set!` and `required!`) modify the switch in place with a required argument, rather than relying on a default or a value set elsewhere and later.
|
|
192
|
+
|
|
186
193
|
## Contributing
|
|
187
194
|
|
|
188
195
|
1. Fork it ( https://github.com/thoran/HTTP/fork )
|
data/lib/Switches.rb
CHANGED
|
@@ -15,130 +15,9 @@
|
|
|
15
15
|
# 2. Do away with optional arguments entirely. Since when does anyone want to specify a non-boolean switch and then supply no arguments anyway?... OK, maybe sometimes, but this is pretty obscure IMO. OK, bad idea. These can be used as action oriented sub-commands.
|
|
16
16
|
# 3. Allow for any one of the switches OpenStruct methods to assign values for any of the other associated methods, so as it is more than a read once switch and can be used for storage through out the application; although this might be stepping on Attributes.rb's toes?...
|
|
17
17
|
|
|
18
|
-
# Notes:
|
|
19
|
-
# 1. A limitation is the inability to use the switch, "-?", since there is no Ruby method, #?.
|
|
20
|
-
# 2. An additional limitation is that the Switches class cannot have methods which are the same as any OptionParser methods since these will be forwarded to the OptionParser instance, @op.
|
|
21
|
-
# 3. In 0.9.0 there is finally now a clear demarcation between switch arguments and switches themselves being mandatory or optional.
|
|
22
|
-
# 4. It mostly makes sense that the Switches interface methods are bang methods, since it is modifying that switch in place with a required argument, rather than relying upon a default or otherwise set value elsewhere and presumably later than when the switch was set.
|
|
23
|
-
|
|
24
18
|
# Dependencies:
|
|
25
19
|
# 1. Standard Ruby Library.
|
|
26
20
|
|
|
27
|
-
# Changes since 0.8:
|
|
28
|
-
# (Renamed this project/class from Options to Switches since there are required switches now and required options don't make sense.)
|
|
29
|
-
# 1. /Options/Switches/.
|
|
30
|
-
# 2. /RequiredOptionMissing/RequiredSwitchMissing/.
|
|
31
|
-
# 3. /String#boolean_arg?/String#boolean_switch?/.
|
|
32
|
-
# 4. Other references to options changed to switches.
|
|
33
|
-
# 5. + Switches#required/mandatory/necessary.
|
|
34
|
-
# 6. + Swtiches#optional.
|
|
35
|
-
# 7. + Switches#supplied_switches.
|
|
36
|
-
# 8. + Switches#set_unused_switches_to_nil.
|
|
37
|
-
# 9. ~ self-run section to reflect new interface.
|
|
38
|
-
# 0/1 (Removed ! from switch setting methods and moved those to the Switches interface methods.)
|
|
39
|
-
# 10. + Switches#do_set.
|
|
40
|
-
# 11. ~ Switches#set.
|
|
41
|
-
# 12. + Switches#set!.
|
|
42
|
-
# 13. + Switches#required!.
|
|
43
|
-
# 14. - String#required_arg?.
|
|
44
|
-
# 15. ~ Switches#on_args + requires_argument.
|
|
45
|
-
# 1/2 (Added casting to nominated Ruby classes.)
|
|
46
|
-
# 16. ~ Switches#on_args + options.
|
|
47
|
-
# 17. + Array#extract_options!.
|
|
48
|
-
# 18. + Switches#allowed.
|
|
49
|
-
# 19. + Switches#allowed!.
|
|
50
|
-
# 20. + Swithces#mandatory.
|
|
51
|
-
# 21. + Switches#necessary.
|
|
52
|
-
# 22. ~ Switches#do_set + ...options.
|
|
53
|
-
# 23. ~ Switches#on_args + ...options[:cast].
|
|
54
|
-
# 24. ~ self-run section to do a simple test of casting.
|
|
55
|
-
# 2/3 (Renaming the library file.)
|
|
56
|
-
# 25. /Options.rb/Switches.rb/.
|
|
57
|
-
# 3/4 (+ casting interface methods)
|
|
58
|
-
# 26. + CastingInterfaceMethods#integer(!).
|
|
59
|
-
# 27. + CastingInterfaceMethods#float(!).
|
|
60
|
-
# 28. + CastingInterfaceMethods#array(!).
|
|
61
|
-
# 29. + CastingInterfaceMethods#regex(p)(!).
|
|
62
|
-
# 30. + CastingInterfaceMethods#boolean(!).
|
|
63
|
-
# 31. ~ Switches#initialize + include_casting_interface_methods.
|
|
64
|
-
# 32. /String#short_arg?/String#short_switch?/.
|
|
65
|
-
# 33. /String#long_arg?/String#long_switch?/.
|
|
66
|
-
# 34. ~ Switches#on_args - boolean_switch.
|
|
67
|
-
# 4/5 (Added default values for switches.)
|
|
68
|
-
# 35. ~ CastingInterfaceMethods to extract any options before pushing a cast option, since it was overwriting for those casting interface methods.
|
|
69
|
-
# 36. ~ Switches#initialize, + @defaults.
|
|
70
|
-
# 37. /Switches#set_unused_switches_to_nil/Switches#set_unused_switches/.
|
|
71
|
-
# 38. ~ Switches#set_unused_switches, so as it handles setting unused switches with a default.
|
|
72
|
-
# 5/6 (Setting of defaults was overriding supplied switch values.)
|
|
73
|
-
# 39. ~ Switches#set_unused_switches, to make use of #switch_defaults and #unused_switches.
|
|
74
|
-
# 40. + Switches#switch_defaults, as an interface method since it might be useful for querying at some point?
|
|
75
|
-
# 41. + Switches#unused_switches, also as an interface method since it might also be useful for querying at some point?
|
|
76
|
-
# 42. ~ Switches#on_args, so as to enable alternate hash keys (:type and :class) for type casting.
|
|
77
|
-
# 43. ~ self-run section to reflect the optionalness/optionality(?) of summaries.
|
|
78
|
-
# 6/7 (Some small tidyups and removal of self-run section.)
|
|
79
|
-
# 44. ~ Switches#on_args, shorter when handling casting arguments.
|
|
80
|
-
# 45. /unused_switches/unset_switches/.
|
|
81
|
-
# 46. ~ Switches#check_required_switches, so that the message is not being assigned until a switch is missing.
|
|
82
|
-
# 47. Removed the self-run section and moved it to ./test/run.rb.
|
|
83
|
-
# 7/8 (Addition of #perform and #perform! methods, as well the #do_action method and changes to #on_args to facilitate #perform* methods.)
|
|
84
|
-
# 48. ~ Switches#on_args, so as if a block is supplied which is not returning a String, then it will not be placed into the on_args argument list.
|
|
85
|
-
# 49. + Switches#perform, interface for actions which don't require an argument.
|
|
86
|
-
# 50. + Switches#perform!, interface for actions which do require an argument.
|
|
87
|
-
# 51. + Switches#do_action, executes a block when called by either of #perform or #perform!.
|
|
88
|
-
# 8/9
|
|
89
|
-
# 52. ~ Switches#check_required_switches, so as it now assembles the complete list of missing switches rather than failing on and reporting only the first.
|
|
90
|
-
# 53. + Switches#required_perform
|
|
91
|
-
# 54. + Switches#required_perform!
|
|
92
|
-
# 55. - OptionParse#soft_parse, since this was never used here, but only in Attributes.
|
|
93
|
-
# 56. + Object#default_is(et.al.)
|
|
94
|
-
# 57. + NilClass#default_is(et.al.) overrides Object#default_is for the specific case of nil.
|
|
95
|
-
# 58. /switches_defaults/switches_with_defaults/.
|
|
96
|
-
# 59. + Array#peek_options.
|
|
97
|
-
# 60. + Array#poke_options!.
|
|
98
|
-
# 61. + Array#all_but_last.
|
|
99
|
-
# 62. + Array#last!.
|
|
100
|
-
# 63. + Module#alias_methods.
|
|
101
|
-
# 64. ~ CastingInterfaceMethods, to make use of Array#poke_options.
|
|
102
|
-
# 65. + CastingInterfaceMethods#flag.
|
|
103
|
-
# 66. + Switches.as_h (and associated aliased interfaces).
|
|
104
|
-
# 67. ~ Switches#initialize, arguments are now a splat with the intention of allowing both casting_interface_methods and as_h being specified as a hash supplied to the initialiser.
|
|
105
|
-
# 68. ~ Switches, to make use of Module#alias_methods.
|
|
106
|
-
# 69. ~ Switches, to make use of Array#peek_options and Array#poke_options!.
|
|
107
|
-
# 70. + Switches#required_perform.
|
|
108
|
-
# 71. + Switches#required_perform!.
|
|
109
|
-
# 72. + Switches#switches_with_defaults.
|
|
110
|
-
# 73. + Switches#switches_with_castings.
|
|
111
|
-
# 74. + Swtiches#to_h.
|
|
112
|
-
# 75. + Switches#set_if_required_switch.
|
|
113
|
-
# 76. + Switches#set_switches_with_defaults.
|
|
114
|
-
# 77. ~ Switches#parse!, + set_switches_with_defaults() and + to_h().
|
|
115
|
-
# 78. ~ Switches#do_set, + set_if_required_switch().
|
|
116
|
-
# 79. ~ Switches#do_action, + set_if_required_switch().
|
|
117
|
-
# 80. ~ Switches#on_args, so as it can handle castings.
|
|
118
|
-
# 9/10
|
|
119
|
-
# 81. + OpenStruct#to_h.
|
|
120
|
-
# 82. ~ Switches#to_h.
|
|
121
|
-
# 10/11 (Whoops! The defaults were overwriting the supplied settings.)
|
|
122
|
-
# 83. ~ Switches#set_switches_with_defaults to check if a setting had been set before applying a default value.
|
|
123
|
-
# 10/11
|
|
124
|
-
# 84.
|
|
125
|
-
# 11/12 (Removed default aliases for default_to, since it clashes with the mail gem's Mail::Message#default method.)
|
|
126
|
-
# 85. - Object#default.
|
|
127
|
-
# 86. - NilClass#default.
|
|
128
|
-
# 12/13
|
|
129
|
-
# 87. Swapped out a couple of @settings.instance_variable_get(:@table)'s for OpenStruct#to_h's.
|
|
130
|
-
# 13/14
|
|
131
|
-
# 88. README is now markdown.
|
|
132
|
-
# 89. - examples directory
|
|
133
|
-
# 90. Version number bump to 0.9.14.
|
|
134
|
-
# 91. Turned into a gem (+ switches.gemspec).
|
|
135
|
-
# 14/15
|
|
136
|
-
# 92. switches gem name taken, so renamed the gem to switches.rb.
|
|
137
|
-
# 93. Version number bump to 0.9.15.
|
|
138
|
-
# 94. Tidied some comments in spec/all.rb.
|
|
139
|
-
# 15/16
|
|
140
|
-
# 95. + Gemfile
|
|
141
|
-
|
|
142
21
|
require 'optparse'
|
|
143
22
|
require 'Kernel/require_gem'
|
|
144
23
|
|
data/switches.rb.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'switches.rb' # I would have preferred 'switches', but there's a gem with the name of switches.
|
|
3
3
|
|
|
4
|
-
s.version = '0.10.
|
|
4
|
+
s.version = '0.10.2'
|
|
5
5
|
s.date = '2026-08-09'
|
|
6
6
|
|
|
7
7
|
s.summary = "The easiest way to provide switches to a Ruby program."
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: switches.rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoran
|
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
77
|
version: '0'
|
|
78
78
|
requirements: []
|
|
79
|
-
rubygems_version: 4.0.
|
|
79
|
+
rubygems_version: 4.0.18
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: The easiest way to provide switches to a Ruby program.
|
|
82
82
|
test_files: []
|