command_lion 1.0.3geff → 1.0.3

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: d7cda4297c39ea6846426e97a497a5cf04647435
4
- data.tar.gz: 5b783c285cd06038f9cc99427d13656472ce5f46
3
+ metadata.gz: 7e778aa276e6bfa09550def69c087959cbb3b7c8
4
+ data.tar.gz: e5559dc55215ec51a3bd845931c01271712db620
5
5
  SHA512:
6
- metadata.gz: 6c4d111fcb3c61e8490832a38293d9fe25ab2591b14b949fd32999a68eea7810a854377b3c05d6b51638d70004263a3d6c94ba7b06093bf0c21236d0e5453497
7
- data.tar.gz: 47240995ed6c20214dd46da5fb8e35bd91ceee7f720f417052da1bb883dabff2109187607b4c232adf812b1b164128c35a816b231959c911b698c8dab01d4212
6
+ metadata.gz: d42f5d7360d36e098b855b064db21231997d1700f4aed36e98c5112cb1a64a03fce97579e0ba95350adaa31b61341c4f139501b264c62868feba3a884630c69b
7
+ data.tar.gz: 5734d31f2ec44e1daf15d6184bfc6c42fe8c12d89769f181b735dff3fbca1fd5e2d16f1a7860aa4705704fad880963cc8a01dacd03c8c25ff8b6c9834137c5af
@@ -24,10 +24,7 @@ CommandLion::App.run do
24
24
 
25
25
  option :ignore do
26
26
  description "Optionally ignore one person."
27
- flags do
28
- short "-i"
29
- long "--ignore"
30
- end
27
+ flag "--ignore"
31
28
  type :string
32
29
  end
33
30
  end
@@ -331,7 +331,7 @@ module CommandLion
331
331
  def parse_cmd(cmd, flags)
332
332
  if cmd.flags?
333
333
  args = Raw.arguments_to(cmd.flags.short, flags)
334
- if args.nil? || args.empty?
334
+ if args.empty?
335
335
  args = Raw.arguments_to(cmd.flags.long, flags)
336
336
  end
337
337
  else
@@ -1,3 +1,3 @@
1
1
  module CommandLion
2
- VERSION = "1.0.3geff"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command_lion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3geff
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent 'picat' Gruber
@@ -119,9 +119,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.3.1
124
+ version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
127
  rubygems_version: 2.6.12