ruby-getoptions 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/lib/ruby-getoptions.rb +1 -1
- metadata +20 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 13d773936b77a42a21dd3ea3b2e096754575143a
|
4
|
+
data.tar.gz: 5af4c30a17bb93be12fd6c6351251ee2cacda015
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 49271847898dc86cb9b2e9f5a6dd203bb2eb44c7020eea09a4974cd8fbb869f80e2eecbc5e5f0bb1a5608e0998f907c5fd2344800354aa420f925ef11a78e455
|
7
|
+
data.tar.gz: 05c0ea2f4ccab06dd06b10969f42e56cc78eb0df0aeb34351275f5eab9cb70d0ae9ad6e65be467e6953479be362af82b238ee40fd2a03407dd03d0d5f380e4cb
|
data/lib/ruby-getoptions.rb
CHANGED
@@ -225,7 +225,7 @@ private
|
|
225
225
|
else
|
226
226
|
debug "Option '#{opt}' not found!"
|
227
227
|
$stderr.puts "[WARNING] Option '#{opt}' not found!" unless @options[:pass_through]
|
228
|
-
return nil
|
228
|
+
return [nil, @option_map]
|
229
229
|
end
|
230
230
|
elsif matches.size > 1
|
231
231
|
abort "[ERROR] option '#{opt}' matches multiple names '#{matches.inspect}'!"
|
metadata
CHANGED
@@ -1,52 +1,44 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-getoptions
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- David Gamba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
date: 2014-09-01 00:00:00 Z
|
11
|
+
date: 2014-09-01 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
|
15
13
|
description: The best looking option parser out there
|
16
14
|
email: davidgamba@gmail.com
|
17
15
|
executables: []
|
18
|
-
|
19
16
|
extensions: []
|
20
|
-
|
21
17
|
extra_rdoc_files: []
|
22
|
-
|
23
|
-
files:
|
18
|
+
files:
|
24
19
|
- lib/ruby-getoptions.rb
|
25
20
|
homepage: https://github.com/DavidGamba/ruby-getoptions
|
26
|
-
licenses:
|
21
|
+
licenses:
|
27
22
|
- MIT
|
28
23
|
metadata: {}
|
29
|
-
|
30
24
|
post_install_message:
|
31
25
|
rdoc_options: []
|
32
|
-
|
33
|
-
require_paths:
|
26
|
+
require_paths:
|
34
27
|
- lib
|
35
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
-
|
38
|
-
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
44
38
|
requirements: []
|
45
|
-
|
46
39
|
rubyforge_project:
|
47
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.4.5
|
48
41
|
signing_key:
|
49
42
|
specification_version: 4
|
50
|
-
summary:
|
43
|
+
summary: Ruby option parser based on Perl’s Getopt::Long
|
51
44
|
test_files: []
|
52
|
-
|