async 1.17.0 → 1.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1465ddfc74436e5ec289b69f97b4bb5993ef7bd6ceae9e55d79b8b2f78051829
4
- data.tar.gz: 1dc342eed7d35d47f0a3ada58b03280a9702fd7307d604d33c3d97f976d398ed
3
+ metadata.gz: 9513c847ed714794e7792f205c2aa3d6ece0712f39b426246bb147f60ad21b20
4
+ data.tar.gz: a1382d2118fff244e3bcaa06b1bab8a2284d395304b0e85ef7a8a32c171c9915
5
5
  SHA512:
6
- metadata.gz: bfb65f1ad102472c48e32702294e913285681c0bb3f661571ea00a83bf0a52e2e062deee33ffb18e359199ae287e4022c731032a48125815c7815d6c485dc44f
7
- data.tar.gz: 7631a181a45af7ca658c4d8a65b3f1d029fc5ce7fba6c730680ca2fb0c7a462a8477f16d614b261b199fa1e7d2925ece05e4f5d94de45074c11c4789a8825aca
6
+ metadata.gz: 853b55599bc4c0923fdb49534f02e474ee7fa048bc29ee66b3d1fa57d7dc1d902a53b859bf1337b71b2f94fe85fa5b3e6462633f5af210178210221d3444a14d
7
+ data.tar.gz: '07092c2764ebdbe0fb106cefffd1bbc6e33710d17d899f64626df60601d488ca696ea6522b62740ffbd5fdd46d8f72bbca98303d041ea2ce1076be74e477de03'
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_runtime_dependency "nio4r", "~> 2.3"
26
26
  spec.add_runtime_dependency "timers", "~> 4.1"
27
- spec.add_runtime_dependency "event", "~> 1.3"
27
+ spec.add_runtime_dependency "console", "~> 1.0"
28
28
 
29
29
  spec.add_development_dependency "async-rspec", "~> 1.1"
30
30
 
@@ -18,7 +18,7 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
- require 'event/console'
21
+ require 'console'
22
22
  require_relative 'task'
23
23
 
24
24
  module Async
@@ -26,6 +26,6 @@ module Async
26
26
  def self.logger
27
27
  if task = Task.current?
28
28
  task.logger
29
- end || Event::Console.logger
29
+ end || Console.logger
30
30
  end
31
31
  end
@@ -72,7 +72,7 @@ module Async
72
72
  end
73
73
 
74
74
  def logger
75
- @logger ||= Event::Console.logger
75
+ @logger ||= Console.logger
76
76
  end
77
77
 
78
78
  def to_s
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Async
22
- VERSION = "1.17.0"
22
+ VERSION = "1.17.1"
23
23
  end
@@ -20,14 +20,14 @@
20
20
 
21
21
  require 'async'
22
22
  require 'async/logger'
23
- require 'event/capture'
23
+ require 'console/capture'
24
24
 
25
25
  RSpec.describe 'Async.logger' do
26
26
  let(:name) {"nested"}
27
27
  let(:message) {"Talk is cheap. Show me the code."}
28
28
 
29
- let(:capture) {Event::Capture.new}
30
- let(:logger) {Event::Logger.new(capture, name: name)}
29
+ let(:capture) {Console::Capture.new}
30
+ let(:logger) {Console::Logger.new(capture, name: name)}
31
31
 
32
32
  it "can use nested logger" do
33
33
  Async(logger: logger) do |task|
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.17.0
4
+ version: 1.17.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: 2019-03-22 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nio4r
@@ -39,19 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: event
42
+ name: console
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.3'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.3'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: async-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []
202
- rubygems_version: 3.0.3
202
+ rubygems_version: 3.0.2
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Async is an asynchronous I/O framework based on nio4r.