async 1.24.1 → 1.24.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +2 -0
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/benchmark/async_vs_lightio.rb +1 -0
- data/benchmark/fiber_count.rb +1 -0
- data/benchmark/rubies/benchmark.rb +1 -0
- data/benchmark/thread_count.rb +1 -0
- data/benchmark/thread_vs_fiber.rb +1 -0
- data/examples/async_method.rb +1 -0
- data/examples/callback/loop.rb +1 -0
- data/examples/capture/capture.rb +1 -0
- data/examples/fibers.rb +1 -1
- data/examples/queue/producer.rb +1 -0
- data/examples/sleep_sort.rb +1 -0
- data/examples/stop/condition.rb +1 -0
- data/examples/stop/sleep.rb +1 -0
- data/lib/async.rb +2 -0
- data/lib/async/barrier.rb +2 -0
- data/lib/async/clock.rb +2 -0
- data/lib/async/condition.rb +2 -0
- data/lib/async/debug/monitor.rb +2 -0
- data/lib/async/debug/selector.rb +2 -0
- data/lib/async/logger.rb +2 -0
- data/lib/async/node.rb +2 -0
- data/lib/async/notification.rb +2 -0
- data/lib/async/queue.rb +2 -0
- data/lib/async/reactor.rb +2 -0
- data/lib/async/semaphore.rb +2 -0
- data/lib/async/task.rb +2 -0
- data/lib/async/version.rb +3 -1
- data/lib/async/wrapper.rb +2 -0
- data/lib/kernel/async.rb +2 -0
- data/lib/kernel/sync.rb +2 -0
- data/spec/async/barrier_spec.rb +2 -0
- data/spec/async/chainable_async_examples.rb +1 -0
- data/spec/async/clock_spec.rb +2 -0
- data/spec/async/condition_examples.rb +2 -0
- data/spec/async/condition_spec.rb +2 -0
- data/spec/async/logger_spec.rb +2 -0
- data/spec/async/node_spec.rb +2 -0
- data/spec/async/notification_spec.rb +2 -0
- data/spec/async/performance_spec.rb +2 -0
- data/spec/async/queue_spec.rb +2 -0
- data/spec/async/reactor/nested_spec.rb +2 -0
- data/spec/async/reactor_spec.rb +2 -0
- data/spec/async/semaphore_spec.rb +2 -0
- data/spec/async/task_spec.rb +2 -0
- data/spec/async/wrapper_spec.rb +2 -0
- data/spec/async_spec.rb +2 -0
- data/spec/enumerator_spec.rb +2 -0
- data/spec/kernel/async_spec.rb +2 -0
- data/spec/kernel/sync_spec.rb +2 -0
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1abae91f943de66c2b76625d034a0b0a16beefbfa1b5d02f920e3b8fe4ee56b0
|
4
|
+
data.tar.gz: 62947ba422281ad590acba11610f4216e9b79c51bcad87407e4aa11fd602e218
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de5796a4402ea91aa31dfb5fa24f634cc86855687650d9faa1b088696325d5c807837d981e063dd0b2e5ff1111d763153a9477bc717411afe402217d9ac3cc0e
|
7
|
+
data.tar.gz: cfeca12657ffb34219edd03ce2f1fd335c45fdbd3a661caca5db6972649304b8179850cf2fbe6ce23efa5f8abfd730259cc80dcfb0a4f29c35bd334db0be23a9
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@ Async is a composable asynchronous I/O framework for Ruby based on [nio4r] and [
|
|
5
5
|
[timers]: https://github.com/socketry/timers
|
6
6
|
[nio4r]: https://github.com/socketry/nio4r
|
7
7
|
|
8
|
-
[![Build Status](https://
|
8
|
+
[![Build Status](https://travis-ci.com/socketry/async.svg?branch=master)](https://travis-ci.com/socketry/async)
|
9
9
|
[![Code Climate](https://codeclimate.com/github/socketry/async.svg)](https://codeclimate.com/github/socketry/async)
|
10
10
|
[![Coverage Status](https://coveralls.io/repos/socketry/async/badge.svg)](https://coveralls.io/r/socketry/async)
|
11
11
|
[![Gitter](https://badges.gitter.im/join.svg)](https://gitter.im/socketry/async)
|
@@ -355,7 +355,7 @@ A `parent:` in this context is anything that responds to `#async` in the same wa
|
|
355
355
|
|
356
356
|
### Projects Using Async
|
357
357
|
|
358
|
-
- [ciri](https://github.com/ciri-ethereum/ciri)
|
358
|
+
- [ciri](https://github.com/ciri-ethereum/ciri) — An Ethereum implementation written in Ruby.
|
359
359
|
- [falcon](https://github.com/socketry/falcon) — A rack compatible server built on top of `async-http`.
|
360
360
|
- [rubydns](https://github.com/ioquatix/rubydns) — A easy to use Ruby DNS server.
|
361
361
|
- [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot) — A client for making slack bots.
|
data/Rakefile
CHANGED
data/benchmark/fiber_count.rb
CHANGED
data/benchmark/thread_count.rb
CHANGED
data/examples/async_method.rb
CHANGED
data/examples/callback/loop.rb
CHANGED
data/examples/capture/capture.rb
CHANGED
data/examples/fibers.rb
CHANGED
data/examples/queue/producer.rb
CHANGED
data/examples/sleep_sort.rb
CHANGED
data/examples/stop/condition.rb
CHANGED
data/examples/stop/sleep.rb
CHANGED
data/lib/async.rb
CHANGED
data/lib/async/barrier.rb
CHANGED
data/lib/async/clock.rb
CHANGED
data/lib/async/condition.rb
CHANGED
data/lib/async/debug/monitor.rb
CHANGED
data/lib/async/debug/selector.rb
CHANGED
data/lib/async/logger.rb
CHANGED
data/lib/async/node.rb
CHANGED
data/lib/async/notification.rb
CHANGED
data/lib/async/queue.rb
CHANGED
data/lib/async/reactor.rb
CHANGED
data/lib/async/semaphore.rb
CHANGED
data/lib/async/task.rb
CHANGED
data/lib/async/version.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright, 2017, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
2
4
|
#
|
3
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -19,5 +21,5 @@
|
|
19
21
|
# THE SOFTWARE.
|
20
22
|
|
21
23
|
module Async
|
22
|
-
VERSION = "1.24.
|
24
|
+
VERSION = "1.24.2"
|
23
25
|
end
|
data/lib/async/wrapper.rb
CHANGED
data/lib/kernel/async.rb
CHANGED
data/lib/kernel/sync.rb
CHANGED
data/spec/async/barrier_spec.rb
CHANGED
data/spec/async/clock_spec.rb
CHANGED
data/spec/async/logger_spec.rb
CHANGED
data/spec/async/node_spec.rb
CHANGED
data/spec/async/queue_spec.rb
CHANGED
data/spec/async/reactor_spec.rb
CHANGED
data/spec/async/task_spec.rb
CHANGED
data/spec/async/wrapper_spec.rb
CHANGED
data/spec/async_spec.rb
CHANGED
data/spec/enumerator_spec.rb
CHANGED
data/spec/kernel/async_spec.rb
CHANGED
data/spec/kernel/sync_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
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.24.
|
4
|
+
version: 1.24.2
|
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: 2020-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nio4r
|