rubysl-socket 2.2 → 2.2.1

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: 2bb247003810ab9a85b2b04dd43bda7e43b7a8ed
4
- data.tar.gz: 53a65cca7084756eecbdf3f3073d623e05d8930d
3
+ metadata.gz: cc470e868aa350d33293aef05d67dba154578318
4
+ data.tar.gz: 902b152a76030de4e4ce377975651f96b49917b3
5
5
  SHA512:
6
- metadata.gz: 83a72c32a0f76ab1f5ccc5c74b710ef9cb6637fbeb21ae248a62d78a923f74d3f27b0ffc83511ef4edda0af693b71a65d87d14c48cca558c520d32a172c87504
7
- data.tar.gz: 977e634f67259ec60c56c3715bd6ec9dfb615dd049cd03cf106ed25a4b1717df6c8c324897ea3ffbc4314a66434159198420d9405476c2008346bfad1b127d4d
6
+ metadata.gz: ac700e744f9fee4493b14b11c3bf0d4d9350bcb8001a4b35aa9326a81c2ac1e67fb79a391b9bf75c47bd1125c413f4bf1b62203193c1b9ae317d340ebb1513a4
7
+ data.tar.gz: 4d4cd965b96f54e93509f1411c1653b22e0fe462d14d07ee953bcc022ea1ddbcf4e25982f6c4e9ae199c61f57d4f37afeafa8b1a1be2742b670c15a6c1fdde9c
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module Socket
3
- VERSION = "2.2"
3
+ VERSION = "2.2.1"
4
4
  end
5
5
  end
@@ -233,8 +233,9 @@ class Socket < BasicSocket
233
233
 
234
234
  if RubySL::Socket.unix_socket_support?
235
235
  def self.pack_sockaddr_un(file)
236
- sockaddr = [Socket::AF_UNIX].pack('s') + file
237
- struct = RubySL::Socket::Foreign::SockaddrUn.with_sockaddr(sockaddr)
236
+ struct = RubySL::Socket::Foreign::SockaddrUn.new
237
+ struct[:sun_family] = Socket::AF_UNIX
238
+ struct[:sun_path] = file
238
239
 
239
240
  begin
240
241
  struct.to_s
@@ -247,7 +248,7 @@ class Socket < BasicSocket
247
248
  struct = RubySL::Socket::Foreign::SockaddrUn.with_sockaddr(addr)
248
249
 
249
250
  begin
250
- struct[:sun_path]
251
+ struct[:sun_path].to_s
251
252
  ensure
252
253
  struct.free
253
254
  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.2'
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
@@ -9,15 +9,15 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-13 00:00:00.000000000 Z
12
+ date: 2017-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: rubysl-fcntl
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: '2.0'
20
- name: rubysl-fcntl
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,12 +26,12 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.0'
28
28
  - !ruby/object:Gem::Dependency
29
+ name: bundler
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - "~>"
32
33
  - !ruby/object:Gem::Version
33
34
  version: '1.3'
34
- name: bundler
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
@@ -40,12 +40,12 @@ dependencies:
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.3'
42
42
  - !ruby/object:Gem::Dependency
43
+ name: rake
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - "~>"
46
47
  - !ruby/object:Gem::Version
47
48
  version: '10.0'
48
- name: rake
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
@@ -54,12 +54,12 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.0'
56
56
  - !ruby/object:Gem::Dependency
57
+ name: mspec
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - "~>"
60
61
  - !ruby/object:Gem::Version
61
62
  version: '1.9'
62
- name: mspec
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -68,12 +68,12 @@ dependencies:
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.9'
70
70
  - !ruby/object:Gem::Dependency
71
+ name: rubysl-prettyprint
71
72
  requirement: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - "~>"
74
75
  - !ruby/object:Gem::Version
75
76
  version: '2.0'
76
- name: rubysl-prettyprint
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -82,12 +82,12 @@ dependencies:
82
82
  - !ruby/object:Gem::Version
83
83
  version: '2.0'
84
84
  - !ruby/object:Gem::Dependency
85
+ name: rubysl-ipaddr
85
86
  requirement: !ruby/object:Gem::Requirement
86
87
  requirements:
87
88
  - - "~>"
88
89
  - !ruby/object:Gem::Version
89
90
  version: '2.0'
90
- name: rubysl-ipaddr
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.6.6
165
+ rubygems_version: 2.6.8
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Socket standard library for Rubinius.