zk 1.7.2 → 1.7.3

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/RELEASES.markdown CHANGED
@@ -1,5 +1,15 @@
1
1
  This file notes feature differences and bugfixes contained between releases.
2
2
 
3
+ ### v1.7.3 ###
4
+
5
+ * bug fix for "Callbacks Hash in EventHandlerSubscription::Base gets longer randomly" (#52)
6
+
7
+ I'd like to point out that the callbacks hash gets longer *deterministically*, depending on what callbacks get registered. This patch will do further cleanup so as not to leave empty arrays littering the EventHandler.
8
+
9
+ ### v1.7.2 ###
10
+
11
+ * bug fix for "Ephemeral node for exclusive lock not cleaned up when failure happens during lock acquisition" (#51)
12
+
3
13
  ### v1.7.1 ###
4
14
 
5
15
  * Fixes nasty bug "LockWaitTimeout causes lock to be forever unusable" (#49)
@@ -144,6 +144,7 @@ module ZK
144
144
  ary = @callbacks[subscription.path]
145
145
 
146
146
  idx = ary.index(subscription) and ary.delete_at(idx)
147
+ @callbacks.delete(subscription.path) if ary.empty?
147
148
  end
148
149
 
149
150
  nil
data/lib/zk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ZK
2
- VERSION = "1.7.2"
2
+ VERSION = "1.7.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 2
10
- version: 1.7.2
9
+ - 3
10
+ version: 1.7.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan D. Simms
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-10-08 00:00:00 Z
19
+ date: 2012-10-10 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: zookeeper