async 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -1
- data/lib/async/task.rb +2 -2
- data/lib/async/version.rb +1 -1
- data/logo.svg +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d73f7b5d5807b912d7983ea4c4242097110bfb969887516d20b4287265a33b7e
|
4
|
+
data.tar.gz: 48c55839468556a1e263389af03b507b5b294e6c756c72d886420352dba5c6c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6cea2bba74670b408a1e11921073b58aa7918c037c991c14512c0bd819343ef4853d7036db9c6f65a05a02c7c6a73757b636a5b6bc4cece7c530b82d8244c3f
|
7
|
+
data.tar.gz: c74f6fdaf91db6544161227b9cd3c1dca14a7addbd5889b2c8df399dea4b21752109a1754b4c62c858caf8b2942862e927587c154b23c7d0c994697546a7a3d4
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ![Async](logo.
|
1
|
+
# ![Async](logo.svg)
|
2
2
|
|
3
3
|
Async is a composable asynchronous I/O framework for Ruby based on [nio4r] and [timers].
|
4
4
|
|
@@ -139,6 +139,8 @@ dropped.
|
|
139
139
|
## See Also
|
140
140
|
|
141
141
|
- [async-io](https://github.com/socketry/async-io) — Asynchronous networking and sockets.
|
142
|
+
- [async-process](https://github.com/socketry/async-process) — Asynchronous process spawning/waiting.
|
143
|
+
- [async-websocket](https://github.com/socketry/async-websocket) — Asynchronous client and server websockets.
|
142
144
|
- [async-dns](https://github.com/socketry/async-dns) — Asynchronous DNS resolver and server.
|
143
145
|
- [async-rspec](https://github.com/socketry/async-rspec) — Shared contexts for running async specs.
|
144
146
|
- [rubydns](https://github.com/ioquatix/rubydns) — A easy to use Ruby DNS server.
|
data/lib/async/task.rb
CHANGED
@@ -67,7 +67,7 @@ module Async
|
|
67
67
|
|
68
68
|
@condition = nil
|
69
69
|
|
70
|
-
@fiber = Fiber.new do
|
70
|
+
@fiber = Fiber.new do |*args|
|
71
71
|
set!
|
72
72
|
|
73
73
|
begin
|
@@ -113,7 +113,7 @@ module Async
|
|
113
113
|
def run(*args)
|
114
114
|
if @status == :initialized
|
115
115
|
@status = :running
|
116
|
-
@fiber.resume(args)
|
116
|
+
@fiber.resume(*args)
|
117
117
|
else
|
118
118
|
raise RuntimeError, "Task already running!"
|
119
119
|
end
|
data/lib/async/version.rb
CHANGED
data/logo.svg
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
2
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
-
<svg width="
|
3
|
+
<svg width="300pt" viewBox="0 0 325 370" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
|
4
4
|
<g transform="matrix(1,0,0,1,-0.25,0)">
|
5
5
|
<g id="Layer_6" transform="matrix(1,0,0,1,8.35,0)">
|
6
6
|
<path d="M179.1,84.1L154.2,111.3L168.5,111.3L179.1,84.1Z" style="fill-rule:nonzero;"/>
|
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.2.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nio4r
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.7.2
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Async is an asynchronous I/O framework based on nio4r.
|