celluloid 0.18.0.pre → 0.18.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES.md +114 -39
  3. data/CONDUCT.md +13 -0
  4. data/CONTRIBUTING.md +39 -0
  5. data/README.md +59 -55
  6. data/architecture.md +120 -0
  7. data/examples/basic_usage.rb +1 -1
  8. data/examples/configurations.rb +78 -0
  9. data/examples/futures.rb +1 -1
  10. data/examples/ring.rb +5 -4
  11. data/examples/simple_pmap.rb +1 -1
  12. data/examples/stack.rb +2 -2
  13. data/examples/supervisors_and_registry.rb +82 -0
  14. data/examples/timers.rb +1 -1
  15. data/lib/celluloid.rb +72 -47
  16. data/lib/celluloid/actor.rb +27 -17
  17. data/lib/celluloid/actor/system.rb +13 -29
  18. data/lib/celluloid/autostart.rb +5 -5
  19. data/lib/celluloid/backported.rb +6 -2
  20. data/lib/celluloid/call/async.rb +2 -0
  21. data/lib/celluloid/call/sync.rb +10 -3
  22. data/lib/celluloid/calls.rb +5 -12
  23. data/lib/celluloid/cell.rb +5 -9
  24. data/lib/celluloid/condition.rb +3 -3
  25. data/lib/celluloid/core_ext.rb +0 -2
  26. data/lib/celluloid/current.rb +3 -1
  27. data/lib/celluloid/debug.rb +3 -0
  28. data/lib/celluloid/exceptions.rb +2 -2
  29. data/lib/celluloid/future.rb +7 -9
  30. data/lib/celluloid/group.rb +12 -8
  31. data/lib/celluloid/group/pool.rb +1 -3
  32. data/lib/celluloid/group/spawner.rb +2 -6
  33. data/lib/celluloid/internals/call_chain.rb +15 -0
  34. data/lib/celluloid/internals/cpu_counter.rb +62 -0
  35. data/lib/celluloid/internals/handlers.rb +42 -0
  36. data/lib/celluloid/internals/links.rb +38 -0
  37. data/lib/celluloid/internals/logger.rb +104 -0
  38. data/lib/celluloid/internals/method.rb +34 -0
  39. data/lib/celluloid/internals/properties.rb +32 -0
  40. data/lib/celluloid/internals/receivers.rb +64 -0
  41. data/lib/celluloid/internals/registry.rb +102 -0
  42. data/lib/celluloid/internals/responses.rb +46 -0
  43. data/lib/celluloid/internals/signals.rb +24 -0
  44. data/lib/celluloid/internals/stack.rb +74 -0
  45. data/lib/celluloid/internals/stack/dump.rb +12 -0
  46. data/lib/celluloid/internals/stack/states.rb +72 -0
  47. data/lib/celluloid/internals/stack/summary.rb +12 -0
  48. data/lib/celluloid/internals/task_set.rb +51 -0
  49. data/lib/celluloid/internals/thread_handle.rb +52 -0
  50. data/lib/celluloid/internals/uuid.rb +40 -0
  51. data/lib/celluloid/logging/incident.rb +21 -0
  52. data/lib/celluloid/logging/incident_logger.rb +147 -0
  53. data/lib/celluloid/logging/incident_reporter.rb +49 -0
  54. data/lib/celluloid/logging/log_event.rb +20 -0
  55. data/lib/celluloid/logging/ring_buffer.rb +64 -0
  56. data/lib/celluloid/mailbox.rb +22 -9
  57. data/lib/celluloid/mailbox/evented.rb +13 -5
  58. data/lib/celluloid/managed.rb +6 -3
  59. data/lib/celluloid/notifications.rb +95 -0
  60. data/lib/celluloid/pool.rb +6 -0
  61. data/lib/celluloid/probe.rb +81 -0
  62. data/lib/celluloid/proxy/abstract.rb +9 -9
  63. data/lib/celluloid/proxy/async.rb +1 -1
  64. data/lib/celluloid/proxy/block.rb +2 -2
  65. data/lib/celluloid/proxy/cell.rb +1 -1
  66. data/lib/celluloid/proxy/future.rb +2 -4
  67. data/lib/celluloid/proxy/sync.rb +1 -3
  68. data/lib/celluloid/rspec.rb +22 -33
  69. data/lib/celluloid/supervision.rb +17 -0
  70. data/lib/celluloid/supervision/configuration.rb +169 -0
  71. data/lib/celluloid/supervision/configuration/injections.rb +8 -0
  72. data/lib/celluloid/supervision/configuration/instance.rb +113 -0
  73. data/lib/celluloid/supervision/constants.rb +123 -0
  74. data/lib/celluloid/supervision/container.rb +144 -0
  75. data/lib/celluloid/supervision/container/behavior.rb +89 -0
  76. data/lib/celluloid/supervision/container/behavior/pool.rb +71 -0
  77. data/lib/celluloid/supervision/container/behavior/tree.rb +23 -0
  78. data/lib/celluloid/supervision/container/injections.rb +8 -0
  79. data/lib/celluloid/supervision/container/instance.rb +116 -0
  80. data/lib/celluloid/supervision/container/pool.rb +210 -0
  81. data/{culture/rubocop/perf.yml → lib/celluloid/supervision/container/tree.rb} +0 -0
  82. data/lib/celluloid/supervision/deprecate.rb +9 -0
  83. data/lib/celluloid/supervision/deprecate/supervise.rb +105 -0
  84. data/lib/celluloid/supervision/deprecate/validation.rb +54 -0
  85. data/lib/celluloid/supervision/service.rb +27 -0
  86. data/lib/celluloid/supervision/supervise.rb +34 -0
  87. data/lib/celluloid/supervision/validation.rb +40 -0
  88. data/lib/celluloid/supervision/version.rb +5 -0
  89. data/lib/celluloid/system_events.rb +11 -6
  90. data/lib/celluloid/task.rb +25 -12
  91. data/lib/celluloid/task/fibered.rb +2 -0
  92. data/lib/celluloid/task/threaded.rb +3 -3
  93. data/lib/celluloid/test.rb +5 -2
  94. data/lib/celluloid/thread.rb +0 -2
  95. data/lib/celluloid/version.rb +1 -1
  96. data/spec/celluloid/block_spec.rb +29 -32
  97. data/spec/celluloid/calls_spec.rb +5 -15
  98. data/spec/celluloid/future_spec.rb +2 -2
  99. data/spec/celluloid/internals/cpu_counter_spec.rb +129 -0
  100. data/spec/celluloid/internals/links_spec.rb +43 -0
  101. data/spec/celluloid/internals/properties_spec.rb +40 -0
  102. data/spec/celluloid/internals/registry_spec.rb +62 -0
  103. data/spec/celluloid/internals/stack/dump_spec.rb +4 -0
  104. data/spec/celluloid/internals/stack/summary_spec.rb +4 -0
  105. data/spec/celluloid/internals/thread_handle_spec.rb +60 -0
  106. data/spec/celluloid/internals/uuid_spec.rb +9 -0
  107. data/spec/celluloid/logging/ring_buffer_spec.rb +36 -0
  108. data/spec/celluloid/mailbox/evented_spec.rb +11 -22
  109. data/spec/celluloid/misc/leak_spec.rb +3 -4
  110. data/spec/celluloid/notifications_spec.rb +140 -0
  111. data/spec/celluloid/probe_spec.rb +102 -0
  112. data/spec/celluloid/proxy_spec.rb +30 -30
  113. data/spec/celluloid/supervision/behavior_spec.rb +74 -0
  114. data/spec/celluloid/supervision/configuration_spec.rb +181 -0
  115. data/spec/celluloid/supervision/container_spec.rb +72 -0
  116. data/spec/celluloid/supervision/instance_spec.rb +13 -0
  117. data/spec/celluloid/supervision/root_spec.rb +28 -0
  118. data/spec/celluloid/supervision/supervisor_spec.rb +93 -0
  119. data/spec/celluloid/task/fibered_spec.rb +1 -3
  120. data/spec/celluloid/task/threaded_spec.rb +1 -3
  121. data/spec/shared/actor_examples.rb +58 -33
  122. data/spec/shared/group_examples.rb +2 -2
  123. data/spec/shared/mailbox_examples.rb +1 -1
  124. data/spec/shared/stack_examples.rb +87 -0
  125. data/spec/shared/task_examples.rb +2 -3
  126. data/spec/spec_helper.rb +2 -4
  127. data/spec/support/configure_rspec.rb +2 -3
  128. data/spec/support/coverage.rb +2 -4
  129. data/spec/support/crash_checking.rb +2 -2
  130. data/spec/support/examples/actor_class.rb +3 -8
  131. data/spec/support/examples/call_class.rb +2 -2
  132. data/spec/support/examples/container_class.rb +35 -0
  133. data/spec/support/examples/evented_mailbox_class.rb +1 -2
  134. data/spec/support/examples/stack_classes.rb +58 -0
  135. data/spec/support/examples/stack_methods.rb +23 -0
  136. data/spec/support/examples/subordinate_class.rb +19 -0
  137. data/spec/support/logging.rb +2 -34
  138. data/spec/support/loose_threads.rb +3 -16
  139. data/spec/support/reset_class_variables.rb +5 -1
  140. data/spec/support/stubbing.rb +1 -1
  141. metadata +91 -316
  142. data/culture/CONDUCT.md +0 -38
  143. data/culture/GSoC/1010-why_we_will_participate.md +0 -17
  144. data/culture/GSoC/1020-how_mentors_stay_engaged.md +0 -7
  145. data/culture/GSoC/1030-keeping_students_on_schedule.md +0 -9
  146. data/culture/GSoC/1040-getting_students_involved.md +0 -5
  147. data/culture/GSoC/1050-student_involvement_after.md +0 -5
  148. data/culture/GSoC/README.md +0 -16
  149. data/culture/Gemfile +0 -9
  150. data/culture/LICENSE.txt +0 -22
  151. data/culture/README.md +0 -22
  152. data/culture/Rakefile +0 -5
  153. data/culture/SYNC.md +0 -70
  154. data/culture/celluloid-culture.gemspec +0 -18
  155. data/culture/gems/README.md +0 -39
  156. data/culture/gems/dependencies.yml +0 -93
  157. data/culture/gems/loader.rb +0 -101
  158. data/culture/rubocop/README.md +0 -38
  159. data/culture/rubocop/lint.yml +0 -8
  160. data/culture/rubocop/metrics.yml +0 -15
  161. data/culture/rubocop/rubocop.yml +0 -5
  162. data/culture/rubocop/style.yml +0 -61
  163. data/culture/spec/gems_spec.rb +0 -2
  164. data/culture/spec/spec_helper.rb +0 -0
  165. data/culture/spec/sync_spec.rb +0 -2
  166. data/culture/sync.rb +0 -56
  167. data/culture/tasks/rspec.rake +0 -5
  168. data/culture/tasks/rubocop.rake +0 -2
  169. data/lib/celluloid/actor/manager.rb +0 -7
  170. data/lib/celluloid/deprecate.rb +0 -34
  171. data/lib/celluloid/fiber.rb +0 -32
  172. data/lib/celluloid/notices.rb +0 -15
  173. data/spec/deprecate/actor_system_spec.rb +0 -72
  174. data/spec/deprecate/block_spec.rb +0 -52
  175. data/spec/deprecate/calls_spec.rb +0 -39
  176. data/spec/deprecate/evented_mailbox_spec.rb +0 -34
  177. data/spec/deprecate/future_spec.rb +0 -32
  178. data/spec/deprecate/internal_pool_spec.rb +0 -4
  179. 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
- end
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
- (RUBY_PLATFORM == "java") ? thread.to_java.getNativeThread.get_name : ""
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
- fail Celluloid::ThreadLeak, "Aborted due to runaway threads (#{location})\n"\
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[-([description.size, 20].min)..-1]
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
 
@@ -3,7 +3,7 @@ module Specs
3
3
  meta = (class << mod; self; end)
4
4
  original_meth = "original_#{meth}".to_sym
5
5
 
6
- fail "ALREADY TRACED: #{mod}.#{meth}" if mod.respond_to?(original_meth)
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celluloid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0.pre
4
+ version: 0.18.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
@@ -9,337 +9,47 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-26 00:00:00.000000000 Z
12
+ date: 2018-08-28 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: listen
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - '='
145
- - !ruby/object:Gem::Version
146
- version: 3.0.3
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - '='
152
- - !ruby/object:Gem::Version
153
- version: 3.0.3
154
- - !ruby/object:Gem::Dependency
155
- name: guard
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - '='
159
- - !ruby/object:Gem::Version
160
- version: 2.13.0
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - '='
166
- - !ruby/object:Gem::Version
167
- version: 2.13.0
168
- - !ruby/object:Gem::Dependency
169
- name: guard-rspec
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: rspec-retry
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- version: '0'
189
- type: :development
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: coveralls
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: '0'
203
- type: :development
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-essentials
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-supervision
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-pool
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
- - !ruby/object:Gem::Dependency
253
- name: celluloid-fsm
254
- requirement: !ruby/object:Gem::Requirement
255
- requirements:
256
- - - ">="
257
- - !ruby/object:Gem::Version
258
- version: '0'
259
- type: :runtime
260
- prerelease: false
261
- version_requirements: !ruby/object:Gem::Requirement
262
- requirements:
263
- - - ">="
264
- - !ruby/object:Gem::Version
265
- version: '0'
266
- - !ruby/object:Gem::Dependency
267
- name: celluloid-extras
268
- requirement: !ruby/object:Gem::Requirement
269
- requirements:
270
- - - ">="
271
- - !ruby/object:Gem::Version
272
- version: '0'
273
- type: :runtime
274
- prerelease: false
275
- version_requirements: !ruby/object:Gem::Requirement
276
- requirements:
277
- - - ">="
278
- - !ruby/object:Gem::Version
279
- version: '0'
280
14
  - !ruby/object:Gem::Dependency
281
15
  name: timers
282
16
  requirement: !ruby/object:Gem::Requirement
283
17
  requirements:
284
- - - ">="
18
+ - - "~>"
285
19
  - !ruby/object:Gem::Version
286
- version: 4.1.1
20
+ version: '4'
287
21
  type: :runtime
288
22
  prerelease: false
289
23
  version_requirements: !ruby/object:Gem::Requirement
290
24
  requirements:
291
- - - ">="
25
+ - - "~>"
292
26
  - !ruby/object:Gem::Version
293
- version: 4.1.1
27
+ version: '4'
294
28
  description: Celluloid enables people to build concurrent programs out of concurrent
295
29
  objects just as easily as they build sequential programs out of sequential objects
296
30
  email:
297
- - tony.arcieri@gmail.com
31
+ - bascule@gmail.com
298
32
  - code@extremist.digital
299
33
  executables: []
300
34
  extensions: []
301
35
  extra_rdoc_files: []
302
36
  files:
303
37
  - CHANGES.md
38
+ - CONDUCT.md
39
+ - CONTRIBUTING.md
304
40
  - LICENSE.txt
305
41
  - README.md
306
- - culture/CONDUCT.md
307
- - culture/GSoC/1010-why_we_will_participate.md
308
- - culture/GSoC/1020-how_mentors_stay_engaged.md
309
- - culture/GSoC/1030-keeping_students_on_schedule.md
310
- - culture/GSoC/1040-getting_students_involved.md
311
- - culture/GSoC/1050-student_involvement_after.md
312
- - culture/GSoC/README.md
313
- - culture/Gemfile
314
- - culture/LICENSE.txt
315
- - culture/README.md
316
- - culture/Rakefile
317
- - culture/SYNC.md
318
- - culture/celluloid-culture.gemspec
319
- - culture/gems/README.md
320
- - culture/gems/dependencies.yml
321
- - culture/gems/loader.rb
322
- - culture/rubocop/README.md
323
- - culture/rubocop/lint.yml
324
- - culture/rubocop/metrics.yml
325
- - culture/rubocop/perf.yml
326
- - culture/rubocop/rubocop.yml
327
- - culture/rubocop/style.yml
328
- - culture/spec/gems_spec.rb
329
- - culture/spec/spec_helper.rb
330
- - culture/spec/sync_spec.rb
331
- - culture/sync.rb
332
- - culture/tasks/rspec.rake
333
- - culture/tasks/rubocop.rake
42
+ - architecture.md
334
43
  - examples/basic_usage.rb
44
+ - examples/configurations.rb
335
45
  - examples/futures.rb
336
46
  - examples/ring.rb
337
47
  - examples/simple_pmap.rb
338
48
  - examples/stack.rb
49
+ - examples/supervisors_and_registry.rb
339
50
  - examples/timers.rb
340
51
  - lib/celluloid.rb
341
52
  - lib/celluloid/actor.rb
342
- - lib/celluloid/actor/manager.rb
343
53
  - lib/celluloid/actor/system.rb
344
54
  - lib/celluloid/autostart.rb
345
55
  - lib/celluloid/backported.rb
@@ -352,18 +62,41 @@ files:
352
62
  - lib/celluloid/core_ext.rb
353
63
  - lib/celluloid/current.rb
354
64
  - lib/celluloid/debug.rb
355
- - lib/celluloid/deprecate.rb
356
65
  - lib/celluloid/exceptions.rb
357
- - lib/celluloid/fiber.rb
358
66
  - lib/celluloid/future.rb
359
67
  - lib/celluloid/group.rb
360
68
  - lib/celluloid/group/pool.rb
361
69
  - lib/celluloid/group/spawner.rb
70
+ - lib/celluloid/internals/call_chain.rb
71
+ - lib/celluloid/internals/cpu_counter.rb
72
+ - lib/celluloid/internals/handlers.rb
73
+ - lib/celluloid/internals/links.rb
74
+ - lib/celluloid/internals/logger.rb
75
+ - lib/celluloid/internals/method.rb
76
+ - lib/celluloid/internals/properties.rb
77
+ - lib/celluloid/internals/receivers.rb
78
+ - lib/celluloid/internals/registry.rb
79
+ - lib/celluloid/internals/responses.rb
80
+ - lib/celluloid/internals/signals.rb
81
+ - lib/celluloid/internals/stack.rb
82
+ - lib/celluloid/internals/stack/dump.rb
83
+ - lib/celluloid/internals/stack/states.rb
84
+ - lib/celluloid/internals/stack/summary.rb
85
+ - lib/celluloid/internals/task_set.rb
86
+ - lib/celluloid/internals/thread_handle.rb
87
+ - lib/celluloid/internals/uuid.rb
362
88
  - lib/celluloid/logging.rb
