async-container 0.8.1 → 0.9.0

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: 75087d509178518dc7ec8da7edf7420311f298907ffaf997a4895c5ab584b6da
4
- data.tar.gz: a1c449cea506ace5afdc7ea81bfb7c7b1a804389dc7e36d77ea3b69f999461e6
3
+ metadata.gz: 6c834b2b589e3335d182640afbda3d6a1011745158bd1d4a68ec7e06172c8f88
4
+ data.tar.gz: 6fc1fd4a20dd7ebdcdc5b1350098424ea6f4fe894eca3718764c5fa920b0e66e
5
5
  SHA512:
6
- metadata.gz: fb8a261648ae40a4799533509308f9d118f86dfe5478e660b4863ff26991455d2345f153ab88c375bcdfc2db7c2eb5a03989745c884745d7147e88b4b801e338
7
- data.tar.gz: a746d675bf3477d0f854055fedf13c76484630e7b1a374ff836e9bfc3e52b9ba2a34db3c4919d78f5b57b8c241bfe7ea536429528f5a30701598cdd8fe404e9d
6
+ metadata.gz: 9c09af5a07de3a82ca149d8a30e610c430b8a524099a944e36b67177ce8ac8616207cb5897f57602532b358d9b501fe6544226d6a5b92ef7b425bb816c5bdf3a
7
+ data.tar.gz: d3c6f089ead8560e81e5c53cd9d25c89d50da538430642424fcde1620f38fb9551b1aebc8147357d02dee5422e47d13ade0626faea66cfa653f6f5dfba56fbdd
@@ -2,4 +2,5 @@ root = true
2
2
 
3
3
  [*]
4
4
  indent_style = tab
5
- indent_size = 4
5
+ indent_size = 2
6
+
@@ -51,6 +51,10 @@ module Async
51
51
  @finished = false
52
52
  end
53
53
 
54
+ def self.multiprocess?
55
+ true
56
+ end
57
+
54
58
  def wait
55
59
  return if @finished
56
60
 
@@ -60,6 +60,10 @@ module Async
60
60
  @finished = nil
61
61
  end
62
62
 
63
+ def self.multiprocess?
64
+ false
65
+ end
66
+
63
67
  def wait
64
68
  return if @finished
65
69
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module Container
23
- VERSION = "0.8.1"
23
+ VERSION = "0.9.0"
24
24
  end
25
25
  end
@@ -33,4 +33,8 @@ RSpec.describe Async::Container::Forked do
33
33
 
34
34
  container.wait
35
35
  end
36
+
37
+ it "should be multiprocess" do
38
+ expect(described_class).to be_multiprocess
39
+ end
36
40
  end
@@ -28,4 +28,8 @@ RSpec.describe Async::Container::Threaded do
28
28
 
29
29
  container.stop
30
30
  end
31
+
32
+ it "should not be multiprocess" do
33
+ expect(described_class).to_not be_multiprocess
34
+ end
31
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -142,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubyforge_project:
146
- rubygems_version: 2.7.7
145
+ rubygems_version: 3.0.1
147
146
  signing_key:
148
147
  specification_version: 4
149
148
  summary: Async is an asynchronous I/O framework based on nio4r.