protobuf 2.8.0.beta4 → 2.8.0.beta5

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.
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module Protobuf
2
- VERSION = '2.8.0.beta4'
2
+ VERSION = '2.8.0.beta5'
3
3
  PROTOC_VERSION = '2.4.1'
4
4
  end
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.beta4
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-21 00:00:00.000000000 Z
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: 2747944211858268770
510
+ hash: -2179465812601701045
511
511
  required_rubygems_version: !ruby/object:Gem::Requirement
512
512
  none: false
513
513
  requirements: