io-endpoint 0.9.0 → 0.10.0

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
  SHA256:
3
- metadata.gz: a8c719f57ec802f2b04eed41ba8ae7b1a1d50ce90b2d4f0c7188c4b8f62f7306
4
- data.tar.gz: dd9bdffdb227f14e4de51d7da5d345ff230b8d05c1da91c41d6f928ce2844a01
3
+ metadata.gz: 67dc78509c6572ec2751e9c02755e5e2f636885729d57c01f672a9d77ab2be9a
4
+ data.tar.gz: e6a92b439825fb68e06abd503aa08ec9d75cd82823810ffb08903b0127d67235
5
5
  SHA512:
6
- metadata.gz: b8da3c12efc9df9557fdd23d08364a34cde7d89777e078d695fbea2470e3a3a4a30b58d33e0cebaffea0680fd609cdf13a66239f390abe366ae18139eb3860c3
7
- data.tar.gz: 0cf5dc1fa569e2f010bdcfdd5351e21ccb0a92055d0af361b7dafae7d0431923556c4673fc6975989211e8cdaf7a449c1f277588d5ae68e78409ac7d5b6bbc30
6
+ metadata.gz: 2474f37bd11238e05d837905ce5ed8119f6bd13cf51ddb4094eb2424b764eecc9d05eb0790d93ca9984a637c974f5f7c2fdfee8edbe6620f3e73f8170a2ab7ee
7
+ data.tar.gz: 29cf2e3d0e3e655b905798cd2d56ae3cc3a7e8b43f63598329a16a8adc78182ede3f31c224a4934aef18eb84fdd73be53f078933a78c4586d154ba7695984b8c
checksums.yaml.gz.sig CHANGED
Binary file
@@ -5,6 +5,6 @@
5
5
 
6
6
  class IO
7
7
  module Endpoint
8
- VERSION = "0.9.0"
8
+ VERSION = "0.10.0"
9
9
  end
10
10
  end
@@ -9,15 +9,10 @@ module IO::Endpoint
9
9
  class Wrapper
10
10
  include ::Socket::Constants
11
11
 
12
- if IO.method_defined?(:timeout=)
13
- def set_timeout(io, timeout)
12
+ def set_timeout(io, timeout)
13
+ if io.respond_to?(:timeout=)
14
14
  io.timeout = timeout
15
15
  end
16
- else
17
- def set_timeout(io, timeout)
18
- # warn "IO#timeout= not supported on this platform."
19
- # Unsupported.
20
- end
21
16
  end
22
17
 
23
18
  def set_buffered(socket, buffered)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-endpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file