async 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dadcd13ad00e72d59192671624f51ed593909778
4
- data.tar.gz: 21422d169eec222e93b245076d734b37dd1688b9
2
+ SHA256:
3
+ metadata.gz: d73f7b5d5807b912d7983ea4c4242097110bfb969887516d20b4287265a33b7e
4
+ data.tar.gz: 48c55839468556a1e263389af03b507b5b294e6c756c72d886420352dba5c6c8
5
5
  SHA512:
6
- metadata.gz: 7433b30a66ed6ecee4d8e031a8e798f6dbf62bf7d0aac9c2a562305671be913a1b8baa445124fc42bdf6462d78d6b835e36d457b5d97a4d5cd6b85f7f495c621
7
- data.tar.gz: 28d67d1bbb0737b49e28253053ad4ee2aea54e3de7395f00308b98d3b04229296c4e72266e2821fb1c4ae2b3f8b5d0bf76a153326469e4634a8fb3adff30a88c
6
+ metadata.gz: d6cea2bba74670b408a1e11921073b58aa7918c037c991c14512c0bd819343ef4853d7036db9c6f65a05a02c7c6a73757b636a5b6bc4cece7c530b82d8244c3f
7
+ data.tar.gz: c74f6fdaf91db6544161227b9cd3c1dca14a7addbd5889b2c8df399dea4b21752109a1754b4c62c858caf8b2942862e927587c154b23c7d0c994697546a7a3d4
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ![Async](logo.png)
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.
@@ -67,7 +67,7 @@ module Async
67
67
 
68
68
  @condition = nil
69
69
 
70
- @fiber = Fiber.new do |args|
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
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Async
22
- VERSION = "1.2.0"
22
+ VERSION = "1.2.1"
23
23
  end
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="100%" height="100%" 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;">
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.0
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: 2017-08-30 00:00:00.000000000 Z
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.6.12
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.