rbczmq 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/zmq/socket.rb +1 -1
  2. data/lib/zmq/version.rb +1 -1
  3. 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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module ZMQ
4
- VERSION = "0.5"
4
+ VERSION = "0.6"
5
5
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbczmq
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
9
- version: "0.5"
8
+ - 6
9
+ version: "0.6"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Lourens Naud\xC3\xA9"