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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3216bf924734c539788a3de5709480bc861598bc
4
- data.tar.gz: 148d6ef7902011a226b8b6d67c177d08256c0cb1
3
+ metadata.gz: 39994937b5fe405c7e88c3c480045cb52c83dd83
4
+ data.tar.gz: 96652e12cb7a619b5d5da892127aed01325ba678
5
5
  SHA512:
6
- metadata.gz: 197042e69b6ff3af10b182143e39f47d376041c9c7661fcdfea0cfc8aa743ae632ce33abac09e5021e5e1a3fa7d3799fb03a00244deca2097e4f4380ad4689ac
7
- data.tar.gz: 2f68f82f4e78cdb30a980b5a1a62035bae6fe4da2baba3bd356fd920f5d0fe64a93f21569ca4dc83e595ad388b95dfc61ccc3e148bc7a653eb267cb238c77000
6
+ metadata.gz: 35d8f372afd422199eac002869af2a59245736321d83e6c695b3712c0624dd4bb9e1b670629c492a520ee1a00c386f78e97a123f955a14dd01517684f4bea8df
7
+ data.tar.gz: 4c20fe7be7331ffc8eaade1c64510b5999d4213843760ecbb22a23edb8c85b3110f35f22084cf77206a9d85b7e1886eee5516d99d6de2f1ddac115a9edff5124
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Socket
3
- VERSION = "2.1.1"
3
+ VERSION = "2.1.2"
4
4
  end
5
5
  end
@@ -233,13 +233,13 @@ class BasicSocket < IO
233
233
  def close_read
234
234
  ensure_open
235
235
 
236
- if @mode & ACCMODE == RDONLY
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
- @mode = WRONLY
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 @mode & ACCMODE == WRONLY
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
- @mode = RDONLY
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.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-01-15 00:00:00.000000000 Z
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.5.1
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: