celluloid-supervision 0.20.1.1 → 0.20.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env-ci +1 -1
- data/.env-dev +1 -1
- data/.travis.yml +18 -10
- data/CHANGES.md +6 -1
- data/lib/celluloid/supervision/configuration.rb +1 -1
- data/lib/celluloid/supervision/container/behavior.rb +1 -1
- data/lib/celluloid/supervision/deprecate/supervise.rb +1 -1
- data/lib/celluloid/supervision/supervise.rb +1 -1
- data/lib/celluloid/supervision/validation.rb +2 -1
- data/lib/celluloid/supervision/version.rb +1 -1
- metadata +50 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b62e7280573e7bb3ed9547d8dd9e818c7c594ef
|
4
|
+
data.tar.gz: e102a097ca6a7c4edbd05e6af69651475c7e13fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f8ce26828005e94bf5ae9153cf284d112bb87fc5ce851f3a8ecb3771103f0a3716ec4baa09689909b7915075f7124d2c6844ba9a56274107db0a2cd3f45ed18
|
7
|
+
data.tar.gz: 68b2a023d41b3210d3fcca0652b7e5160ac2f9b7926de7f720bc22ad7ef3163f326c4ccfb87c63ff3ea66ba518fb63ed507f47dbe2d97f3d34d9431594752ad0
|
data/.env-ci
CHANGED
data/.env-dev
CHANGED
data/.travis.yml
CHANGED
@@ -1,33 +1,41 @@
|
|
1
1
|
script: rake ci
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
|
-
- 2
|
5
|
-
- 2.2.2
|
4
|
+
- rbx-2
|
6
5
|
- jruby
|
6
|
+
- 2.2.2
|
7
|
+
- 2.2.0
|
8
|
+
- 2.1.4
|
9
|
+
- 2.0.0
|
10
|
+
- 1.9.3
|
7
11
|
- ruby-head
|
8
12
|
- jruby-head
|
9
|
-
- rbx-2
|
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
13
|
|
16
14
|
matrix:
|
17
15
|
fast_finish: true
|
18
16
|
allow_failures:
|
19
|
-
- rvm:
|
17
|
+
- rvm: 1.9.3
|
20
18
|
- rvm: ruby-head
|
21
19
|
- rvm: jruby-head
|
22
20
|
- env: CELLULOID_BACKPORTED=true
|
21
|
+
- env: CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded
|
22
|
+
- env: CELLULOID_BACKPORTED=true CELLULOID_TASK_CLASS=Threaded
|
23
23
|
|
24
24
|
env:
|
25
|
+
global:
|
26
|
+
- NUMBER_OF_PROCESSORS=4 CELLULOID_CONFIG_FILE=.env-ci
|
25
27
|
matrix:
|
26
28
|
- CELLULOID_BACKPORTED=true
|
27
29
|
- CELLULOID_BACKPORTED=false
|
30
|
+
- CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded
|
31
|
+
- CELLULOID_BACKPORTED=true CELLULOID_TASK_CLASS=Threaded
|
28
32
|
|
29
33
|
notifications:
|
30
34
|
irc: "irc.freenode.org#celluloid"
|
31
35
|
|
36
|
+
before_install:
|
37
|
+
# Only use 1 job until Travis fixes the rbx --jobs issue.
|
38
|
+
- if [ "$TRAVIS_RUBY_VERSION" == "rbx-2" ] ; then export BUNDLE_JOBS=1 ; else export BUNDLE_JOBS=4; fi
|
39
|
+
|
32
40
|
sudo: false
|
33
|
-
install: bundle install --without=development
|
41
|
+
install: bundle install --without=development
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
0.20.5 (2015-09-30)
|
2
|
+
-----
|
3
|
+
* Revamped test suite, using shared RSpec configuration layer provided by Celluloid itself.
|
4
|
+
* Updated gem dependencies provided by Celluloid::Sync... extraneous gems removed, or marked as development dependencies.
|
5
|
+
|
1
6
|
0.20.1 (2015-08-06)
|
2
7
|
-----
|
3
8
|
* Fixed arity checking
|
@@ -9,4 +14,4 @@
|
|
9
14
|
* Extracted from Celluloid
|
10
15
|
* Re-added Supervision Trees
|
11
16
|
* Added Configuration object
|
12
|
-
* Added injections and behaviors
|
17
|
+
* Added injections and behaviors
|
@@ -29,7 +29,7 @@ module Celluloid
|
|
29
29
|
def parameter(identifier, options)
|
30
30
|
found = nil
|
31
31
|
p = Configuration.aliases.inject([identifier]) { |invoke, (a, i)| invoke << a if i == identifier; invoke }
|
32
|
-
case p.
|
32
|
+
case p.count { |parameter| found = parameter; options.key?(parameter) }
|
33
33
|
when 1
|
34
34
|
found
|
35
35
|
when 0
|
@@ -16,7 +16,7 @@ module Celluloid
|
|
16
16
|
unless configuration[args].is_a? Proc
|
17
17
|
__a = configuration[args] && configuration[args].count || 0
|
18
18
|
__arity = configuration[klass].allocate.method(:initialize).arity
|
19
|
-
unless (__arity < 0 && __a >= __arity.abs-1) || __a == __arity.abs
|
19
|
+
unless (__arity < 0 && __a >= __arity.abs - 1) || __a == __arity.abs
|
20
20
|
if fails
|
21
21
|
fail ArgumentError.new("#{__a} vs. #{__arity}")
|
22
22
|
else
|
@@ -27,6 +27,7 @@ module Celluloid
|
|
27
27
|
end
|
28
28
|
true
|
29
29
|
end
|
30
|
+
|
30
31
|
def options(config={}, options={})
|
31
32
|
configuration = config.merge(options)
|
32
33
|
return configuration if configuration.is_a? Configuration
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celluloid-supervision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donovan Keme
|
@@ -10,52 +10,57 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
|
-
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
18
23
|
prerelease: false
|
19
24
|
requirement: !ruby/object:Gem::Requirement
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
23
28
|
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: nenv
|
24
31
|
version_requirements: !ruby/object:Gem::Requirement
|
25
32
|
requirements:
|
26
33
|
- - ">="
|
27
34
|
- !ruby/object:Gem::Version
|
28
35
|
version: '0'
|
29
|
-
|
30
|
-
name: nenv
|
31
|
-
type: :runtime
|
36
|
+
type: :development
|
32
37
|
prerelease: false
|
33
38
|
requirement: !ruby/object:Gem::Requirement
|
34
39
|
requirements:
|
35
40
|
- - ">="
|
36
41
|
- !ruby/object:Gem::Version
|
37
42
|
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: dotenv
|
38
45
|
version_requirements: !ruby/object:Gem::Requirement
|
39
46
|
requirements:
|
40
47
|
- - ">="
|
41
48
|
- !ruby/object:Gem::Version
|
42
49
|
version: '0'
|
43
|
-
|
44
|
-
name: dotenv
|
45
|
-
type: :runtime
|
50
|
+
type: :development
|
46
51
|
prerelease: false
|
47
52
|
requirement: !ruby/object:Gem::Requirement
|
48
53
|
requirements:
|
49
54
|
- - ">="
|
50
55
|
- !ruby/object:Gem::Version
|
51
56
|
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: benchmark_suite
|
52
59
|
version_requirements: !ruby/object:Gem::Requirement
|
53
60
|
requirements:
|
54
61
|
- - ">="
|
55
62
|
- !ruby/object:Gem::Version
|
56
63
|
version: '0'
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: benchmark_suite
|
59
64
|
type: :development
|
60
65
|
prerelease: false
|
61
66
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,13 +68,13 @@ dependencies:
|
|
63
68
|
- - ">="
|
64
69
|
- !ruby/object:Gem::Version
|
65
70
|
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rubocop
|
66
73
|
version_requirements: !ruby/object:Gem::Requirement
|
67
74
|
requirements:
|
68
75
|
- - ">="
|
69
76
|
- !ruby/object:Gem::Version
|
70
77
|
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rubocop
|
73
78
|
type: :development
|
74
79
|
prerelease: false
|
75
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,13 +82,13 @@ dependencies:
|
|
77
82
|
- - ">="
|
78
83
|
- !ruby/object:Gem::Version
|
79
84
|
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: transpec
|
80
87
|
version_requirements: !ruby/object:Gem::Requirement
|
81
88
|
requirements:
|
82
89
|
- - ">="
|
83
90
|
- !ruby/object:Gem::Version
|
84
91
|
version: '0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: transpec
|
87
92
|
type: :development
|
88
93
|
prerelease: false
|
89
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,13 +96,13 @@ dependencies:
|
|
91
96
|
- - ">="
|
92
97
|
- !ruby/object:Gem::Version
|
93
98
|
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: pry
|
94
101
|
version_requirements: !ruby/object:Gem::Requirement
|
95
102
|
requirements:
|
96
103
|
- - ">="
|
97
104
|
- !ruby/object:Gem::Version
|
98
105
|
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: pry
|
101
106
|
type: :development
|
102
107
|
prerelease: false
|
103
108
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,13 +110,13 @@ dependencies:
|
|
105
110
|
- - ">="
|
106
111
|
- !ruby/object:Gem::Version
|
107
112
|
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rake
|
108
115
|
version_requirements: !ruby/object:Gem::Requirement
|
109
116
|
requirements:
|
110
117
|
- - ">="
|
111
118
|
- !ruby/object:Gem::Version
|
112
119
|
version: '0'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: rake
|
115
120
|
type: :development
|
116
121
|
prerelease: false
|
117
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,13 +124,13 @@ dependencies:
|
|
119
124
|
- - ">="
|
120
125
|
- !ruby/object:Gem::Version
|
121
126
|
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: rspec
|
122
129
|
version_requirements: !ruby/object:Gem::Requirement
|
123
130
|
requirements:
|
124
131
|
- - ">="
|
125
132
|
- !ruby/object:Gem::Version
|
126
133
|
version: '0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: rspec
|
129
134
|
type: :development
|
130
135
|
prerelease: false
|
131
136
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,13 +138,13 @@ dependencies:
|
|
133
138
|
- - ">="
|
134
139
|
- !ruby/object:Gem::Version
|
135
140
|
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: guard-rspec
|
136
143
|
version_requirements: !ruby/object:Gem::Requirement
|
137
144
|
requirements:
|
138
145
|
- - ">="
|
139
146
|
- !ruby/object:Gem::Version
|
140
147
|
version: '0'
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: guard-rspec
|
143
148
|
type: :development
|
144
149
|
prerelease: false
|
145
150
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,13 +152,13 @@ dependencies:
|
|
147
152
|
- - ">="
|
148
153
|
- !ruby/object:Gem::Version
|
149
154
|
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: rspec-retry
|
150
157
|
version_requirements: !ruby/object:Gem::Requirement
|
151
158
|
requirements:
|
152
159
|
- - ">="
|
153
160
|
- !ruby/object:Gem::Version
|
154
161
|
version: '0'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: coveralls
|
157
162
|
type: :development
|
158
163
|
prerelease: false
|
159
164
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,41 +166,41 @@ dependencies:
|
|
161
166
|
- - ">="
|
162
167
|
- !ruby/object:Gem::Version
|
163
168
|
version: '0'
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: coveralls
|
164
171
|
version_requirements: !ruby/object:Gem::Requirement
|
165
172
|
requirements:
|
166
173
|
- - ">="
|
167
174
|
- !ruby/object:Gem::Version
|
168
175
|
version: '0'
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: celluloid
|
171
176
|
type: :development
|
172
177
|
prerelease: false
|
173
178
|
requirement: !ruby/object:Gem::Requirement
|
174
179
|
requirements:
|
175
180
|
- - ">="
|
176
181
|
- !ruby/object:Gem::Version
|
177
|
-
version: 0
|
182
|
+
version: '0'
|
183
|
+
- !ruby/object:Gem::Dependency
|
184
|
+
name: celluloid
|
178
185
|
version_requirements: !ruby/object:Gem::Requirement
|
179
186
|
requirements:
|
180
187
|
- - ">="
|
181
188
|
- !ruby/object:Gem::Version
|
182
|
-
version: 0.17.
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: celluloid-essentials
|
189
|
+
version: 0.17.2
|
185
190
|
type: :development
|
186
191
|
prerelease: false
|
187
192
|
requirement: !ruby/object:Gem::Requirement
|
188
193
|
requirements:
|
189
194
|
- - ">="
|
190
195
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
196
|
+
version: 0.17.2
|
197
|
+
- !ruby/object:Gem::Dependency
|
198
|
+
name: celluloid-essentials
|
192
199
|
version_requirements: !ruby/object:Gem::Requirement
|
193
200
|
requirements:
|
194
201
|
- - ">="
|
195
202
|
- !ruby/object:Gem::Version
|
196
203
|
version: '0'
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: celluloid-pool
|
199
204
|
type: :development
|
200
205
|
prerelease: false
|
201
206
|
requirement: !ruby/object:Gem::Requirement
|
@@ -203,13 +208,13 @@ dependencies:
|
|
203
208
|
- - ">="
|
204
209
|
- !ruby/object:Gem::Version
|
205
210
|
version: '0'
|
211
|
+
- !ruby/object:Gem::Dependency
|
212
|
+
name: celluloid-pool
|
206
213
|
version_requirements: !ruby/object:Gem::Requirement
|
207
214
|
requirements:
|
208
215
|
- - ">="
|
209
216
|
- !ruby/object:Gem::Version
|
210
217
|
version: '0'
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: celluloid-fsm
|
213
218
|
type: :development
|
214
219
|
prerelease: false
|
215
220
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,13 +222,13 @@ dependencies:
|
|
217
222
|
- - ">="
|
218
223
|
- !ruby/object:Gem::Version
|
219
224
|
version: '0'
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: celluloid-fsm
|
220
227
|
version_requirements: !ruby/object:Gem::Requirement
|
221
228
|
requirements:
|
222
229
|
- - ">="
|
223
230
|
- !ruby/object:Gem::Version
|
224
231
|
version: '0'
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
|
-
name: celluloid-extras
|
227
232
|
type: :development
|
228
233
|
prerelease: false
|
229
234
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,39 +236,34 @@ dependencies:
|
|
231
236
|
- - ">="
|
232
237
|
- !ruby/object:Gem::Version
|
233
238
|
version: '0'
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: celluloid-extras
|
234
241
|
version_requirements: !ruby/object:Gem::Requirement
|
235
242
|
requirements:
|
236
243
|
- - ">="
|
237
244
|
- !ruby/object:Gem::Version
|
238
245
|
version: '0'
|
239
|
-
|
240
|
-
name: timers
|
241
|
-
type: :runtime
|
246
|
+
type: :development
|
242
247
|
prerelease: false
|
243
248
|
requirement: !ruby/object:Gem::Requirement
|
244
249
|
requirements:
|
245
250
|
- - ">="
|
246
251
|
- !ruby/object:Gem::Version
|
247
|
-
version:
|
252
|
+
version: '0'
|
253
|
+
- !ruby/object:Gem::Dependency
|
254
|
+
name: timers
|
248
255
|
version_requirements: !ruby/object:Gem::Requirement
|
249
256
|
requirements:
|
250
257
|
- - ">="
|
251
258
|
- !ruby/object:Gem::Version
|
252
259
|
version: 4.1.1
|
253
|
-
- !ruby/object:Gem::Dependency
|
254
|
-
name: rspec-logsplit
|
255
260
|
type: :runtime
|
256
261
|
prerelease: false
|
257
262
|
requirement: !ruby/object:Gem::Requirement
|
258
263
|
requirements:
|
259
264
|
- - ">="
|
260
265
|
- !ruby/object:Gem::Version
|
261
|
-
version:
|
262
|
-
version_requirements: !ruby/object:Gem::Requirement
|
263
|
-
requirements:
|
264
|
-
- - ">="
|
265
|
-
- !ruby/object:Gem::Version
|
266
|
-
version: 0.1.2
|
266
|
+
version: 4.1.1
|
267
267
|
description: Supervisors, Supervision Groups, and Supervision Trees for Celluloid.
|
268
268
|
email:
|
269
269
|
- code@extremist.digital
|