rgossip 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. data/lib/rgossip/client.rb +3 -0
  2. metadata +3 -3
@@ -103,6 +103,9 @@ module RGossip
103
103
  @node_list.synchronize {
104
104
  raise 'node is exist' if @node_list.any? {|i| i.address == address }
105
105
  @node_list << Node.new(@node_list, @dead_list, address, nil, nil, self.method(:perform_callback))
106
+ node = Node.new(@node_list, @dead_list, address, nil, nil, self.method(:perform_callback))
107
+ @node_list << node
108
+ node.start_timer if @running
106
109
  }
107
110
  end
108
111
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgossip
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel