help_parser 3.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f2cddf5444a61128c4e9dee462687c0b806cc14
4
- data.tar.gz: b3771ac46dd21a3c35a9b364044d9f7c8ac72eba
3
+ metadata.gz: 33ad117bb5e036d38e871d90ea4a6434c1c004f1
4
+ data.tar.gz: 2e94e3e19e4c763bbf67ae4dc958b4d6dcfecf8c
5
5
  SHA512:
6
- metadata.gz: 452bd92f2c59ab12e26dbf7df0770f32fd12182bfd6dc3899b5d79fdccd9382daf1d908dce056833f4737f45cd3b521053d6425aca16ada30315f66f268c4dfd
7
- data.tar.gz: 6578b276cfb4be11bf3597a650f3dd6661ddf4811e4a35b41b1d0c6394c700b3f1039df9724836e3c57b1a3938e6d4032e3e120ed3df55dd5dfb490c59b87a53
6
+ metadata.gz: 05bda5c57650c34545975a91bce8b87218dde3a7d52c23ccaf539bb037f8de7560071daedb8bf564bb1e30d68121438bec43aa7ea853c161da0f1837c1c5cc13
7
+ data.tar.gz: c4e7bc126d53c3df6bb3f9c9c83b1882da560536f442dca83c040c87ee7088a33b4983ab095873bf1ac77d9ea711be33a6808fae93649dcbddf6c19a11fe14e0
@@ -17,7 +17,7 @@ module HELP_PARSER
17
17
  end
18
18
  next
19
19
  when /^:(.*?)([+]?)$/ # it's a selection
20
- list,plus = @usage[$1].flatten,$2
20
+ list,plus = @usage[$1].flatten.select{|_|_[0]==M},$2
21
21
  raise NoMatch unless list.include?(@keys[i])
22
22
  if plus=='+'
23
23
  while list.include?(@keys[i+1])
@@ -1,3 +1,3 @@
1
1
  module HELP_PARSER
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - carlosjhr64
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-31 00:00:00.000000000 Z
11
+ date: 2016-11-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'HelpParser - Parses your help text to define your command line options.
14
14