simple-cli 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/simple/cli/runner.rb +2 -2
- data/lib/simple/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44520b7c6a838460bc19bbf57d6a994868260eea
|
4
|
+
data.tar.gz: 36fbf74ca169e31d4a3d10bad17fe204b6c70d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf5539eae076672f770c5d3e59d448c6968b691d5c1fd0b1408765db5b56b49acd758a65ae9a3fc4b665c17213fd3061f5fdedb12a191be3dfc3760c49910aa3
|
7
|
+
data.tar.gz: 12eb5c2d861764eb55aa5fbeee97468f19c0bdac0517c81365eb8650b99ee57daa116fc4ee8df77be145f799fef34336828f825d6f9f67731cf2156064ebaeae
|
data/Gemfile.lock
CHANGED
data/lib/simple/cli/runner.rb
CHANGED
@@ -88,7 +88,7 @@ class Simple::CLI::Runner
|
|
88
88
|
|
89
89
|
case e
|
90
90
|
when ArgumentError
|
91
|
-
logger.error
|
91
|
+
logger.error e.message
|
92
92
|
logger.warn verbosity_hint
|
93
93
|
if subcommand
|
94
94
|
help_subcommand! subcommand
|
@@ -96,7 +96,7 @@ class Simple::CLI::Runner
|
|
96
96
|
help!
|
97
97
|
end
|
98
98
|
else
|
99
|
-
msg = e.
|
99
|
+
msg = e.message
|
100
100
|
msg += " (#{e.class.name})" unless $!.class.name == "RuntimeError"
|
101
101
|
logger.error msg
|
102
102
|
logger.warn verbosity_hint
|
data/lib/simple/cli/version.rb
CHANGED