sub_zero 0.0.6 → 0.0.7

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: 1125ee1b284a90c1bbdfe38a13f8b72d08c6e2f3
4
- data.tar.gz: 3a30a04f4ff325ad96e45afb6058a2bf54ab3220
3
+ metadata.gz: f2cf7020b04fbe0b483449b22ce2496abe0609d8
4
+ data.tar.gz: 62be1b37f9c2e7110977849a8caae2a2b92c2e4c
5
5
  SHA512:
6
- metadata.gz: efcf2bcf0c547f5669d32fc83254ffb1daa7e207659d6ce971c4b6777b9795f535ad617841620300a9de9a5c51da3072493ce5a58a62aaf85ff64aea8ffa3e65
7
- data.tar.gz: f02172ad9aa4af0e70cc72262d73e10197852c276087a02366604470ca6f6e964053bb3791159f34f9d7b17c637604f4a9b300ad8516332957745931d276fd75
6
+ metadata.gz: 58ee453984204c0fbe85c291de872033e3ea6c0e46315b82dac6c9dd480fafdcc328195d3dea8c70c4275443becf5a5a85edcc36fce12bc5449bc2ab8ad4a530
7
+ data.tar.gz: 03fc16cda885fb8adbe24dc597a2492641e6c7ab7ced64c9832a1283f199853fa27412a045ca028d73bb941745dfa14f60c1c9aba0b0aa63e0fc7401096851d3
@@ -49,7 +49,8 @@ module SubZero
49
49
  attr_reader :result
50
50
 
51
51
  def initialize response
52
- super response.payload['message']
52
+ message = response.payload['error'].try(:[], 'message')
53
+ super message
53
54
  set_backtrace caller
54
55
  @result = response
55
56
  end
@@ -17,7 +17,7 @@ module SubZero
17
17
 
18
18
  response
19
19
  rescue ::Timeout::Error
20
- raise SubZero::Socket::TimeoutError
20
+ raise SubZero::Socket::TimeoutError, "call timeout after #{t}ms"
21
21
  end
22
22
 
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module SubZero
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sub_zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Rodrigues
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-04 00:00:00.000000000 Z
12
+ date: 2013-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project:
235
- rubygems_version: 2.1.5
235
+ rubygems_version: 2.0.3
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: ZeroMQ GREAT SOA solution