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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f69bd1eb7c37888b7305f749554cf784ee83ba3c
4
- data.tar.gz: 85cdbf85da1a114b64b47b6b8ad8c4c719cae359
3
+ metadata.gz: 44520b7c6a838460bc19bbf57d6a994868260eea
4
+ data.tar.gz: 36fbf74ca169e31d4a3d10bad17fe204b6c70d80
5
5
  SHA512:
6
- metadata.gz: 1ea17fc3367c0d36e0891d42e10cb99e0acaa9fcd6a553d3a1fdc0fdacd0628b5579d9b358138ef3ca1151e6279a8b2bb02e1d096bbec54b9915d41b9f37d4cd
7
- data.tar.gz: 47c65052b6418d966cec8047411b9dca9cd18efcc7d2a5b0d1d1726bbdcbfab0a9bd1171e0082ce1ff456744047fd05a2ec13698026c6bfd6c27acdf23421919
6
+ metadata.gz: cf5539eae076672f770c5d3e59d448c6968b691d5c1fd0b1408765db5b56b49acd758a65ae9a3fc4b665c17213fd3061f5fdedb12a191be3dfc3760c49910aa3
7
+ data.tar.gz: 12eb5c2d861764eb55aa5fbeee97468f19c0bdac0517c81365eb8650b99ee57daa116fc4ee8df77be145f799fef34336828f825d6f9f67731cf2156064ebaeae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple-cli (0.2.9)
4
+ simple-cli (0.2.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -88,7 +88,7 @@ class Simple::CLI::Runner
88
88
 
89
89
  case e
90
90
  when ArgumentError
91
- logger.error "#{e}\n\n"
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.to_s
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
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module CLI
3
- VERSION = "0.2.9"
3
+ VERSION = "0.2.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel