celluloid 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +25 -8
- data/lib/celluloid.rb +16 -7
- data/lib/celluloid.rbc +702 -0
- data/lib/celluloid/actor.rb +98 -32
- data/lib/celluloid/actor.rbc +4637 -0
- data/lib/celluloid/actor_proxy.rb +19 -3
- data/lib/celluloid/actor_proxy.rbc +1884 -0
- data/lib/celluloid/calls.rbc +1384 -0
- data/lib/celluloid/core_ext.rb +1 -1
- data/lib/celluloid/core_ext.rbc +255 -0
- data/lib/celluloid/events.rb +1 -1
- data/lib/celluloid/events.rbc +357 -0
- data/lib/celluloid/future.rbc +747 -0
- data/lib/celluloid/linking.rb +10 -0
- data/lib/celluloid/linking.rbc +1837 -0
- data/lib/celluloid/mailbox.rb +31 -37
- data/lib/celluloid/mailbox.rbc +1843 -0
- data/lib/celluloid/reference.rbc +128 -0
- data/lib/celluloid/registry.rbc +784 -0
- data/lib/celluloid/responses.rbc +344 -0
- data/lib/celluloid/supervisor.rbc +1032 -0
- data/lib/celluloid/tuple.rbc +459 -0
- data/lib/celluloid/version.rb +4 -0
- data/lib/celluloid/version.rbc +198 -0
- data/lib/celluloid/waker.rbc +0 -0
- metadata +36 -57
- data/.autotest +0 -14
- data/.document +0 -5
- data/.rspec +0 -3
- data/CHANGES.md +0 -8
- data/Gemfile +0 -13
- data/Gemfile.lock +0 -27
- data/LICENSE.txt +0 -20
- data/Rakefile +0 -51
- data/VERSION +0 -1
- data/celluloid.gemspec +0 -85
- data/lib/celluloid/waker.rb +0 -41
- data/spec/actor_spec.rb +0 -141
- data/spec/future_spec.rb +0 -20
- data/spec/mailbox_spec.rb +0 -50
- data/spec/registry_spec.rb +0 -22
- data/spec/spec_helper.rb +0 -9
- data/spec/supervisor_spec.rb +0 -94
- data/spec/waker_spec.rb +0 -34
@@ -0,0 +1,459 @@
|
|
1
|
+
!RBIX
|
2
|
+
10565180300906495541
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
28
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
65
|
17
|
+
49
|
18
|
+
1
|
19
|
+
2
|
20
|
+
13
|
21
|
+
99
|
22
|
+
12
|
23
|
+
7
|
24
|
+
2
|
25
|
+
12
|
26
|
+
7
|
27
|
+
3
|
28
|
+
12
|
29
|
+
65
|
30
|
+
12
|
31
|
+
49
|
32
|
+
4
|
33
|
+
4
|
34
|
+
15
|
35
|
+
49
|
36
|
+
2
|
37
|
+
0
|
38
|
+
15
|
39
|
+
2
|
40
|
+
11
|
41
|
+
I
|
42
|
+
6
|
43
|
+
I
|
44
|
+
0
|
45
|
+
I
|
46
|
+
0
|
47
|
+
I
|
48
|
+
0
|
49
|
+
n
|
50
|
+
p
|
51
|
+
5
|
52
|
+
x
|
53
|
+
9
|
54
|
+
Celluloid
|
55
|
+
x
|
56
|
+
11
|
57
|
+
open_module
|
58
|
+
x
|
59
|
+
15
|
60
|
+
__module_init__
|
61
|
+
M
|
62
|
+
1
|
63
|
+
n
|
64
|
+
n
|
65
|
+
x
|
66
|
+
9
|
67
|
+
Celluloid
|
68
|
+
i
|
69
|
+
31
|
70
|
+
5
|
71
|
+
66
|
72
|
+
99
|
73
|
+
7
|
74
|
+
0
|
75
|
+
45
|
76
|
+
1
|
77
|
+
2
|
78
|
+
65
|
79
|
+
49
|
80
|
+
3
|
81
|
+
3
|
82
|
+
13
|
83
|
+
99
|
84
|
+
12
|
85
|
+
7
|
86
|
+
4
|
87
|
+
12
|
88
|
+
7
|
89
|
+
5
|
90
|
+
12
|
91
|
+
65
|
92
|
+
12
|
93
|
+
49
|
94
|
+
6
|
95
|
+
4
|
96
|
+
15
|
97
|
+
49
|
98
|
+
4
|
99
|
+
0
|
100
|
+
11
|
101
|
+
I
|
102
|
+
6
|
103
|
+
I
|
104
|
+
0
|
105
|
+
I
|
106
|
+
0
|
107
|
+
I
|
108
|
+
0
|
109
|
+
n
|
110
|
+
p
|
111
|
+
7
|
112
|
+
x
|
113
|
+
5
|
114
|
+
Tuple
|
115
|
+
x
|
116
|
+
5
|
117
|
+
Array
|
118
|
+
n
|
119
|
+
x
|
120
|
+
10
|
121
|
+
open_class
|
122
|
+
x
|
123
|
+
14
|
124
|
+
__class_init__
|
125
|
+
M
|
126
|
+
1
|
127
|
+
n
|
128
|
+
n
|
129
|
+
x
|
130
|
+
5
|
131
|
+
Tuple
|
132
|
+
i
|
133
|
+
30
|
134
|
+
5
|
135
|
+
66
|
136
|
+
99
|
137
|
+
7
|
138
|
+
0
|
139
|
+
7
|
140
|
+
1
|
141
|
+
65
|
142
|
+
67
|
143
|
+
49
|
144
|
+
2
|
145
|
+
0
|
146
|
+
49
|
147
|
+
3
|
148
|
+
4
|
149
|
+
15
|
150
|
+
99
|
151
|
+
7
|
152
|
+
4
|
153
|
+
7
|
154
|
+
5
|
155
|
+
65
|
156
|
+
67
|
157
|
+
49
|
158
|
+
2
|
159
|
+
0
|
160
|
+
49
|
161
|
+
3
|
162
|
+
4
|
163
|
+
11
|
164
|
+
I
|
165
|
+
5
|
166
|
+
I
|
167
|
+
0
|
168
|
+
I
|
169
|
+
0
|
170
|
+
I
|
171
|
+
0
|
172
|
+
n
|
173
|
+
p
|
174
|
+
6
|
175
|
+
x
|
176
|
+
3
|
177
|
+
===
|
178
|
+
M
|
179
|
+
1
|
180
|
+
n
|
181
|
+
n
|
182
|
+
x
|
183
|
+
3
|
184
|
+
===
|
185
|
+
i
|
186
|
+
26
|
187
|
+
20
|
188
|
+
0
|
189
|
+
7
|
190
|
+
0
|
191
|
+
49
|
192
|
+
1
|
193
|
+
1
|
194
|
+
9
|
195
|
+
12
|
196
|
+
1
|
197
|
+
8
|
198
|
+
14
|
199
|
+
3
|
200
|
+
11
|
201
|
+
15
|
202
|
+
5
|
203
|
+
48
|
204
|
+
2
|
205
|
+
56
|
206
|
+
3
|
207
|
+
50
|
208
|
+
4
|
209
|
+
0
|
210
|
+
15
|
211
|
+
2
|
212
|
+
11
|
213
|
+
I
|
214
|
+
3
|
215
|
+
I
|
216
|
+
1
|
217
|
+
I
|
218
|
+
1
|
219
|
+
I
|
220
|
+
1
|
221
|
+
n
|
222
|
+
p
|
223
|
+
5
|
224
|
+
x
|
225
|
+
2
|
226
|
+
[]
|
227
|
+
x
|
228
|
+
11
|
229
|
+
respond_to?
|
230
|
+
x
|
231
|
+
4
|
232
|
+
size
|
233
|
+
M
|
234
|
+
1
|
235
|
+
p
|
236
|
+
2
|
237
|
+
x
|
238
|
+
9
|
239
|
+
for_block
|
240
|
+
t
|
241
|
+
n
|
242
|
+
x
|
243
|
+
3
|
244
|
+
===
|
245
|
+
i
|
246
|
+
29
|
247
|
+
57
|
248
|
+
19
|
249
|
+
0
|
250
|
+
15
|
251
|
+
5
|
252
|
+
20
|
253
|
+
0
|
254
|
+
47
|
255
|
+
49
|
256
|
+
0
|
257
|
+
1
|
258
|
+
21
|
259
|
+
1
|
260
|
+
0
|
261
|
+
20
|
262
|
+
0
|
263
|
+
49
|
264
|
+
0
|
265
|
+
1
|
266
|
+
86
|
267
|
+
1
|
268
|
+
9
|
269
|
+
26
|
270
|
+
1
|
271
|
+
8
|
272
|
+
28
|
273
|
+
3
|
274
|
+
31
|
275
|
+
11
|
276
|
+
I
|
277
|
+
5
|
278
|
+
I
|
279
|
+
1
|
280
|
+
I
|
281
|
+
1
|
282
|
+
I
|
283
|
+
1
|
284
|
+
n
|
285
|
+
p
|
286
|
+
2
|
287
|
+
x
|
288
|
+
2
|
289
|
+
[]
|
290
|
+
x
|
291
|
+
3
|
292
|
+
===
|
293
|
+
p
|
294
|
+
3
|
295
|
+
I
|
296
|
+
0
|
297
|
+
I
|
298
|
+
6
|
299
|
+
I
|
300
|
+
1d
|
301
|
+
x
|
302
|
+
48
|
303
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
304
|
+
p
|
305
|
+
1
|
306
|
+
x
|
307
|
+
1
|
308
|
+
n
|
309
|
+
x
|
310
|
+
5
|
311
|
+
times
|
312
|
+
p
|
313
|
+
9
|
314
|
+
I
|
315
|
+
-1
|
316
|
+
I
|
317
|
+
4
|
318
|
+
I
|
319
|
+
0
|
320
|
+
I
|
321
|
+
5
|
322
|
+
I
|
323
|
+
f
|
324
|
+
I
|
325
|
+
6
|
326
|
+
I
|
327
|
+
18
|
328
|
+
I
|
329
|
+
7
|
330
|
+
I
|
331
|
+
1a
|
332
|
+
x
|
333
|
+
48
|
334
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
335
|
+
p
|
336
|
+
1
|
337
|
+
x
|
338
|
+
3
|
339
|
+
obj
|
340
|
+
x
|
341
|
+
17
|
342
|
+
method_visibility
|
343
|
+
x
|
344
|
+
15
|
345
|
+
add_defn_method
|
346
|
+
x
|
347
|
+
7
|
348
|
+
inspect
|
349
|
+
M
|
350
|
+
1
|
351
|
+
n
|
352
|
+
n
|
353
|
+
x
|
354
|
+
7
|
355
|
+
inspect
|
356
|
+
i
|
357
|
+
16
|
358
|
+
5
|
359
|
+
49
|
360
|
+
0
|
361
|
+
0
|
362
|
+
47
|
363
|
+
101
|
364
|
+
1
|
365
|
+
54
|
366
|
+
89
|
367
|
+
2
|
368
|
+
47
|
369
|
+
101
|
370
|
+
1
|
371
|
+
63
|
372
|
+
2
|
373
|
+
11
|
374
|
+
I
|
375
|
+
2
|
376
|
+
I
|
377
|
+
0
|
378
|
+
I
|
379
|
+
0
|
380
|
+
I
|
381
|
+
0
|
382
|
+
n
|
383
|
+
p
|
384
|
+
3
|
385
|
+
x
|
386
|
+
5
|
387
|
+
class
|
388
|
+
x
|
389
|
+
4
|
390
|
+
to_s
|
391
|
+
x
|
392
|
+
7
|
393
|
+
inspect
|
394
|
+
p
|
395
|
+
5
|
396
|
+
I
|
397
|
+
-1
|
398
|
+
I
|
399
|
+
a
|
400
|
+
I
|
401
|
+
0
|
402
|
+
I
|
403
|
+
b
|
404
|
+
I
|
405
|
+
10
|
406
|
+
x
|
407
|
+
48
|
408
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
409
|
+
p
|
410
|
+
0
|
411
|
+
p
|
412
|
+
5
|
413
|
+
I
|
414
|
+
2
|
415
|
+
I
|
416
|
+
4
|
417
|
+
I
|
418
|
+
10
|
419
|
+
I
|
420
|
+
a
|
421
|
+
I
|
422
|
+
1e
|
423
|
+
x
|
424
|
+
48
|
425
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
426
|
+
p
|
427
|
+
0
|
428
|
+
x
|
429
|
+
13
|
430
|
+
attach_method
|
431
|
+
p
|
432
|
+
3
|
433
|
+
I
|
434
|
+
2
|
435
|
+
I
|
436
|
+
3
|
437
|
+
I
|
438
|
+
1f
|
439
|
+
x
|
440
|
+
48
|
441
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
442
|
+
p
|
443
|
+
0
|
444
|
+
x
|
445
|
+
13
|
446
|
+
attach_method
|
447
|
+
p
|
448
|
+
3
|
449
|
+
I
|
450
|
+
0
|
451
|
+
I
|
452
|
+
1
|
453
|
+
I
|
454
|
+
1c
|
455
|
+
x
|
456
|
+
48
|
457
|
+
/Users/tony/src/celluloid/lib/celluloid/tuple.rb
|
458
|
+
p
|
459
|
+
0
|