protobuf 2.8.0.beta4 → 2.8.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/protobuf/rpc/service_directory.rb +5 -0
- data/lib/protobuf/version.rb +1 -1
- metadata +3 -3
@@ -169,6 +169,11 @@ module Protobuf
|
|
169
169
|
def init_socket
|
170
170
|
@socket = UDPSocket.new
|
171
171
|
@socket.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEADDR, true)
|
172
|
+
|
173
|
+
if defined?(::Socket::SO_REUSEPORT)
|
174
|
+
@socket.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEPORT, true)
|
175
|
+
end
|
176
|
+
|
172
177
|
@socket.bind(self.class.address, self.class.port.to_i)
|
173
178
|
end
|
174
179
|
|
data/lib/protobuf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.0.
|
4
|
+
version: 2.8.0.beta5
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -507,7 +507,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
507
507
|
version: '0'
|
508
508
|
segments:
|
509
509
|
- 0
|
510
|
-
hash:
|
510
|
+
hash: -2179465812601701045
|
511
511
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
512
512
|
none: false
|
513
513
|
requirements:
|