zk_recipes 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/CHANGELOG.md +4 -0
- data/lib/zk_recipes/cache.rb +4 -4
- data/lib/zk_recipes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c2873a40bf64353b92a2f4331016cd807129618
|
4
|
+
data.tar.gz: a690f00718b13542111c8e73db6be7fdb830f224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39b2cc81a4f74bbbdf989663e365df58e64a39b6168472000a0120736dce866b95830b10d487bab931b47024303e99ad55f9085d86c860acd1b34ca23f063145
|
7
|
+
data.tar.gz: 52d84aaea653943d09dba66a907a1f8aad8baa153bc0cb659776e8b5a89b8016cd5d20fb0711df1cb8ff0e2a24a23a35a847e64ca7cea578a574d9e929bbcbd4
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/zk_recipes/cache.rb
CHANGED
@@ -98,13 +98,13 @@ module ZkRecipes
|
|
98
98
|
|
99
99
|
def close!
|
100
100
|
@watches.each_value(&:unsubscribe)
|
101
|
-
@watches.clear
|
102
101
|
@zk.close! if @owned_zk
|
103
|
-
@
|
104
|
-
@
|
105
|
-
@registered_values = nil
|
102
|
+
@watches.clear
|
103
|
+
@pending_updates.clear
|
106
104
|
end
|
107
105
|
|
106
|
+
# reopen the client after the process forks
|
107
|
+
# This is *not* the opposite of `#close!`.
|
108
108
|
def reopen
|
109
109
|
@latch = Concurrent::CountDownLatch.new
|
110
110
|
@session_id = nil
|
data/lib/zk_recipes/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zk_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Lazarus
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|