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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5706d3441831ade95044c1a351c5fc8c28552726
4
- data.tar.gz: 1e2a679c18daf0d622167892fb48a404587ed4c2
3
+ metadata.gz: b39fd9219993215a47feb068e3929519b24c7f1b
4
+ data.tar.gz: e16eb4feb74a1bd622a95344ce96da298ed80f3d
5
5
  SHA512:
6
- metadata.gz: 47c2cdc781bdf467a83c41711fad0be34f41446033f1cba5db5add0cd6dd275aabcefd8df7355d4bbe1628dd8ba19737d7f66bdc4edbe5db4ecd5c209e3a297b
7
- data.tar.gz: 0829e96a88b69f95a9e7cd42f67a7da5f78a2b53dbfcdbba4a297fcb677c011b4d0dc39adc8b27de436da2ddeff397c955fff528bd4e229454e8ed429159a077
6
+ metadata.gz: a1a8e773a98793dd9a9204eb0cd51e19245e3f8cb779bac2c95d9c84312ad469442758599adb71f37c583a84293bc2782f65702ae2f4ab4e0c1d9fb20f02db02
7
+ data.tar.gz: 7ee78b0939fc0c5134df7ea6fb6644f52b34bae27713007211a01cf15f7c3faccb77198cc312fcd4c8e0a5795030ba8c284ebd58a6ee56e93c5ad3fb4bacd0e5
@@ -1,3 +1,3 @@
1
1
  module RubySkynet #:nodoc
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
@@ -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
- if server = @notifications_cache.delete(uuid)
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.5
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-16 00:00:00.000000000 Z
11
+ date: 2013-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic_logger