celluloid 0.17.3 → 0.17.4

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
- SHA1:
3
- metadata.gz: eff22fc2c5057bb33885344388462730338e2b5c
4
- data.tar.gz: 45dab801f10eb84efedd3734f60a7e600bf77618
2
+ SHA256:
3
+ metadata.gz: 7d771f8b4e3806d69a02a04d77a5cdd5803cf45601fe7db456ae720a0f241553
4
+ data.tar.gz: f1b6038c7e3d9438fea74d7665d1e562f747b13a4e0e1bb58ada9128c4d20738
5
5
  SHA512:
6
- metadata.gz: 8d99c5e87c151a511a52c7b159cbd2b07ec2d898027aba8573260db4ead19381bfa629bff6ee8b3cc5a2537bef8cab3f626c42798d68717a35a7f8d3e8644767
7
- data.tar.gz: 03231c9ab4686ef1812ef88a7a44e51029db1c30743622e5dbbbc38eb6cb7db1f917942df887d57006e772a8936a8ae1cbe0f6fc8e29603f2dc979a97b584d9f
6
+ metadata.gz: 51c7670a71727a603bd61d22ed354d2236757f4a8dcf071f337d9bae16f230ebc0cdf1cc37d31a475c635462875e515744993d9f159560ab175dd64ae6663010
7
+ data.tar.gz: b726297f6e11cd5b5fe275e7347b4fd85d708a45838d25e5460ace7bd90bf40a83ffd022d48e1243f0a753b008450091bc90171cb8157418b4e2711d023f9a1e
data/CHANGES.md CHANGED
@@ -1,3 +1,10 @@
1
+ 0.17.4 (2018-12-20)
2
+ -----
3
+ * [#773](https://github.com/celluloid/celluloid/pull/773)
4
+ Fix the errant 'Couldn't cleanly terminate all actors in 10 seconds!' message
5
+ after forking. Fixes celluloid/celluloid#696.
6
+ ([@digitalextremist])
7
+
1
8
  0.17.3 (2016-01-18)
2
9
  -----
3
10
  * [#701](https://github.com/celluloid/celluloid/pull/701)
@@ -390,5 +397,6 @@
390
397
  -----
391
398
  * Initial release
392
399
 
400
+ [@digitalextremist]: https://github.com/digitalextremist
393
401
  [@ioquatix]: https://github.com/ioquatix
394
402
  [@TiagoCardoso1983]: https://github.com/TiagoCardoso1983
data/README.md CHANGED
@@ -5,6 +5,11 @@
5
5
  [![Code Climate](https://codeclimate.com/github/celluloid/celluloid.svg)](https://codeclimate.com/github/celluloid/celluloid)
6
6
  [![Coverage Status](https://coveralls.io/repos/celluloid/celluloid/badge.svg?branch=master)](https://coveralls.io/r/celluloid/celluloid)
7
7
 
8
+ _NOTE: This is the 0.17.x **stable** branch of Celluloid. For the 0.18.x
9
+ **development** branch, please see:_
10
+
11
+ https://github.com/celluloid/celluloid
12
+
8
13
  > "I thought of objects being like biological cells and/or individual
9
14
  > computers on a network, only able to communicate with messages"
10
15
  > _--Alan Kay, creator of Smalltalk, on the meaning of "object oriented programming"_
@@ -3,6 +3,7 @@ module Celluloid
3
3
  attr_accessor :group
4
4
 
5
5
  def initialize
6
+ @pid = $$
6
7
  @mutex = Mutex.new
7
8
  @group = []
8
9
  @running = true
@@ -25,7 +26,12 @@ module Celluloid
25
26
  to_a.each { |thread| yield thread }
26
27
  end
27
28
 
29
+ def forked?
30
+ @pid != $$
31
+ end
32
+
28
33
  def to_a
34
+ return [] if forked?
29
35
  res = nil
30
36
  @mutex.synchronize { res = @group.dup }
31
37
  res
@@ -1,3 +1,3 @@
1
1
  module Celluloid
2
- VERSION = "0.17.3"
2
+ VERSION = "0.17.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celluloid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-18 00:00:00.000000000 Z
12
+ date: 2018-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -408,9 +408,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
408
408
  version: 1.3.6
409
409
  requirements: []
410
410
  rubyforge_project:
411
- rubygems_version: 2.5.1
411
+ rubygems_version: 2.7.4
412
412
  signing_key:
413
413
  specification_version: 4
414
414
  summary: Actor-based concurrent object framework for Ruby
415
415
  test_files: []
416
- has_rdoc: