celluloid 0.17.3 → 0.17.4
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 +5 -5
- data/CHANGES.md +8 -0
- data/README.md +5 -0
- data/lib/celluloid/group.rb +6 -0
- data/lib/celluloid/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7d771f8b4e3806d69a02a04d77a5cdd5803cf45601fe7db456ae720a0f241553
|
4
|
+
data.tar.gz: f1b6038c7e3d9438fea74d7665d1e562f747b13a4e0e1bb58ada9128c4d20738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
[](https://codeclimate.com/github/celluloid/celluloid)
|
6
6
|
[](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"_
|
data/lib/celluloid/group.rb
CHANGED
@@ -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
|
data/lib/celluloid/version.rb
CHANGED
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.
|
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:
|
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.
|
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:
|