async 2.1.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/scheduler.rb +5 -5
- data/lib/async/version.rb +1 -1
- data/readme.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74fa09c162a2702195d38adcb921dec7c9b53563a81b5d7cc117bf3a3f1402f3
|
4
|
+
data.tar.gz: 37e7fae58da9e1a0ca928a1c9f34b376da95b8cdfcb89949fb9200dfb7253351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b17a23c9c0d7affeb9c75d8c1058fb0c25d2c8ebac6568ebf5834885f6379dc799c3bc9f92699441cc8cfd387cadbce993c52ca5b576fcedc0e1d68a4fd9c21
|
7
|
+
data.tar.gz: 80a3a72ab5e9c49af4018a34564c7a7d72314dd9c640f306a4c7eab8b99fa9682a55135eb0b67614c370a4526908832b91cf94436089f4b48670a12d8b4a2896
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/async/scheduler.rb
CHANGED
@@ -160,13 +160,13 @@ module Async
|
|
160
160
|
timer&.cancel
|
161
161
|
end
|
162
162
|
|
163
|
-
if IO.
|
164
|
-
def io_read(io, buffer, length)
|
165
|
-
@selector.io_read(Fiber.current, io, buffer, length)
|
163
|
+
if ::IO::Event::Support.buffer?
|
164
|
+
def io_read(io, buffer, length, offset = 0)
|
165
|
+
@selector.io_read(Fiber.current, io, buffer, length, offset)
|
166
166
|
end
|
167
167
|
|
168
|
-
def io_write(io, buffer, length)
|
169
|
-
@selector.io_write(Fiber.current, io, buffer, length)
|
168
|
+
def io_write(io, buffer, length, offset = 0)
|
169
|
+
@selector.io_write(Fiber.current, io, buffer, length, offset)
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
data/lib/async/version.rb
CHANGED
data/readme.md
CHANGED
@@ -40,7 +40,7 @@ We welcome contributions to this project.
|
|
40
40
|
|
41
41
|
- [ciri](https://github.com/ciri-ethereum/ciri) — An Ethereum implementation written in Ruby.
|
42
42
|
- [falcon](https://github.com/socketry/falcon) — A rack compatible server built on top of `async-http`.
|
43
|
-
- [rubydns](https://github.com/ioquatix/rubydns) —
|
43
|
+
- [rubydns](https://github.com/ioquatix/rubydns) — An easy to use Ruby DNS server.
|
44
44
|
- [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot) — A client for making slack bots.
|
45
45
|
|
46
46
|
## License
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -54,7 +54,7 @@ cert_chain:
|
|
54
54
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
55
55
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
56
56
|
-----END CERTIFICATE-----
|
57
|
-
date: 2022-
|
57
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
58
58
|
dependencies:
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: console
|
@@ -76,14 +76,14 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - "~>"
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 1.
|
79
|
+
version: 1.1.0
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 1.
|
86
|
+
version: 1.1.0
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: timers
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|