kazoo-ruby 0.5.1 → 0.5.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01b1f0b326bcd720c958c12e2a98dc71d637c76c
4
- data.tar.gz: 5685b8967f0969c8ba9aff9f9fd8735721c4ad7e
3
+ metadata.gz: 425f57761eb37f1ccd8c4de068f9eb9d1b898017
4
+ data.tar.gz: 63f26148c9e5181de36eaf8a1c3fc858a89d482a
5
5
  SHA512:
6
- metadata.gz: c4fe40d7d95aafdaf45883dc30807c7bed3c94481415ac966fb6d7d2dfe0a6c9ef162204e723c6366279eef04b6b9a7363ca15359878062484f3454d0a0ff74b
7
- data.tar.gz: 0fdad3841e945a44d9c7ac3e4dcaea627ba0ceb260c5bf4dc85fc8941c6d0d864cafdb90f57fa52917d52dc31e3d1093923c250179fa548f03478645cfcebcfd
6
+ metadata.gz: a16ee39988e4a9bfc19b5892ef136ec1970e033fea62716e9d80314acb95ba6d8476264e1ece4307365ec925cf85ef6a66a2b1d5226870ffcba3ebaf22e1555a
7
+ data.tar.gz: f6baa74192d9947f69e74dba77c3203d3d0200d9d28669cfcfe6a286977fe2ccd51fd94765bc4ec03cd236825e1c4b4caee140442c9cdba6f81310999cde31d9
@@ -318,7 +318,7 @@ module Kazoo
318
318
  Thread.abort_on_exception = true
319
319
 
320
320
  subscription_result = cluster.zk.get(path: "/consumers/#{name}/ids/#{id}")
321
- raise Kazoo::Error, "Failed to retrieve subscription for instance. Error code: #{result.fetch(:rc)}" if subscription_result.fetch(:rc) != Zookeeper::Constants::ZOK
321
+ raise Kazoo::Error, "Failed to retrieve subscription for instance. Error code: #{subscription_result.fetch(:rc)}" if subscription_result.fetch(:rc) != Zookeeper::Constants::ZOK
322
322
  subscription = Kazoo::Subscription.from_json(subscription_result.fetch(:data))
323
323
  mutex.synchronize { instances << Instance.new(self, id: id, subscription: subscription) }
324
324
  end
data/lib/kazoo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kazoo
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kazoo-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor