async-io 1.32.2 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/io/shared_endpoint.rb +7 -1
- data/lib/async/io/version.rb +1 -1
- data/lib/async/io.rb +4 -0
- metadata +25 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75eb7a11c19605c547fda13e17e50f1c18411a3666c05a40c3393de6dd0ec350
|
4
|
+
data.tar.gz: 89e7ae1d13ecee8609ccffcfc819a209175e306ff647f709ad04879c5aa7e0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b20b70904328a61be7fd88ee6ed02517cfa2a1a04ef99432ba8f54e1527320892a3302cad90565246e8e409a52ae2fc27a6036001afc23e5696d13dcc6af9f
|
7
|
+
data.tar.gz: 3520d2320d1fbd1fa584018e85a6d388663d2b27c2e68dd7821e1f6a2a089e349f88c128825c5fd9901a702e97ea3d262c9ffd2a8ed5a5102c6610899c7089c2
|
@@ -29,7 +29,13 @@ module Async
|
|
29
29
|
# Create a new `SharedEndpoint` by binding to the given endpoint.
|
30
30
|
def self.bound(endpoint, backlog: Socket::SOMAXCONN, close_on_exec: false)
|
31
31
|
wrappers = endpoint.bound do |server|
|
32
|
-
|
32
|
+
# This is somewhat optional. We want to have a generic interface as much as possible so that users of this interface can just call it without knowing a lot of internal details. Therefore, we ignore errors here if it's because the underlying socket does not support the operation.
|
33
|
+
begin
|
34
|
+
server.listen(backlog)
|
35
|
+
rescue Errno::EOPNOTSUPP
|
36
|
+
# Ignore.
|
37
|
+
end
|
38
|
+
|
33
39
|
server.close_on_exec = close_on_exec
|
34
40
|
server.reactor = nil
|
35
41
|
end
|
data/lib/async/io/version.rb
CHANGED
data/lib/async/io.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Aurora
|
9
|
+
- Olle Jonsson
|
10
|
+
- Bruno Sutic
|
11
|
+
- Benoit Daloze
|
12
|
+
- Cyril Roelandt
|
13
|
+
- Thibaut Girka
|
14
|
+
- Jiang Jinyang
|
15
|
+
- Janko Marohnić
|
8
16
|
autorequire:
|
9
17
|
bindir: bin
|
10
18
|
cert_chain: []
|
11
|
-
date:
|
19
|
+
date: 2022-03-07 00:00:00.000000000 Z
|
12
20
|
dependencies:
|
13
21
|
- !ruby/object:Gem::Dependency
|
14
22
|
name: async
|
@@ -52,6 +60,20 @@ dependencies:
|
|
52
60
|
- - "~>"
|
53
61
|
- !ruby/object:Gem::Version
|
54
62
|
version: '1.10'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: bake
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
55
77
|
- !ruby/object:Gem::Dependency
|
56
78
|
name: covered
|
57
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
169
|
- !ruby/object:Gem::Version
|
148
170
|
version: '0'
|
149
171
|
requirements: []
|
150
|
-
rubygems_version: 3.2.
|
172
|
+
rubygems_version: 3.2.32
|
151
173
|
signing_key:
|
152
174
|
specification_version: 4
|
153
175
|
summary: Provides support for asynchonous TCP, UDP, UNIX and SSL sockets.
|