celluloid 0.17.3 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES.md +300 -73
- data/CONDUCT.md +13 -0
- data/CONTRIBUTING.md +39 -0
- data/README.md +54 -150
- data/REFACTOR.md +1 -0
- data/architecture.md +120 -0
- data/examples/basic_usage.rb +1 -1
- data/examples/configurations.rb +78 -0
- data/examples/futures.rb +1 -1
- data/examples/ring.rb +5 -4
- data/examples/simple_pmap.rb +1 -1
- data/examples/stack.rb +2 -2
- data/examples/supervisors_and_registry.rb +82 -0
- data/examples/timers.rb +2 -2
- data/lib/celluloid.rb +74 -64
- data/lib/celluloid/actor.rb +27 -17
- data/lib/celluloid/actor/system.rb +13 -29
- data/lib/celluloid/autostart.rb +6 -1
- data/lib/celluloid/call/async.rb +2 -0
- data/lib/celluloid/call/sync.rb +10 -3
- data/lib/celluloid/calls.rb +13 -12
- data/lib/celluloid/cell.rb +5 -9
- data/lib/celluloid/condition.rb +3 -3
- data/lib/celluloid/core_ext.rb +0 -2
- data/lib/celluloid/debug.rb +3 -0
- data/lib/celluloid/exceptions.rb +2 -2
- data/lib/celluloid/future.rb +8 -10
- data/lib/celluloid/group.rb +16 -6
- data/lib/celluloid/group/pool.rb +1 -3
- data/lib/celluloid/group/spawner.rb +2 -6
- data/lib/celluloid/internals/call_chain.rb +15 -0
- data/lib/celluloid/internals/cpu_counter.rb +62 -0
- data/lib/celluloid/internals/handlers.rb +42 -0
- data/lib/celluloid/internals/links.rb +38 -0
- data/lib/celluloid/internals/logger.rb +104 -0
- data/lib/celluloid/internals/method.rb +34 -0
- data/lib/celluloid/internals/properties.rb +32 -0
- data/lib/celluloid/internals/receivers.rb +64 -0
- data/lib/celluloid/internals/registry.rb +102 -0
- data/lib/celluloid/internals/responses.rb +46 -0
- data/lib/celluloid/internals/signals.rb +24 -0
- data/lib/celluloid/internals/stack.rb +74 -0
- data/lib/celluloid/internals/stack/dump.rb +12 -0
- data/lib/celluloid/internals/stack/states.rb +72 -0
- data/lib/celluloid/internals/stack/summary.rb +12 -0
- data/lib/celluloid/internals/task_set.rb +51 -0
- data/lib/celluloid/internals/thread_handle.rb +52 -0
- data/lib/celluloid/internals/uuid.rb +40 -0
- data/lib/celluloid/logging/incident.rb +21 -0
- data/lib/celluloid/logging/incident_logger.rb +147 -0
- data/lib/celluloid/logging/incident_reporter.rb +49 -0
- data/lib/celluloid/logging/log_event.rb +20 -0
- data/lib/celluloid/logging/ring_buffer.rb +64 -0
- data/lib/celluloid/mailbox.rb +22 -9
- data/lib/celluloid/mailbox/evented.rb +13 -5
- data/lib/celluloid/notifications.rb +95 -0
- data/lib/celluloid/pool.rb +6 -0
- data/lib/celluloid/probe.rb +81 -0
- data/lib/celluloid/proxy/abstract.rb +9 -9
- data/lib/celluloid/proxy/async.rb +1 -1
- data/lib/celluloid/proxy/block.rb +2 -2
- data/lib/celluloid/proxy/cell.rb +1 -1
- data/lib/celluloid/proxy/future.rb +2 -4
- data/lib/celluloid/proxy/sync.rb +1 -3
- data/lib/celluloid/rspec.rb +22 -33
- data/lib/celluloid/supervision.rb +17 -0
- data/lib/celluloid/supervision/configuration.rb +169 -0
- data/lib/celluloid/supervision/configuration/injections.rb +8 -0
- data/lib/celluloid/supervision/configuration/instance.rb +113 -0
- data/lib/celluloid/supervision/constants.rb +123 -0
- data/lib/celluloid/supervision/container.rb +144 -0
- data/lib/celluloid/supervision/container/behavior.rb +89 -0
- data/lib/celluloid/supervision/container/behavior/pool.rb +71 -0
- data/lib/celluloid/supervision/container/behavior/tree.rb +23 -0
- data/lib/celluloid/supervision/container/injections.rb +8 -0
- data/lib/celluloid/supervision/container/instance.rb +116 -0
- data/lib/celluloid/supervision/container/pool.rb +210 -0
- data/lib/celluloid/supervision/service.rb +27 -0
- data/lib/celluloid/supervision/supervise.rb +34 -0
- data/lib/celluloid/supervision/validation.rb +40 -0
- data/lib/celluloid/supervision/version.rb +5 -0
- data/lib/celluloid/system_events.rb +11 -6
- data/lib/celluloid/task.rb +25 -12
- data/lib/celluloid/task/fibered.rb +6 -2
- data/lib/celluloid/task/threaded.rb +3 -3
- data/lib/celluloid/test.rb +5 -2
- data/lib/celluloid/thread.rb +0 -2
- data/lib/celluloid/version.rb +1 -1
- data/spec/celluloid/block_spec.rb +29 -32
- data/spec/celluloid/calls_spec.rb +5 -15
- data/spec/celluloid/future_spec.rb +7 -1
- data/spec/celluloid/internals/cpu_counter_spec.rb +129 -0
- data/spec/celluloid/internals/links_spec.rb +43 -0
- data/spec/celluloid/internals/properties_spec.rb +40 -0
- data/spec/celluloid/internals/registry_spec.rb +62 -0
- data/spec/celluloid/internals/stack/dump_spec.rb +4 -0
- data/spec/celluloid/internals/stack/summary_spec.rb +4 -0
- data/spec/celluloid/internals/thread_handle_spec.rb +60 -0
- data/spec/celluloid/internals/uuid_spec.rb +9 -0
- data/spec/celluloid/logging/ring_buffer_spec.rb +36 -0
- data/spec/celluloid/mailbox/evented_spec.rb +11 -22
- data/spec/celluloid/misc/leak_spec.rb +3 -4
- data/spec/celluloid/notifications_spec.rb +140 -0
- data/spec/celluloid/probe_spec.rb +102 -0
- data/spec/celluloid/proxy_spec.rb +30 -30
- data/spec/celluloid/supervision/behavior_spec.rb +74 -0
- data/spec/celluloid/supervision/configuration_spec.rb +181 -0
- data/spec/celluloid/supervision/container_spec.rb +72 -0
- data/spec/celluloid/supervision/instance_spec.rb +13 -0
- data/spec/celluloid/supervision/root_spec.rb +28 -0
- data/spec/celluloid/supervision/supervisor_spec.rb +93 -0
- data/spec/celluloid/task/fibered_spec.rb +1 -3
- data/spec/celluloid/task/threaded_spec.rb +1 -3
- data/spec/shared/actor_examples.rb +58 -33
- data/spec/shared/group_examples.rb +2 -2
- data/spec/shared/mailbox_examples.rb +1 -1
- data/spec/shared/stack_examples.rb +87 -0
- data/spec/shared/task_examples.rb +2 -3
- data/spec/spec_helper.rb +2 -4
- data/spec/support/configure_rspec.rb +2 -3
- data/spec/support/coverage.rb +2 -4
- data/spec/support/crash_checking.rb +2 -2
- data/spec/support/examples/actor_class.rb +3 -8
- data/spec/support/examples/call_class.rb +2 -2
- data/spec/support/examples/container_class.rb +35 -0
- data/spec/support/examples/evented_mailbox_class.rb +1 -2
- data/spec/support/examples/stack_classes.rb +58 -0
- data/spec/support/examples/stack_methods.rb +23 -0
- data/spec/support/examples/subordinate_class.rb +19 -0
- data/spec/support/logging.rb +3 -34
- data/spec/support/loose_threads.rb +3 -16
- data/spec/support/reset_class_variables.rb +5 -1
- data/spec/support/stubbing.rb +1 -1
- metadata +91 -290
- data/culture/CONDUCT.md +0 -28
- data/culture/Gemfile +0 -9
- data/culture/LICENSE.txt +0 -22
- data/culture/README.md +0 -22
- data/culture/Rakefile +0 -5
- data/culture/SYNC.md +0 -70
- data/culture/celluloid-culture.gemspec +0 -18
- data/culture/gems/README.md +0 -39
- data/culture/gems/dependencies.yml +0 -85
- data/culture/gems/loader.rb +0 -101
- data/culture/rubocop/README.md +0 -38
- data/culture/rubocop/lint.yml +0 -8
- data/culture/rubocop/metrics.yml +0 -15
- data/culture/rubocop/perf.yml +0 -0
- data/culture/rubocop/rubocop.yml +0 -5
- data/culture/rubocop/style.yml +0 -57
- data/culture/spec/gems_spec.rb +0 -2
- data/culture/spec/spec_helper.rb +0 -0
- data/culture/spec/sync_spec.rb +0 -2
- data/culture/sync.rb +0 -56
- data/culture/tasks/rspec.rake +0 -5
- data/culture/tasks/rubocop.rake +0 -2
- data/lib/celluloid/actor/manager.rb +0 -7
- data/lib/celluloid/backported.rb +0 -2
- data/lib/celluloid/current.rb +0 -2
- data/lib/celluloid/deprecate.rb +0 -21
- data/lib/celluloid/fiber.rb +0 -32
- data/lib/celluloid/managed.rb +0 -3
- data/lib/celluloid/notices.rb +0 -15
- data/spec/deprecate/actor_system_spec.rb +0 -72
- data/spec/deprecate/block_spec.rb +0 -52
- data/spec/deprecate/calls_spec.rb +0 -39
- data/spec/deprecate/evented_mailbox_spec.rb +0 -34
- data/spec/deprecate/future_spec.rb +0 -32
- data/spec/deprecate/internal_pool_spec.rb +0 -4
- data/spec/support/env.rb +0 -21
@@ -13,20 +13,7 @@ module Specs
|
|
13
13
|
backtrace = thread.backtrace # avoid race maybe
|
14
14
|
next unless backtrace
|
15
15
|
next if backtrace.empty? # possibly a timer thread
|
16
|
-
|
17
|
-
|
18
|
-
if RUBY_ENGINE == "rbx"
|
19
|
-
# Avoid disrupting Rubinious thread
|
20
|
-
next if thread.backtrace.first =~ %r{rubysl/timeout/timeout\.rb}
|
21
|
-
|
22
|
-
if Specs::ALLOW_SLOW_MAILBOXES
|
23
|
-
if thread.backtrace.first =~ /wait/
|
24
|
-
next if thread.backtrace[1] =~ /mailbox\.rb/ && thread.backtrace[1] =~ /check/
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
if RUBY_ENGINE == "ruby"
|
16
|
+
else
|
30
17
|
# Sometimes stays
|
31
18
|
next if thread.backtrace.nil?
|
32
19
|
next unless thread.backtrace.is_a?(Array)
|
@@ -39,7 +26,7 @@ module Specs
|
|
39
26
|
end
|
40
27
|
|
41
28
|
def thread_name(thread)
|
42
|
-
|
29
|
+
RUBY_PLATFORM == "java" ? thread.to_java.getNativeThread.get_name : ""
|
43
30
|
end
|
44
31
|
|
45
32
|
def assert_no_loose_threads!(location)
|
@@ -61,7 +48,7 @@ module Specs
|
|
61
48
|
sleep
|
62
49
|
end
|
63
50
|
|
64
|
-
|
51
|
+
raise Celluloid::ThreadLeak, "Aborted due to runaway threads (#{location})\n"\
|
65
52
|
"List: (#{loose.map(&:inspect)})\n:#{backtraces.join("\n")}"
|
66
53
|
end
|
67
54
|
end
|
@@ -2,7 +2,7 @@ module Specs
|
|
2
2
|
class << self
|
3
3
|
def reset_class_variables(description)
|
4
4
|
# build uuid from example ending (most unique)
|
5
|
-
uuid_prefix = description[-
|
5
|
+
uuid_prefix = description[-[description.size, 20].min..-1]
|
6
6
|
reset_uuid(uuid_prefix)
|
7
7
|
|
8
8
|
reset_probe(Queue.new)
|
@@ -11,7 +11,11 @@ module Specs
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def reset_probe(value)
|
14
|
+
# !!! DO NOT INTRODUCE ADDITIONAL GLOBAL VARIABLES !!!
|
15
|
+
# rubocop:disable Style/GlobalVars
|
14
16
|
$CELLULOID_MONITORING = !value.nil?
|
17
|
+
# rubocop:enable Style/GlobalVars
|
18
|
+
|
15
19
|
replace_const(Celluloid::Probe, :EVENTS_BUFFER, value)
|
16
20
|
end
|
17
21
|
|
data/spec/support/stubbing.rb
CHANGED
@@ -3,7 +3,7 @@ module Specs
|
|
3
3
|
meta = (class << mod; self; end)
|
4
4
|
original_meth = "original_#{meth}".to_sym
|
5
5
|
|
6
|
-
|
6
|
+
raise "ALREADY TRACED: #{mod}.#{meth}" if mod.respond_to?(original_meth)
|
7
7
|
|
8
8
|
meta.send(:alias_method, original_meth, meth)
|
9
9
|
meta.send(:define_method, meth) do |*args, &block|
|
metadata
CHANGED
@@ -1,314 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celluloid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
8
8
|
- Donovan Keme
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: bundler
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '0'
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: nenv
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: dotenv
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - ">="
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: benchmark_suite
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rubocop
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: transpec
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: pry
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: rake
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rspec
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: guard-rspec
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: rspec-retry
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - ">="
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '0'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - ">="
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: coveralls
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - ">="
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '0'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - ">="
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: celluloid-essentials
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - ">="
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '0'
|
189
|
-
type: :runtime
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ">="
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: celluloid-supervision
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '0'
|
203
|
-
type: :runtime
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - ">="
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '0'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: celluloid-pool
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - ">="
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: '0'
|
217
|
-
type: :runtime
|
218
|
-
prerelease: false
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - ">="
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: '0'
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
|
-
name: celluloid-fsm
|
226
|
-
requirement: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - ">="
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: '0'
|
231
|
-
type: :runtime
|
232
|
-
prerelease: false
|
233
|
-
version_requirements: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - ">="
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '0'
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: celluloid-extras
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - ">="
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: '0'
|
245
|
-
type: :runtime
|
246
|
-
prerelease: false
|
247
|
-
version_requirements: !ruby/object:Gem::Requirement
|
248
|
-
requirements:
|
249
|
-
- - ">="
|
250
|
-
- !ruby/object:Gem::Version
|
251
|
-
version: '0'
|
252
14
|
- !ruby/object:Gem::Dependency
|
253
15
|
name: timers
|
254
16
|
requirement: !ruby/object:Gem::Requirement
|
255
17
|
requirements:
|
256
|
-
- - "
|
18
|
+
- - "~>"
|
257
19
|
- !ruby/object:Gem::Version
|
258
|
-
version: 4
|
20
|
+
version: '4'
|
259
21
|
type: :runtime
|
260
22
|
prerelease: false
|
261
23
|
version_requirements: !ruby/object:Gem::Requirement
|
262
24
|
requirements:
|
263
|
-
- - "
|
25
|
+
- - "~>"
|
264
26
|
- !ruby/object:Gem::Version
|
265
|
-
version: 4
|
27
|
+
version: '4'
|
266
28
|
description: Celluloid enables people to build concurrent programs out of concurrent
|
267
29
|
objects just as easily as they build sequential programs out of sequential objects
|
268
30
|
email:
|
269
|
-
-
|
31
|
+
- bascule@gmail.com
|
270
32
|
- code@extremist.digital
|
271
33
|
executables: []
|
272
34
|
extensions: []
|
273
35
|
extra_rdoc_files: []
|
274
36
|
files:
|
275
37
|
- CHANGES.md
|
38
|
+
- CONDUCT.md
|
39
|
+
- CONTRIBUTING.md
|
276
40
|
- LICENSE.txt
|
277
41
|
- README.md
|
278
|
-
-
|
279
|
-
-
|
280
|
-
- culture/LICENSE.txt
|
281
|
-
- culture/README.md
|
282
|
-
- culture/Rakefile
|
283
|
-
- culture/SYNC.md
|
284
|
-
- culture/celluloid-culture.gemspec
|
285
|
-
- culture/gems/README.md
|
286
|
-
- culture/gems/dependencies.yml
|
287
|
-
- culture/gems/loader.rb
|
288
|
-
- culture/rubocop/README.md
|
289
|
-
- culture/rubocop/lint.yml
|
290
|
-
- culture/rubocop/metrics.yml
|
291
|
-
- culture/rubocop/perf.yml
|
292
|
-
- culture/rubocop/rubocop.yml
|
293
|
-
- culture/rubocop/style.yml
|
294
|
-
- culture/spec/gems_spec.rb
|
295
|
-
- culture/spec/spec_helper.rb
|
296
|
-
- culture/spec/sync_spec.rb
|
297
|
-
- culture/sync.rb
|
298
|
-
- culture/tasks/rspec.rake
|
299
|
-
- culture/tasks/rubocop.rake
|
42
|
+
- REFACTOR.md
|
43
|
+
- architecture.md
|
300
44
|
- examples/basic_usage.rb
|
45
|
+
- examples/configurations.rb
|
301
46
|
- examples/futures.rb
|
302
47
|
- examples/ring.rb
|
303
48
|
- examples/simple_pmap.rb
|
304
49
|
- examples/stack.rb
|
50
|
+
- examples/supervisors_and_registry.rb
|
305
51
|
- examples/timers.rb
|
306
52
|
- lib/celluloid.rb
|
307
53
|
- lib/celluloid/actor.rb
|
308
|
-
- lib/celluloid/actor/manager.rb
|
309
54
|
- lib/celluloid/actor/system.rb
|
310
55
|
- lib/celluloid/autostart.rb
|
311
|
-
- lib/celluloid/backported.rb
|
312
56
|
- lib/celluloid/call/async.rb
|
313
57
|
- lib/celluloid/call/block.rb
|
314
58
|
- lib/celluloid/call/sync.rb
|
@@ -316,20 +60,41 @@ files:
|
|
316
60
|
- lib/celluloid/cell.rb
|
317
61
|
- lib/celluloid/condition.rb
|
318
62
|
- lib/celluloid/core_ext.rb
|
319
|
-
- lib/celluloid/current.rb
|
320
63
|
- lib/celluloid/debug.rb
|
321
|
-
- lib/celluloid/deprecate.rb
|
322
64
|
- lib/celluloid/exceptions.rb
|
323
|
-
- lib/celluloid/fiber.rb
|
324
65
|
- lib/celluloid/future.rb
|
325
66
|
- lib/celluloid/group.rb
|
326
67
|
- lib/celluloid/group/pool.rb
|
327
68
|
- lib/celluloid/group/spawner.rb
|
69
|
+
- lib/celluloid/internals/call_chain.rb
|
70
|
+
- lib/celluloid/internals/cpu_counter.rb
|
71
|
+
- lib/celluloid/internals/handlers.rb
|
72
|
+
- lib/celluloid/internals/links.rb
|
73
|
+
- lib/celluloid/internals/logger.rb
|
74
|
+
- lib/celluloid/internals/method.rb
|
75
|
+
- lib/celluloid/internals/properties.rb
|
76
|
+
- lib/celluloid/internals/receivers.rb
|
77
|
+
- lib/celluloid/internals/registry.rb
|
78
|
+
- lib/celluloid/internals/responses.rb
|
79
|
+
- lib/celluloid/internals/signals.rb
|
80
|
+
- lib/celluloid/internals/stack.rb
|
81
|
+
- lib/celluloid/internals/stack/dump.rb
|
82
|
+
- lib/celluloid/internals/stack/states.rb
|
83
|
+
- lib/celluloid/internals/stack/summary.rb
|
84
|
+
- lib/celluloid/internals/task_set.rb
|
85
|
+
- lib/celluloid/internals/thread_handle.rb
|
86
|
+
- lib/celluloid/internals/uuid.rb
|
328
87
|
- lib/celluloid/logging.rb
|
88
|
+
- lib/celluloid/logging/incident.rb
|
89
|
+
- lib/celluloid/logging/incident_logger.rb
|
90
|
+
- lib/celluloid/logging/incident_reporter.rb
|
91
|
+
- lib/celluloid/logging/log_event.rb
|
92
|
+
- lib/celluloid/logging/ring_buffer.rb
|
329
93
|
- lib/celluloid/mailbox.rb
|
330
94
|
- lib/celluloid/mailbox/evented.rb
|
331
|
-
- lib/celluloid/
|
332
|
-
- lib/celluloid/
|
95
|
+
- lib/celluloid/notifications.rb
|
96
|
+
- lib/celluloid/pool.rb
|
97
|
+
- lib/celluloid/probe.rb
|
333
98
|
- lib/celluloid/proxies.rb
|
334
99
|
- lib/celluloid/proxy/abstract.rb
|
335
100
|
- lib/celluloid/proxy/actor.rb
|
@@ -339,6 +104,22 @@ files:
|
|
339
104
|
- lib/celluloid/proxy/future.rb
|
340
105
|
- lib/celluloid/proxy/sync.rb
|
341
106
|
- lib/celluloid/rspec.rb
|
107
|
+
- lib/celluloid/supervision.rb
|
108
|
+
- lib/celluloid/supervision/configuration.rb
|
109
|
+
- lib/celluloid/supervision/configuration/injections.rb
|
110
|
+
- lib/celluloid/supervision/configuration/instance.rb
|
111
|
+
- lib/celluloid/supervision/constants.rb
|
112
|
+
- lib/celluloid/supervision/container.rb
|
113
|
+
- lib/celluloid/supervision/container/behavior.rb
|
114
|
+
- lib/celluloid/supervision/container/behavior/pool.rb
|
115
|
+
- lib/celluloid/supervision/container/behavior/tree.rb
|
116
|
+
- lib/celluloid/supervision/container/injections.rb
|
117
|
+
- lib/celluloid/supervision/container/instance.rb
|
118
|
+
- lib/celluloid/supervision/container/pool.rb
|
119
|
+
- lib/celluloid/supervision/service.rb
|
120
|
+
- lib/celluloid/supervision/supervise.rb
|
121
|
+
- lib/celluloid/supervision/validation.rb
|
122
|
+
- lib/celluloid/supervision/version.rb
|
342
123
|
- lib/celluloid/system_events.rb
|
343
124
|
- lib/celluloid/task.rb
|
344
125
|
- lib/celluloid/task/fibered.rb
|
@@ -356,32 +137,47 @@ files:
|
|
356
137
|
- spec/celluloid/group/elastic_spec.rb
|
357
138
|
- spec/celluloid/group/pool_spec.rb
|
358
139
|
- spec/celluloid/group/spawner_spec.rb
|
140
|
+
- spec/celluloid/internals/cpu_counter_spec.rb
|
141
|
+
- spec/celluloid/internals/links_spec.rb
|
142
|
+
- spec/celluloid/internals/properties_spec.rb
|
143
|
+
- spec/celluloid/internals/registry_spec.rb
|
144
|
+
- spec/celluloid/internals/stack/dump_spec.rb
|
145
|
+
- spec/celluloid/internals/stack/summary_spec.rb
|
146
|
+
- spec/celluloid/internals/thread_handle_spec.rb
|
147
|
+
- spec/celluloid/internals/uuid_spec.rb
|
148
|
+
- spec/celluloid/logging/ring_buffer_spec.rb
|
359
149
|
- spec/celluloid/mailbox/evented_spec.rb
|
360
150
|
- spec/celluloid/mailbox_spec.rb
|
361
151
|
- spec/celluloid/misc/leak_spec.rb
|
152
|
+
- spec/celluloid/notifications_spec.rb
|
153
|
+
- spec/celluloid/probe_spec.rb
|
362
154
|
- spec/celluloid/proxy_spec.rb
|
155
|
+
- spec/celluloid/supervision/behavior_spec.rb
|
156
|
+
- spec/celluloid/supervision/configuration_spec.rb
|
157
|
+
- spec/celluloid/supervision/container_spec.rb
|
158
|
+
- spec/celluloid/supervision/instance_spec.rb
|
159
|
+
- spec/celluloid/supervision/root_spec.rb
|
160
|
+
- spec/celluloid/supervision/supervisor_spec.rb
|
363
161
|
- spec/celluloid/task/fibered_spec.rb
|
364
162
|
- spec/celluloid/task/threaded_spec.rb
|
365
163
|
- spec/celluloid/timer_spec.rb
|
366
|
-
- spec/deprecate/actor_system_spec.rb
|
367
|
-
- spec/deprecate/block_spec.rb
|
368
|
-
- spec/deprecate/calls_spec.rb
|
369
|
-
- spec/deprecate/evented_mailbox_spec.rb
|
370
|
-
- spec/deprecate/future_spec.rb
|
371
|
-
- spec/deprecate/internal_pool_spec.rb
|
372
164
|
- spec/shared/actor_examples.rb
|
373
165
|
- spec/shared/group_examples.rb
|
374
166
|
- spec/shared/mailbox_examples.rb
|
167
|
+
- spec/shared/stack_examples.rb
|
375
168
|
- spec/shared/task_examples.rb
|
376
169
|
- spec/spec_helper.rb
|
377
170
|
- spec/support/configure_rspec.rb
|
378
171
|
- spec/support/coverage.rb
|
379
172
|
- spec/support/crash_checking.rb
|
380
173
|
- spec/support/debugging.rb
|
381
|
-
- spec/support/env.rb
|
382
174
|
- spec/support/examples/actor_class.rb
|
383
175
|
- spec/support/examples/call_class.rb
|
176
|
+
- spec/support/examples/container_class.rb
|
384
177
|
- spec/support/examples/evented_mailbox_class.rb
|
178
|
+
- spec/support/examples/stack_classes.rb
|
179
|
+
- spec/support/examples/stack_methods.rb
|
180
|
+
- spec/support/examples/subordinate_class.rb
|
385
181
|
- spec/support/includer.rb
|
386
182
|
- spec/support/logging.rb
|
387
183
|
- spec/support/loose_threads.rb
|
@@ -391,8 +187,15 @@ files:
|
|
391
187
|
homepage: https://github.com/celluloid/celluloid
|
392
188
|
licenses:
|
393
189
|
- MIT
|
394
|
-
metadata:
|
395
|
-
|
190
|
+
metadata:
|
191
|
+
bug_tracker_uri: https://github.com/celluloid/celluloid/issues
|
192
|
+
changelog_uri: https://github.com/celluloid/celluloid/blob/master/CHANGES.md
|
193
|
+
documentation_uri: https://www.rubydoc.info/gems/celluloid
|
194
|
+
homepage_uri: https://celluloid.io/
|
195
|
+
mailing_list_uri: http://groups.google.com/group/celluloid-ruby
|
196
|
+
source_code_uri: https://github.com/celluloid/celluloid
|
197
|
+
wiki_uri: https://github.com/celluloid/celluloid/wiki
|
198
|
+
post_install_message:
|
396
199
|
rdoc_options: []
|
397
200
|
require_paths:
|
398
201
|
- lib
|
@@ -400,17 +203,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
203
|
requirements:
|
401
204
|
- - ">="
|
402
205
|
- !ruby/object:Gem::Version
|
403
|
-
version:
|
206
|
+
version: 2.2.6
|
404
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
405
208
|
requirements:
|
406
209
|
- - ">="
|
407
210
|
- !ruby/object:Gem::Version
|
408
|
-
version:
|
211
|
+
version: 2.0.0
|
409
212
|
requirements: []
|
410
|
-
|
411
|
-
|
412
|
-
signing_key:
|
213
|
+
rubygems_version: 3.1.2
|
214
|
+
signing_key:
|
413
215
|
specification_version: 4
|
414
216
|
summary: Actor-based concurrent object framework for Ruby
|
415
217
|
test_files: []
|
416
|
-
has_rdoc:
|