celluloid-supervision 0.20.0.pre2 → 0.20.0.pre4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0e6c43f5246d66e3f01af4f49ab4b8cb369b2a0
|
|
4
|
+
data.tar.gz: 2a42933006fca99bb2496044958fe9adfc3aba0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3087bc856c7ae83ad4a6fa9b0b1bcdd86f3382171877b83030659d6dd221544117dc33b9eb39d3775131ab6b78e0b96f915a6900df25ea7e49a58054069c5486
|
|
7
|
+
data.tar.gz: c3b3b788967d055e93dc4a1f88fba65f9bd1b3188e188cbbf90068ec612a9231086f3c9ff1508e9754a94773ae03c35eb651836a6c8d63d70358e22c14128372
|
data/.travis.yml
CHANGED
|
@@ -8,17 +8,21 @@ rvm:
|
|
|
8
8
|
- jruby-head
|
|
9
9
|
- rbx-2
|
|
10
10
|
|
|
11
|
+
# TODO: Put these back:
|
|
12
|
+
# * CELLULOID_TASK_CLASS=Fibered
|
|
13
|
+
# * CELLULOID_TASK_CLASS=Threaded
|
|
14
|
+
# For right now the imporant thing is to test BACKPORTED mode:
|
|
15
|
+
|
|
11
16
|
matrix:
|
|
12
17
|
allow_failures:
|
|
13
18
|
- rvm: rbx-2
|
|
14
19
|
- rvm: ruby-head
|
|
15
20
|
- rvm: jruby-head
|
|
16
|
-
- env:
|
|
21
|
+
- env: CELLULOID_BACKPORTED=true
|
|
17
22
|
|
|
18
23
|
env:
|
|
19
24
|
matrix:
|
|
20
|
-
-
|
|
21
|
-
- CELLULOID_TASK_CLASS=Threaded
|
|
25
|
+
- CELLULOID_BACKPORTED=true
|
|
22
26
|
- CELLULOID_BACKPORTED=false
|
|
23
27
|
|
|
24
28
|
notifications:
|
data/Gemfile
CHANGED
|
@@ -36,10 +36,10 @@ module Celluloid
|
|
|
36
36
|
true
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
def options(
|
|
40
|
-
configuration =
|
|
39
|
+
def options(config={}, options={})
|
|
40
|
+
configuration = config.merge(options)
|
|
41
41
|
return configuration if configuration.is_a? Configuration
|
|
42
|
-
configuration[:
|
|
42
|
+
configuration[:configuration] = Container::Behavior.configure(configuration)
|
|
43
43
|
valid?(configuration, true)
|
|
44
44
|
configuration
|
|
45
45
|
end
|
|
@@ -68,8 +68,8 @@ module Celluloid
|
|
|
68
68
|
@supervisor ||= :"Celluloid.services"
|
|
69
69
|
|
|
70
70
|
if options.is_a? Hash
|
|
71
|
-
options[:
|
|
72
|
-
@configuration = instance_eval(&options[:
|
|
71
|
+
options[:configuration] ||= Container::Behavior.configure(options)
|
|
72
|
+
@configuration = instance_eval(&options[:configuration])
|
|
73
73
|
@supervisor ||= @configuration.fetch(:supervisor, :"Celluloid.services")
|
|
74
74
|
end
|
|
75
75
|
|
|
@@ -5,11 +5,11 @@ module Celluloid
|
|
|
5
5
|
class << self
|
|
6
6
|
def define
|
|
7
7
|
super({
|
|
8
|
-
:
|
|
9
|
-
:
|
|
10
|
-
:
|
|
11
|
-
:
|
|
12
|
-
:
|
|
8
|
+
supervise: Celluloid.actor_system.root_configuration,
|
|
9
|
+
as: :root_supervisor,
|
|
10
|
+
accessors: [:root],
|
|
11
|
+
branch: :root,
|
|
12
|
+
type: self,
|
|
13
13
|
})
|
|
14
14
|
end
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: celluloid-supervision
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.0.
|
|
4
|
+
version: 0.20.0.pre4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- digitalextremist //
|
|
8
8
|
- Tony Arcieri
|
|
9
9
|
- Tim Carey-Smith
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-04
|
|
13
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: Supervisors, Supervision Groups, and Supervision Trees for Celluloid.
|
|
16
16
|
email:
|
|
@@ -20,14 +20,14 @@ executables: []
|
|
|
20
20
|
extensions: []
|
|
21
21
|
extra_rdoc_files: []
|
|
22
22
|
files:
|
|
23
|
-
- .coveralls.yml
|
|
24
|
-
- .env-ci
|
|
25
|
-
- .env-dev
|
|
26
|
-
- .gitignore
|
|
27
|
-
- .gitmodules
|
|
28
|
-
- .rspec
|
|
29
|
-
- .rubocop.yml
|
|
30
|
-
- .travis.yml
|
|
23
|
+
- ".coveralls.yml"
|
|
24
|
+
- ".env-ci"
|
|
25
|
+
- ".env-dev"
|
|
26
|
+
- ".gitignore"
|
|
27
|
+
- ".gitmodules"
|
|
28
|
+
- ".rspec"
|
|
29
|
+
- ".rubocop.yml"
|
|
30
|
+
- ".travis.yml"
|
|
31
31
|
- CHANGES.md
|
|
32
32
|
- CONDUCT.md
|
|
33
33
|
- Gemfile
|
|
@@ -58,24 +58,24 @@ homepage: https://github.com/celluloid/
|
|
|
58
58
|
licenses:
|
|
59
59
|
- MIT
|
|
60
60
|
metadata: {}
|
|
61
|
-
post_install_message:
|
|
61
|
+
post_install_message:
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
64
64
|
- lib
|
|
65
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: 1.9.2
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- -
|
|
72
|
+
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: 1.3.6
|
|
75
75
|
requirements: []
|
|
76
|
-
rubyforge_project:
|
|
76
|
+
rubyforge_project:
|
|
77
77
|
rubygems_version: 2.4.6
|
|
78
|
-
signing_key:
|
|
78
|
+
signing_key:
|
|
79
79
|
specification_version: 4
|
|
80
80
|
summary: Celluloid Supervision
|
|
81
81
|
test_files: []
|