rbczmq 0.5 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zmq/socket.rb +1 -1
- data/lib/zmq/version.rb +1 -1
- metadata +3 -3
data/lib/zmq/socket.rb
CHANGED
@@ -120,7 +120,7 @@ class ZMQ::Socket
|
|
120
120
|
res = priority_peers.sort{|a,b| a.weight <=> b.weight }.last
|
121
121
|
end
|
122
122
|
return uri unless res
|
123
|
-
"tcp://#{Resolv.getaddress(res.target)}:#{res.port}"
|
123
|
+
"tcp://#{Resolv.getaddress(res.target.to_s)}:#{res.port}"
|
124
124
|
rescue
|
125
125
|
uri
|
126
126
|
end
|
data/lib/zmq/version.rb
CHANGED
metadata
CHANGED