async 2.1.0 → 2.2.0
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: e757a8f806a7c54fc04c17385029c6f6804ca6db4d78ae9a090933b37ce7ba3c
|
4
|
+
data.tar.gz: 7baa64c5e0ce26f31a9ca6e487a139781879e98c4feaf55353484eed906e9e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d063676cf2926c9bb56daec3bef63b47f87f44ba49420d1206efc57a5432beeb21f6aead24c6508f105a55e485f38e6c9f161e3757633a2848840b1804c20f1
|
7
|
+
data.tar.gz: f90fb391a58f0ad5de8dfcac70fe3c24b4a4dc3172157b4ff8467455fda81dd0321f82a34a4dda6bb630a18ae945b70cf33416a19497c8b377d5de428b8c9459
|
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.
|
4
|
+
version: 2.2.0
|
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
|