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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.6:
4
+ * add better support for plan#stop
5
+ * fix bugs in volley plans
6
+ * remove dependencies and references to awesome_print
7
+
3
8
  ## v0.1.5:
4
9
  * action#stop should delegate to plan#stop
5
10
 
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
@@ -3,7 +3,7 @@ unless defined?(Volley::Version)
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 6
6
+ TINY = 7
7
7
  TAG = nil
8
8
  STRING = [MAJOR, MINOR, TINY, TAG].compact.join('.')
9
9
  end
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.6
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-08-27 00:00:00.000000000 Z
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp