ruby_skynet 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_skynet/version.rb +1 -1
- data/lib/ruby_skynet/zookeeper/service_registry.rb +3 -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: b39fd9219993215a47feb068e3929519b24c7f1b
|
4
|
+
data.tar.gz: e16eb4feb74a1bd622a95344ce96da298ed80f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1a8e773a98793dd9a9204eb0cd51e19245e3f8cb779bac2c95d9c84312ad469442758599adb71f37c583a84293bc2782f65702ae2f4ab4e0c1d9fb20f02db02
|
7
|
+
data.tar.gz: 7ee78b0939fc0c5134df7ea6fb6644f52b34bae27713007211a01cf15f7c3faccb77198cc312fcd4c8e0a5795030ba8c284ebd58a6ee56e93c5ad3fb4bacd0e5
|
data/lib/ruby_skynet/version.rb
CHANGED
@@ -122,7 +122,9 @@ module RubySkynet
|
|
122
122
|
uuid, key = path.split('/')
|
123
123
|
# If any child of the node is deleted, deregister the service,
|
124
124
|
# not just for (key == 'registered')
|
125
|
-
|
125
|
+
server = @notifications_cache.delete(uuid)
|
126
|
+
# Handle partially registered services
|
127
|
+
if server && server['addr'] && server['name'] && server['version'] && server['region']
|
126
128
|
hostname, port = server['addr'].split(':')
|
127
129
|
# Service has stopped and needs to be removed
|
128
130
|
remove_server(File.join(server['name'], server['version'].to_s, server['region']), hostname, port, true)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_skynet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic_logger
|