89
+ - lib/celluloid/logging/incident.rb
90
+ - lib/celluloid/logging/incident_logger.rb
91
+ - lib/celluloid/logging/incident_reporter.rb
92
+ - lib/celluloid/logging/log_event.rb
93
+ - lib/celluloid/logging/ring_buffer.rb
363
94
  - lib/celluloid/mailbox.rb
364
95
  - lib/celluloid/mailbox/evented.rb
365
96
  - lib/celluloid/managed.rb
366
- - lib/celluloid/notices.rb
97
+ - lib/celluloid/notifications.rb
98
+ - lib/celluloid/pool.rb
99
+ - lib/celluloid/probe.rb
367
100
  - lib/celluloid/proxies.rb
368
101
  - lib/celluloid/proxy/abstract.rb
369
102
  - lib/celluloid/proxy/actor.rb
@@ -373,6 +106,26 @@ files:
373
106
  - lib/celluloid/proxy/future.rb
374
107
  - lib/celluloid/proxy/sync.rb
375
108
  - lib/celluloid/rspec.rb
109
+ - lib/celluloid/supervision.rb
110
+ - lib/celluloid/supervision/configuration.rb
111
+ - lib/celluloid/supervision/configuration/injections.rb
112
+ - lib/celluloid/supervision/configuration/instance.rb
113
+ - lib/celluloid/supervision/constants.rb
114
+ - lib/celluloid/supervision/container.rb
115
+ - lib/celluloid/supervision/container/behavior.rb
116
+ - lib/celluloid/supervision/container/behavior/pool.rb
117
+ - lib/celluloid/supervision/container/behavior/tree.rb
118
+ - lib/celluloid/supervision/container/injections.rb
119
+ - lib/celluloid/supervision/container/instance.rb
120
+ - lib/celluloid/supervision/container/pool.rb
121
+ - lib/celluloid/supervision/container/tree.rb
122
+ - lib/celluloid/supervision/deprecate.rb
123
+ - lib/celluloid/supervision/deprecate/supervise.rb
124
+ - lib/celluloid/supervision/deprecate/validation.rb
125
+ - lib/celluloid/supervision/service.rb
126
+ - lib/celluloid/supervision/supervise.rb
127
+ - lib/celluloid/supervision/validation.rb
128
+ - lib/celluloid/supervision/version.rb
376
129
  - lib/celluloid/system_events.rb
377
130
  - lib/celluloid/task.rb
378
131
  - lib/celluloid/task/fibered.rb
@@ -390,32 +143,47 @@ files:
390
143
  - spec/celluloid/group/elastic_spec.rb
391
144
  - spec/celluloid/group/pool_spec.rb
392
145
  - spec/celluloid/group/spawner_spec.rb
