mizuno 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4f01f4e0e47b9fd03e1bc0272abb159daa9a845
4
- data.tar.gz: d84876c95cdc91b04cf88b7b401749580129e5d4
3
+ metadata.gz: 2e051e5280d284dd6baac685ecc3cec3f5afd1e7
4
+ data.tar.gz: ea6e490bfd66d5400321150b4e7967fbf2839d6d
5
5
  SHA512:
6
- metadata.gz: 455e59dd80ce972fec878d8e09589707344bf57db915a306cface7d0c925a7a341326b50f726c3ab4e7403a62222f522e41f828cbf66ac9658624d76c26666a1
7
- data.tar.gz: 814dbd3682408037ca6ecc0db22f8fcba998fa77717c28a26bbf1588bcccf92e159e2cf9af4a74e9f3f8609fc258b9b31a483b51f9e02b4ed1275a2664d44ac7
6
+ metadata.gz: 9261e2d5b8a8b9368fae8cc7fde5cd939c57669adaebeb76535861ad26c5a1529abeba12ea1c0f9c4fa8037a33623835cf4fcc04afcb8f93c18340f0d657da8f
7
+ data.tar.gz: 9169b48b3c382cd4544a0e21a080d18e4b5f8f58949fb093e4abc14d1f04d0a32eeef77673e5e3f6a41c241282bbf89f7fac9e125e7f65d9eb6c1440d1fb50de
data/lib/mizuno/server.rb CHANGED
@@ -78,7 +78,8 @@ module Mizuno
78
78
 
79
79
  # Connector
80
80
  connector = SelectChannelConnector.new
81
- connector.setReuseAddress(false)
81
+ # system may not have SO_REUSEPORT options -> `rescue nil`
82
+ connector.setReuseAddress(options.fetch(:reuse_address, false)) rescue nil
82
83
  connector.setPort(options[:port].to_i)
83
84
  connector.setHost(options[:host])
84
85
  @server.addConnector(connector)
@@ -1,3 +1,3 @@
1
1
  module Mizuno
2
- VERSION = "0.6.9"
2
+ VERSION = "0.6.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mizuno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Werve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack