ruby-getoptions 0.1.1 → 0.1.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.
Files changed (3) hide show
  1. checksums.yaml +7 -7
  2. data/lib/ruby-getoptions.rb +1 -1
  3. metadata +20 -28
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: 13dd49cce4ed3bf8622aed730442c129c63f5c68
4
- metadata.gz: 547296f376d322de73f9be5091e8ef0f46693dab
5
- SHA512:
6
- data.tar.gz: 08dad8be638391eb49bcbce75b64a63a2cce6dbb60a9c96b59d9068af377f33ef9813c3764188757d72264bae157f2d091a85cbe366f4a32df095476a448c9e2
7
- metadata.gz: 71a2f391014f5268399982ebb92e60453c34299205f3faee2602fa9d55f3af53bcfd110d3183e6fce21a9b04cace209efef7f58b361d9327831c67e2dc317c88
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 13d773936b77a42a21dd3ea3b2e096754575143a
4
+ data.tar.gz: 5af4c30a17bb93be12fd6c6351251ee2cacda015
5
+ SHA512:
6
+ metadata.gz: 49271847898dc86cb9b2e9f5a6dd203bb2eb44c7020eea09a4974cd8fbb869f80e2eecbc5e5f0bb1a5608e0998f907c5fd2344800354aa420f925ef11a78e455
7
+ data.tar.gz: 05c0ea2f4ccab06dd06b10969f42e56cc78eb0df0aeb34351275f5eab9cb70d0ae9ad6e65be467e6953479be362af82b238ee40fd2a03407dd03d0d5f380e4cb
@@ -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.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
- - &id001
38
- - ">="
39
- - !ruby/object:Gem::Version
40
- version: "0"
41
- required_rubygems_version: !ruby/object:Gem::Requirement
42
- requirements:
43
- - *id001
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.0.15
40
+ rubygems_version: 2.4.5
48
41
  signing_key:
49
42
  specification_version: 4
50
- summary: "Ruby option parser based on Perl\xE2\x80\x99s Getopt::Long"
43
+ summary: Ruby option parser based on Perl’s Getopt::Long
51
44
  test_files: []
52
-