146
+ - spec/celluloid/internals/cpu_counter_spec.rb
147
+ - spec/celluloid/internals/links_spec.rb
148
+ - spec/celluloid/internals/properties_spec.rb
149
+ - spec/celluloid/internals/registry_spec.rb
150
+ - spec/celluloid/internals/stack/dump_spec.rb
151
+ - spec/celluloid/internals/stack/summary_spec.rb
152
+ - spec/celluloid/internals/thread_handle_spec.rb
153
+ - spec/celluloid/internals/uuid_spec.rb
154
+ - spec/celluloid/logging/ring_buffer_spec.rb
393
155
  - spec/celluloid/mailbox/evented_spec.rb
394
156
  - spec/celluloid/mailbox_spec.rb
395
157
  - spec/celluloid/misc/leak_spec.rb
158
+ - spec/celluloid/notifications_spec.rb
159
+ - spec/celluloid/probe_spec.rb
396
160
  - spec/celluloid/proxy_spec.rb
161
+ - spec/celluloid/supervision/behavior_spec.rb
162
+ - spec/celluloid/supervision/configuration_spec.rb
163
+ - spec/celluloid/supervision/container_spec.rb
164
+ - spec/celluloid/supervision/instance_spec.rb
165
+ - spec/celluloid/supervision/root_spec.rb
166
+ - spec/celluloid/supervision/supervisor_spec.rb
397
167
  - spec/celluloid/task/fibered_spec.rb
398
168
  - spec/celluloid/task/threaded_spec.rb
399
169
  - spec/celluloid/timer_spec.rb
400
- - spec/deprecate/actor_system_spec.rb
401
- - spec/deprecate/block_spec.rb
402
- - spec/deprecate/calls_spec.rb
403
- - spec/deprecate/evented_mailbox_spec.rb
404
- - spec/deprecate/future_spec.rb
405
- - spec/deprecate/internal_pool_spec.rb
406
170
  - spec/shared/actor_examples.rb
407
171
  - spec/shared/group_examples.rb
408
172
  - spec/shared/mailbox_examples.rb
173
+ - spec/shared/stack_examples.rb
409
174
  - spec/shared/task_examples.rb
410
175
  - spec/spec_helper.rb
411
176
  - spec/support/configure_rspec.rb
412
177
  - spec/support/coverage.rb
413
178
  - spec/support/crash_checking.rb
414
179
  - spec/support/debugging.rb
415
- - spec/support/env.rb
416
180
  - spec/support/examples/actor_class.rb
417
181
  - spec/support/examples/call_class.rb
182
+ - spec/support/examples/container_class.rb
418
183
  - spec/support/examples/evented_mailbox_class.rb
184
+ - spec/support/examples/stack_classes.rb
185
+ - spec/support/examples/stack_methods.rb
186
+ - spec/support/examples/subordinate_class.rb
419
187
  - spec/support/includer.rb
420
188
  - spec/support/logging.rb
421
189
  - spec/support/loose_threads.rb
@@ -425,7 +193,14 @@ files:
425
193
  homepage: https://github.com/celluloid/celluloid
426
194
  licenses:
427
195
  - MIT
428
- metadata: {}
196
+ metadata:
197
+ bug_tracker_uri: https://github.com/celluloid/celluloid/issues
198
+ changelog_uri: https://github.com/celluloid/celluloid/blob/master/CHANGES.md
199
+ documentation_uri: https://www.rubydoc.info/gems/celluloid
200
+ homepage_uri: https://celluloid.io/
201
+ mailing_list_uri: http://groups.google.com/group/celluloid-ruby
202
+ source_code_uri: https://github.com/celluloid/celluloid
203
+ wiki_uri: https://github.com/celluloid/celluloid/wiki
429
204
  post_install_message:
430
205
  rdoc_options: []
431
206
  require_paths:
@@ -434,15 +209,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
434
209
  requirements:
435
210
  - - ">="
436
211
  - !ruby/object:Gem::Version
437
- version: 1.9.3
212
+ version: 2.2.6
438
213
  required_rubygems_version: !ruby/object:Gem::Requirement
439
214
  requirements:
440
215
  - - ">="
441
216
  - !ruby/object:Gem::Version
442
- version: 1.3.6
217
+ version: 2.0.0
443
218
  requirements: []
444
219
  rubyforge_project:
445
- rubygems_version: 2.5.2
220
+ rubygems_version: 2.7.4
446
221
  signing_key:
447
222
  specification_version: 4
448
223
  summary: Actor-based concurrent object framework for Ruby