async 1.28.4 → 1.28.5

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
  SHA256:
3
- metadata.gz: 1cfb65b7409df962b9b4b9d2c48fda3882c6f79c29b66dce5a915d42f2db4352
4
- data.tar.gz: afec5fb15947cc6e1cccc152342dde75a8b27e0c9fb1d46cb91b5479f4cda8b6
3
+ metadata.gz: 6b33ec5d0d22925d752f11766c464b87a53a32368b8325f80142fe82cb9237f4
4
+ data.tar.gz: 5bff146f715773a0e7f51e57f3879f71264e9b05beefaedaee8be8bc2022fd69
5
5
  SHA512:
6
- metadata.gz: 0ec16c8b0249146ccf7cb25b51d2c396611e7b0ea74f13c960c34e865bd6f6963371be8bf1610c47633ebdd586578f6ac47c5b4ae6cdf9da5027218c738569bf
7
- data.tar.gz: ac43cc50125a2036826d217a07f736a4dec92c82fc89ecb272814a736e3992af8a1b368ba17eb65afbdd15974842e2028c748b5b59b41dd0c0c4cf402d8184f9
6
+ metadata.gz: 991a081bc1ca6f54b26f1d3e2e4f3d174fd18265161722d5e220c65dad1215eefb51bb9e511b1a0b16c1b1a89f2189f9284c3eec089d2091a858623ef4d64b82
7
+ data.tar.gz: 2d00555269320cd962d2b6993ed73b706f896467e2259fe20777d1035c7ab13bc904e53ff33ee8f83416b532db5f9fa0efcd00f7efe9b001e9c51e7688ba706e
@@ -102,7 +102,7 @@ module Async
102
102
  fiber = Fiber.current
103
103
 
104
104
  if timeout
105
- timer = self.after(timeout) do
105
+ timer = @timers.after(timeout) do
106
106
  if fiber.alive?
107
107
  fiber.resume(false)
108
108
  end
@@ -87,7 +87,7 @@ module Async
87
87
  end
88
88
 
89
89
  def kernel_sleep(duration)
90
- @reactor.sleep(duration)
90
+ self.block(nil, duration)
91
91
  end
92
92
 
93
93
  def block(blocker, timeout)
@@ -21,5 +21,5 @@
21
21
  # THE SOFTWARE.
22
22
 
23
23
  module Async
24
- VERSION = "1.28.4"
24
+ VERSION = "1.28.5"
25
25
  end
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
4
+ version: 1.28.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-01-28 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.1.2
182
+ rubygems_version: 3.2.3
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: A concurrency framework for Ruby.