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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/io/endpoint/version.rb +1 -1
- data/lib/io/endpoint/wrapper.rb +2 -7
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67dc78509c6572ec2751e9c02755e5e2f636885729d57c01f672a9d77ab2be9a
|
4
|
+
data.tar.gz: e6a92b439825fb68e06abd503aa08ec9d75cd82823810ffb08903b0127d67235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2474f37bd11238e05d837905ce5ed8119f6bd13cf51ddb4094eb2424b764eecc9d05eb0790d93ca9984a637c974f5f7c2fdfee8edbe6620f3e73f8170a2ab7ee
|
7
|
+
data.tar.gz: 29cf2e3d0e3e655b905798cd2d56ae3cc3a7e8b43f63598329a16a8adc78182ede3f31c224a4934aef18eb84fdd73be53f078933a78c4586d154ba7695984b8c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/io/endpoint/version.rb
CHANGED
data/lib/io/endpoint/wrapper.rb
CHANGED
@@ -9,15 +9,10 @@ module IO::Endpoint
|
|
9
9
|
class Wrapper
|
10
10
|
include ::Socket::Constants
|
11
11
|
|
12
|
-
|
13
|
-
|
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
metadata.gz.sig
CHANGED
Binary file
|