celluloid-supervision 0.20.5 → 0.20.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/lib/celluloid/supervision/container/behavior/tree.rb +2 -8
- data/lib/celluloid/supervision/version.rb +1 -1
- metadata +93 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfaeec5d484c6062eb836620a877b663101a44e8
|
4
|
+
data.tar.gz: 121134ac5ab5fb195bf30c900b651df1d850de82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329e1e61ae30c27bc8c2b7cc760f7b19fc98021c9fdf5460cb0cb2542929cef794c900eb02afe6f5a19193f65a4bdc776cb7cfb53eec053624515bc80fccfcdd
|
7
|
+
data.tar.gz: 08a2b47c7a5be53b146d754bda7b482346d5fc8ff8b79d750e062c64991e593f65ccf9fc5a0a3864f51900f5f7d631ff2a117f0612c2de8ee8eba55db1a30c42
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
0.20.6 (2016-06-19)
|
2
|
+
-----
|
3
|
+
* `Tree`: Detect and accept already defined `Celluloid::Supervision::Configuration` vs. fail as if undefined.
|
4
|
+
* Updated gem dependencies.
|
5
|
+
|
1
6
|
0.20.5 (2015-09-30)
|
2
7
|
-----
|
3
8
|
* Revamped test suite, using shared RSpec configuration layer provided by Celluloid itself.
|
@@ -1,13 +1,6 @@
|
|
1
1
|
module Celluloid
|
2
2
|
module Supervision
|
3
3
|
class Container
|
4
|
-
# class << self
|
5
|
-
# def tree(actors=[], *args, &block)
|
6
|
-
# blocks << lambda do |container|
|
7
|
-
# container.tree(Configuration.options(args, :supervise => actors, :block => block ))
|
8
|
-
# end
|
9
|
-
# end
|
10
|
-
# end
|
11
4
|
|
12
5
|
class Tree
|
13
6
|
include Behavior
|
@@ -19,8 +12,9 @@ module Celluloid
|
|
19
12
|
@supervisor = @configuration.dup
|
20
13
|
@branch = @configuration.fetch(:branch, @configuration[:as])
|
21
14
|
@configuration.delete(Behavior.parameter(:supervise, @configuration))
|
15
|
+
elsif @configuration[:supervise].is_a?(Celluloid::Supervision::Configuration)
|
16
|
+
@configuration
|
22
17
|
else
|
23
|
-
puts "#{@configuration[:supervise].class.name} ... #{@configuration[:supervise]}"
|
24
18
|
fail ArgumentError.new("No actors given to Tree to supervise.")
|
25
19
|
end
|
26
20
|
end
|
metadata
CHANGED
@@ -1,265 +1,293 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donovan Keme
|
8
8
|
- Tony Arcieri
|
9
9
|
- Tim Carey-Smith
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-06-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0'
|
16
21
|
name: bundler
|
22
|
+
prerelease: false
|
23
|
+
type: :development
|
17
24
|
version_requirements: !ruby/object:Gem::Requirement
|
18
25
|
requirements:
|
19
26
|
- - ">="
|
20
27
|
- !ruby/object:Gem::Version
|
21
28
|
version: '0'
|
22
|
-
|
23
|
-
prerelease: false
|
29
|
+
- !ruby/object:Gem::Dependency
|
24
30
|
requirement: !ruby/object:Gem::Requirement
|
25
31
|
requirements:
|
26
32
|
- - ">="
|
27
33
|
- !ruby/object:Gem::Version
|
28
34
|
version: '0'
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
35
|
name: nenv
|
36
|
+
prerelease: false
|
37
|
+
type: :development
|
31
38
|
version_requirements: !ruby/object:Gem::Requirement
|
32
39
|
requirements:
|
33
40
|
- - ">="
|
34
41
|
- !ruby/object:Gem::Version
|
35
42
|
version: '0'
|
36
|
-
|
37
|
-
prerelease: false
|
43
|
+
- !ruby/object:Gem::Dependency
|
38
44
|
requirement: !ruby/object:Gem::Requirement
|
39
45
|
requirements:
|
40
46
|
- - ">="
|
41
47
|
- !ruby/object:Gem::Version
|
42
48
|
version: '0'
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
49
|
name: dotenv
|
50
|
+
prerelease: false
|
51
|
+
type: :development
|
45
52
|
version_requirements: !ruby/object:Gem::Requirement
|
46
53
|
requirements:
|
47
54
|
- - ">="
|
48
55
|
- !ruby/object:Gem::Version
|
49
56
|
version: '0'
|
50
|
-
|
51
|
-
prerelease: false
|
57
|
+
- !ruby/object:Gem::Dependency
|
52
58
|
requirement: !ruby/object:Gem::Requirement
|
53
59
|
requirements:
|
54
60
|
- - ">="
|
55
61
|
- !ruby/object:Gem::Version
|
56
62
|
version: '0'
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
63
|
name: benchmark_suite
|
64
|
+
prerelease: false
|
65
|
+
type: :development
|
59
66
|
version_requirements: !ruby/object:Gem::Requirement
|
60
67
|
requirements:
|
61
68
|
- - ">="
|
62
69
|
- !ruby/object:Gem::Version
|
63
70
|
version: '0'
|
64
|
-
|
65
|
-
prerelease: false
|
71
|
+
- !ruby/object:Gem::Dependency
|
66
72
|
requirement: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
77
|
name: rubocop
|
78
|
+
prerelease: false
|
79
|
+
type: :development
|
73
80
|
version_requirements: !ruby/object:Gem::Requirement
|
74
81
|
requirements:
|
75
82
|
- - ">="
|
76
83
|
- !ruby/object:Gem::Version
|
77
84
|
version: '0'
|
78
|
-
|
79
|
-
prerelease: false
|
85
|
+
- !ruby/object:Gem::Dependency
|
80
86
|
requirement: !ruby/object:Gem::Requirement
|
81
87
|
requirements:
|
82
88
|
- - ">="
|
83
89
|
- !ruby/object:Gem::Version
|
84
90
|
version: '0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
91
|
name: transpec
|
92
|
+
prerelease: false
|
93
|
+
type: :development
|
87
94
|
version_requirements: !ruby/object:Gem::Requirement
|
88
95
|
requirements:
|
89
96
|
- - ">="
|
90
97
|
- !ruby/object:Gem::Version
|
91
98
|
version: '0'
|
92
|
-
|
93
|
-
prerelease: false
|
99
|
+
- !ruby/object:Gem::Dependency
|
94
100
|
requirement: !ruby/object:Gem::Requirement
|
95
101
|
requirements:
|
96
102
|
- - ">="
|
97
103
|
- !ruby/object:Gem::Version
|
98
104
|
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
105
|
name: pry
|
106
|
+
prerelease: false
|
107
|
+
type: :development
|
101
108
|
version_requirements: !ruby/object:Gem::Requirement
|
102
109
|
requirements:
|
103
110
|
- - ">="
|
104
111
|
- !ruby/object:Gem::Version
|
105
112
|
version: '0'
|
106
|
-
|
107
|
-
prerelease: false
|
113
|
+
- !ruby/object:Gem::Dependency
|
108
114
|
requirement: !ruby/object:Gem::Requirement
|
109
115
|
requirements:
|
110
116
|
- - ">="
|
111
117
|
- !ruby/object:Gem::Version
|
112
118
|
version: '0'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
119
|
name: rake
|
120
|
+
prerelease: false
|
121
|
+
type: :development
|
115
122
|
version_requirements: !ruby/object:Gem::Requirement
|
116
123
|
requirements:
|
117
124
|
- - ">="
|
118
125
|
- !ruby/object:Gem::Version
|
119
126
|
version: '0'
|
120
|
-
|
121
|
-
prerelease: false
|
127
|
+
- !ruby/object:Gem::Dependency
|
122
128
|
requirement: !ruby/object:Gem::Requirement
|
123
129
|
requirements:
|
124
130
|
- - ">="
|
125
131
|
- !ruby/object:Gem::Version
|
126
132
|
version: '0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
133
|
name: rspec
|
134
|
+
prerelease: false
|
135
|
+
type: :development
|
129
136
|
version_requirements: !ruby/object:Gem::Requirement
|
130
137
|
requirements:
|
131
138
|
- - ">="
|
132
139
|
- !ruby/object:Gem::Version
|
133
140
|
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - '='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 3.0.3
|
147
|
+
name: listen
|
148
|
+
prerelease: false
|
134
149
|
type: :development
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - '='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 3.0.3
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - '='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 2.13.0
|
161
|
+
name: guard
|
135
162
|
prerelease: false
|
163
|
+
type: :development
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - '='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 2.13.0
|
169
|
+
- !ruby/object:Gem::Dependency
|
136
170
|
requirement: !ruby/object:Gem::Requirement
|
137
171
|
requirements:
|
138
172
|
- - ">="
|
139
173
|
- !ruby/object:Gem::Version
|
140
174
|
version: '0'
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
175
|
name: guard-rspec
|
176
|
+
prerelease: false
|
177
|
+
type: :development
|
143
178
|
version_requirements: !ruby/object:Gem::Requirement
|
144
179
|
requirements:
|
145
180
|
- - ">="
|
146
181
|
- !ruby/object:Gem::Version
|
147
182
|
version: '0'
|
148
|
-
|
149
|
-
prerelease: false
|
183
|
+
- !ruby/object:Gem::Dependency
|
150
184
|
requirement: !ruby/object:Gem::Requirement
|
151
185
|
requirements:
|
152
186
|
- - ">="
|
153
187
|
- !ruby/object:Gem::Version
|
154
188
|
version: '0'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
189
|
name: rspec-retry
|
190
|
+
prerelease: false
|
191
|
+
type: :development
|
157
192
|
version_requirements: !ruby/object:Gem::Requirement
|
158
193
|
requirements:
|
159
194
|
- - ">="
|
160
195
|
- !ruby/object:Gem::Version
|
161
196
|
version: '0'
|
162
|
-
|
163
|
-
prerelease: false
|
197
|
+
- !ruby/object:Gem::Dependency
|
164
198
|
requirement: !ruby/object:Gem::Requirement
|
165
199
|
requirements:
|
166
200
|
- - ">="
|
167
201
|
- !ruby/object:Gem::Version
|
168
202
|
version: '0'
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
203
|
name: coveralls
|
204
|
+
prerelease: false
|
205
|
+
type: :development
|
171
206
|
version_requirements: !ruby/object:Gem::Requirement
|
172
207
|
requirements:
|
173
208
|
- - ">="
|
174
209
|
- !ruby/object:Gem::Version
|
175
210
|
version: '0'
|
176
|
-
|
177
|
-
prerelease: false
|
211
|
+
- !ruby/object:Gem::Dependency
|
178
212
|
requirement: !ruby/object:Gem::Requirement
|
179
213
|
requirements:
|
180
214
|
- - ">="
|
181
215
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
183
|
-
- !ruby/object:Gem::Dependency
|
216
|
+
version: 0.17.2
|
184
217
|
name: celluloid
|
218
|
+
prerelease: false
|
219
|
+
type: :development
|
185
220
|
version_requirements: !ruby/object:Gem::Requirement
|
186
221
|
requirements:
|
187
222
|
- - ">="
|
188
223
|
- !ruby/object:Gem::Version
|
189
224
|
version: 0.17.2
|
190
|
-
|
191
|
-
prerelease: false
|
225
|
+
- !ruby/object:Gem::Dependency
|
192
226
|
requirement: !ruby/object:Gem::Requirement
|
193
227
|
requirements:
|
194
228
|
- - ">="
|
195
229
|
- !ruby/object:Gem::Version
|
196
|
-
version: 0
|
197
|
-
- !ruby/object:Gem::Dependency
|
230
|
+
version: '0'
|
198
231
|
name: celluloid-essentials
|
232
|
+
prerelease: false
|
233
|
+
type: :development
|
199
234
|
version_requirements: !ruby/object:Gem::Requirement
|
200
235
|
requirements:
|
201
236
|
- - ">="
|
202
237
|
- !ruby/object:Gem::Version
|
203
238
|
version: '0'
|
204
|
-
|
205
|
-
prerelease: false
|
239
|
+
- !ruby/object:Gem::Dependency
|
206
240
|
requirement: !ruby/object:Gem::Requirement
|
207
241
|
requirements:
|
208
242
|
- - ">="
|
209
243
|
- !ruby/object:Gem::Version
|
210
244
|
version: '0'
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
245
|
name: celluloid-pool
|
246
|
+
prerelease: false
|
247
|
+
type: :development
|
213
248
|
version_requirements: !ruby/object:Gem::Requirement
|
214
249
|
requirements:
|
215
250
|
- - ">="
|
216
251
|
- !ruby/object:Gem::Version
|
217
252
|
version: '0'
|
218
|
-
|
219
|
-
prerelease: false
|
253
|
+
- !ruby/object:Gem::Dependency
|
220
254
|
requirement: !ruby/object:Gem::Requirement
|
221
255
|
requirements:
|
222
256
|
- - ">="
|
223
257
|
- !ruby/object:Gem::Version
|
224
258
|
version: '0'
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
259
|
name: celluloid-fsm
|
260
|
+
prerelease: false
|
261
|
+
type: :development
|
227
262
|
version_requirements: !ruby/object:Gem::Requirement
|
228
263
|
requirements:
|
229
264
|
- - ">="
|
230
265
|
- !ruby/object:Gem::Version
|
231
266
|
version: '0'
|
232
|
-
|
233
|
-
prerelease: false
|
267
|
+
- !ruby/object:Gem::Dependency
|
234
268
|
requirement: !ruby/object:Gem::Requirement
|
235
269
|
requirements:
|
236
270
|
- - ">="
|
237
271
|
- !ruby/object:Gem::Version
|
238
272
|
version: '0'
|
239
|
-
- !ruby/object:Gem::Dependency
|
240
273
|
name: celluloid-extras
|
241
|
-
version_requirements: !ruby/object:Gem::Requirement
|
242
|
-
requirements:
|
243
|
-
- - ">="
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version: '0'
|
246
|
-
type: :development
|
247
274
|
prerelease: false
|
248
|
-
|
275
|
+
type: :development
|
276
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
277
|
requirements:
|
250
278
|
- - ">="
|
251
279
|
- !ruby/object:Gem::Version
|
252
280
|
version: '0'
|
253
281
|
- !ruby/object:Gem::Dependency
|
254
|
-
|
255
|
-
version_requirements: !ruby/object:Gem::Requirement
|
282
|
+
requirement: !ruby/object:Gem::Requirement
|
256
283
|
requirements:
|
257
284
|
- - ">="
|
258
285
|
- !ruby/object:Gem::Version
|
259
286
|
version: 4.1.1
|
260
|
-
|
287
|
+
name: timers
|
261
288
|
prerelease: false
|
262
|
-
|
289
|
+
type: :runtime
|
290
|
+
version_requirements: !ruby/object:Gem::Requirement
|
263
291
|
requirements:
|
264
292
|
- - ">="
|
265
293
|
- !ruby/object:Gem::Version
|
@@ -311,7 +339,7 @@ homepage: https://github.com/celluloid/
|
|
311
339
|
licenses:
|
312
340
|
- MIT
|
313
341
|
metadata: {}
|
314
|
-
post_install_message:
|
342
|
+
post_install_message:
|
315
343
|
rdoc_options: []
|
316
344
|
require_paths:
|
317
345
|
- lib
|
@@ -326,9 +354,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
354
|
- !ruby/object:Gem::Version
|
327
355
|
version: '0'
|
328
356
|
requirements: []
|
329
|
-
rubyforge_project:
|
357
|
+
rubyforge_project:
|
330
358
|
rubygems_version: 2.4.8
|
331
|
-
signing_key:
|
359
|
+
signing_key:
|
332
360
|
specification_version: 4
|
333
361
|
summary: Celluloid Supervision
|
334
362
|
test_files: []
|