spiffy 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 949d4e18b7e4b71182e90482f7638e965aed7e63
4
- data.tar.gz: 0424f08b70eaa537dc306f4b8ab697be3f91dc08
3
+ metadata.gz: f006d8837df5b0b128e01bd099a55d1a64ebf3e3
4
+ data.tar.gz: ffafaf1e1ecf09ed0f255441f793a16c43f07f81
5
5
  SHA512:
6
- metadata.gz: 8adcff89802c8c90e9fe6fdac2d94b5b80f3e00a51bb47aeb4f1acf78d9faffb4872c3a75f5626b7fd3ad47e96b3731dbdc595b5cad68dbd1d1be0b9c2c8d23e
7
- data.tar.gz: 5aaf9f715aa7f3427d0e7d22575d88faaff12054baab6af5e6a5ae7734b2d5e2d5757d84cdad002d74220b161b8cb9abb85dd88a077d4c94089cf695c9162be7
6
+ metadata.gz: d47bea9057a29d9adbf9e16a98868ddbc73d6e7298e0d0324957f32926f12ff21eba083fe2b5ef72fff618aa7ab188b511ce3521be9f6cc963bcc963a20ca527
7
+ data.tar.gz: 5b1ccb31851f2ed7cbc5ef6a0f75a64e38e2f8cb63378a5bd6457adad9b19458d8e666500e15a0db051ebcdbfcad3ee5ce0e4601d857de0b414b9239de80357b
@@ -39,6 +39,7 @@ module SpiffyCli
39
39
 
40
40
  opt.on("-h", "--help", "This usage outline.") do
41
41
  puts opt_parser
42
+ options[:help] = true
42
43
  end
43
44
 
44
45
  opt.separator("")
@@ -52,6 +53,8 @@ module SpiffyCli
52
53
 
53
54
  opt_parser.parse!
54
55
 
56
+ return if options[:help]
57
+
55
58
  self.handle(options)
56
59
  end
57
60
 
@@ -75,7 +78,7 @@ module SpiffyCli
75
78
 
76
79
  if !sets
77
80
  puts opt_parser
78
- abort
81
+ return
79
82
  end
80
83
 
81
84
  sets.each do |set|
@@ -1,3 +1,3 @@
1
1
  module SpiffyVersion
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spiffy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh McCulloch