async 1.28.0 → 1.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/scheduler.rb +4 -4
- data/lib/async/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e4e0ec2acca1af0f271efcedc344b762e5f3f16624aea68798b4bb6cd049b73
|
4
|
+
data.tar.gz: ed8c76d71768170aada8b9f4d7953f67731e18da317a3429b2668b8ef7183d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 902e77b03639f8a68f05df761a7f6cd75869e4abc25e9835b5e412301e6ab67e5fb9c4da4c99bedbaeb30e01fe84cf9bbfb062971f20fc0437c5f69edf21190f
|
7
|
+
data.tar.gz: 1810f96d715b91c18e6dfbdb08d3d2da7531c3b8d562bb750b05ef850f88e632709559b710af7efb8354e0d2784b242c94d306d7db64940a7ef147c79c26cf73
|
data/lib/async/scheduler.rb
CHANGED
@@ -57,13 +57,13 @@ module Async
|
|
57
57
|
def io_wait(io, events, timeout = nil)
|
58
58
|
wrapper = from_io(io)
|
59
59
|
|
60
|
-
if events == IO::READABLE
|
60
|
+
if events == ::IO::READABLE
|
61
61
|
if wrapper.wait_readable(timeout)
|
62
|
-
return IO::READABLE
|
62
|
+
return ::IO::READABLE
|
63
63
|
end
|
64
|
-
elsif events == IO::WRITABLE
|
64
|
+
elsif events == ::IO::WRITABLE
|
65
65
|
if wrapper.wait_writable(timeout)
|
66
|
-
return IO::WRITABLE
|
66
|
+
return ::IO::WRITABLE
|
67
67
|
end
|
68
68
|
else
|
69
69
|
if wrapper.wait_any(timeout)
|
data/lib/async/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.28.
|
4
|
+
version: 1.28.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: console
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.2
|
182
|
+
rubygems_version: 3.1.2
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: A concurrency framework for Ruby.
|