volley 0.1.6 → 0.1.7
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.
- data/CHANGELOG.md +5 -0
- data/bin/volley +4 -2
- data/lib/volley/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/bin/volley
CHANGED
@@ -48,7 +48,7 @@ module Volley
|
|
48
48
|
|
49
49
|
def run(argv)
|
50
50
|
STDOUT.sync = true
|
51
|
-
options = Docopt(DOC, Volley::Version::STRING)
|
51
|
+
options = Docopt::docopt(DOC, :version => Volley::Version::STRING)
|
52
52
|
debug = options[:debug]
|
53
53
|
quiet = options[:quiet]
|
54
54
|
config = options[:config]
|
@@ -125,8 +125,10 @@ module Volley
|
|
125
125
|
Volley::Log.info "interrupted"
|
126
126
|
rescue SystemExit
|
127
127
|
Volley::Log.debug "exited"
|
128
|
+
rescue Docopt::Exit => e
|
129
|
+
Volley::Log.info "volley version: #{e.message}"
|
128
130
|
rescue => e
|
129
|
-
Volley::Log.error "error: #{e.message} at #{e.backtrace.first}"
|
131
|
+
Volley::Log.error "error: #{e} #{e.message} at #{e.backtrace.first}"
|
130
132
|
Volley::Log.debug e
|
131
133
|
end
|
132
134
|
end
|
data/lib/volley/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volley
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|