rubysl-socket 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubysl/socket/version.rb +1 -1
- data/lib/socket/basic_socket.rb +4 -4
- metadata +21 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39994937b5fe405c7e88c3c480045cb52c83dd83
|
4
|
+
data.tar.gz: 96652e12cb7a619b5d5da892127aed01325ba678
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35d8f372afd422199eac002869af2a59245736321d83e6c695b3712c0624dd4bb9e1b670629c492a520ee1a00c386f78e97a123f955a14dd01517684f4bea8df
|
7
|
+
data.tar.gz: 4c20fe7be7331ffc8eaade1c64510b5999d4213843760ecbb22a23edb8c85b3110f35f22084cf77206a9d85b7e1886eee5516d99d6de2f1ddac115a9edff5124
|
data/lib/socket/basic_socket.rb
CHANGED
@@ -233,13 +233,13 @@ class BasicSocket < IO
|
|
233
233
|
def close_read
|
234
234
|
ensure_open
|
235
235
|
|
236
|
-
if
|
236
|
+
if mode_read_only?
|
237
237
|
return close
|
238
238
|
end
|
239
239
|
|
240
240
|
RubySL::Socket::Foreign.shutdown(descriptor, 0)
|
241
241
|
|
242
|
-
|
242
|
+
force_write_only
|
243
243
|
|
244
244
|
nil
|
245
245
|
end
|
@@ -247,13 +247,13 @@ class BasicSocket < IO
|
|
247
247
|
def close_write
|
248
248
|
ensure_open
|
249
249
|
|
250
|
-
if
|
250
|
+
if mode_write_only?
|
251
251
|
return close
|
252
252
|
end
|
253
253
|
|
254
254
|
RubySL::Socket::Foreign.shutdown(descriptor, 1)
|
255
255
|
|
256
|
-
|
256
|
+
force_read_only
|
257
257
|
|
258
258
|
nil
|
259
259
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysl-socket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
@@ -9,92 +9,92 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
prerelease: false
|
16
|
+
type: :runtime
|
17
|
+
name: rubysl-fcntl
|
15
18
|
requirement: !ruby/object:Gem::Requirement
|
16
19
|
requirements:
|
17
20
|
- - "~>"
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: '2.0'
|
20
|
-
name: rubysl-fcntl
|
21
|
-
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - "~>"
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: '2.0'
|
27
|
-
type: :runtime
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
+
prerelease: false
|
30
|
+
type: :development
|
31
|
+
name: bundler
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
30
33
|
requirements:
|
31
34
|
- - "~>"
|
32
35
|
- !ruby/object:Gem::Version
|
33
36
|
version: '1.3'
|
34
|
-
name: bundler
|
35
|
-
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '1.3'
|
41
|
-
type: :development
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
+
prerelease: false
|
44
|
+
type: :development
|
45
|
+
name: rake
|
43
46
|
requirement: !ruby/object:Gem::Requirement
|
44
47
|
requirements:
|
45
48
|
- - "~>"
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: '10.0'
|
48
|
-
name: rake
|
49
|
-
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '10.0'
|
55
|
-
type: :development
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
+
prerelease: false
|
58
|
+
type: :development
|
59
|
+
name: mspec
|
57
60
|
requirement: !ruby/object:Gem::Requirement
|
58
61
|
requirements:
|
59
62
|
- - "~>"
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: '1.9'
|
62
|
-
name: mspec
|
63
|
-
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
67
|
- - "~>"
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '1.9'
|
69
|
-
type: :development
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
+
prerelease: false
|
72
|
+
type: :development
|
73
|
+
name: rubysl-prettyprint
|
71
74
|
requirement: !ruby/object:Gem::Requirement
|
72
75
|
requirements:
|
73
76
|
- - "~>"
|
74
77
|
- !ruby/object:Gem::Version
|
75
78
|
version: '2.0'
|
76
|
-
name: rubysl-prettyprint
|
77
|
-
prerelease: false
|
78
79
|
version_requirements: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
81
|
- - "~>"
|
81
82
|
- !ruby/object:Gem::Version
|
82
83
|
version: '2.0'
|
83
|
-
type: :development
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
+
prerelease: false
|
86
|
+
type: :development
|
87
|
+
name: rubysl-ipaddr
|
85
88
|
requirement: !ruby/object:Gem::Requirement
|
86
89
|
requirements:
|
87
90
|
- - "~>"
|
88
91
|
- !ruby/object:Gem::Version
|
89
92
|
version: '2.0'
|
90
|
-
name: rubysl-ipaddr
|
91
|
-
prerelease: false
|
92
93
|
version_requirements: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
95
|
- - "~>"
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '2.0'
|
97
|
-
type: :development
|
98
98
|
description: Socket standard library for Rubinius.
|
99
99
|
email:
|
100
100
|
- brixen@gmail.com
|
@@ -162,9 +162,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.
|
165
|
+
rubygems_version: 2.6.2
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Socket standard library for Rubinius.
|
169
169
|
test_files: []
|
170
|
-
has_rdoc:
|