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,198 @@
|
|
1
|
+
!RBIX
|
2
|
+
3578385345186687227
|
3
|
+
18
|
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
|
+
I
|
50
|
+
0
|
51
|
+
n
|
52
|
+
p
|
53
|
+
5
|
54
|
+
x
|
55
|
+
9
|
56
|
+
Celluloid
|
57
|
+
x
|
58
|
+
11
|
59
|
+
open_module
|
60
|
+
x
|
61
|
+
15
|
62
|
+
__module_init__
|
63
|
+
M
|
64
|
+
1
|
65
|
+
n
|
66
|
+
n
|
67
|
+
x
|
68
|
+
9
|
69
|
+
Celluloid
|
70
|
+
i
|
71
|
+
23
|
72
|
+
5
|
73
|
+
66
|
74
|
+
65
|
75
|
+
7
|
76
|
+
0
|
77
|
+
7
|
78
|
+
1
|
79
|
+
64
|
80
|
+
49
|
81
|
+
2
|
82
|
+
2
|
83
|
+
15
|
84
|
+
99
|
85
|
+
7
|
86
|
+
3
|
87
|
+
7
|
88
|
+
4
|
89
|
+
65
|
90
|
+
5
|
91
|
+
49
|
92
|
+
5
|
93
|
+
4
|
94
|
+
11
|
95
|
+
I
|
96
|
+
5
|
97
|
+
I
|
98
|
+
0
|
99
|
+
I
|
100
|
+
0
|
101
|
+
I
|
102
|
+
0
|
103
|
+
I
|
104
|
+
0
|
105
|
+
n
|
106
|
+
p
|
107
|
+
6
|
108
|
+
x
|
109
|
+
7
|
110
|
+
VERSION
|
111
|
+
s
|
112
|
+
5
|
113
|
+
0.1.0
|
114
|
+
x
|
115
|
+
9
|
116
|
+
const_set
|
117
|
+
x
|
118
|
+
7
|
119
|
+
version
|
120
|
+
M
|
121
|
+
1
|
122
|
+
n
|
123
|
+
n
|
124
|
+
x
|
125
|
+
7
|
126
|
+
version
|
127
|
+
i
|
128
|
+
4
|
129
|
+
45
|
130
|
+
0
|
131
|
+
1
|
132
|
+
11
|
133
|
+
I
|
134
|
+
1
|
135
|
+
I
|
136
|
+
0
|
137
|
+
I
|
138
|
+
0
|
139
|
+
I
|
140
|
+
0
|
141
|
+
I
|
142
|
+
0
|
143
|
+
n
|
144
|
+
p
|
145
|
+
2
|
146
|
+
x
|
147
|
+
7
|
148
|
+
VERSION
|
149
|
+
n
|
150
|
+
p
|
151
|
+
3
|
152
|
+
I
|
153
|
+
-1
|
154
|
+
I
|
155
|
+
3
|
156
|
+
I
|
157
|
+
4
|
158
|
+
x
|
159
|
+
50
|
160
|
+
/Users/tony/src/celluloid/lib/celluloid/version.rb
|
161
|
+
p
|
162
|
+
0
|
163
|
+
x
|
164
|
+
13
|
165
|
+
attach_method
|
166
|
+
p
|
167
|
+
5
|
168
|
+
I
|
169
|
+
2
|
170
|
+
I
|
171
|
+
2
|
172
|
+
I
|
173
|
+
c
|
174
|
+
I
|
175
|
+
3
|
176
|
+
I
|
177
|
+
17
|
178
|
+
x
|
179
|
+
50
|
180
|
+
/Users/tony/src/celluloid/lib/celluloid/version.rb
|
181
|
+
p
|
182
|
+
0
|
183
|
+
x
|
184
|
+
13
|
185
|
+
attach_method
|
186
|
+
p
|
187
|
+
3
|
188
|
+
I
|
189
|
+
0
|
190
|
+
I
|
191
|
+
1
|
192
|
+
I
|
193
|
+
1c
|
194
|
+
x
|
195
|
+
50
|
196
|
+
/Users/tony/src/celluloid/lib/celluloid/version.rb
|
197
|
+
p
|
198
|
+
0
|
Binary file
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: celluloid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0
|
5
|
+
version: 0.1.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tony Arcieri
|
@@ -10,85 +10,73 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-06-21 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
17
|
+
name: rake
|
18
|
+
prerelease: false
|
18
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
20
|
none: false
|
20
21
|
requirements:
|
21
22
|
- - ">="
|
22
23
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
24
|
+
version: "0"
|
24
25
|
type: :development
|
25
|
-
prerelease: false
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
|
+
prerelease: false
|
29
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
31
|
none: false
|
31
32
|
requirements:
|
32
|
-
- -
|
33
|
+
- - ">="
|
33
34
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
35
|
+
version: 2.3.0
|
35
36
|
type: :development
|
36
|
-
prerelease: false
|
37
37
|
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: jeweler
|
40
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 1.5.2
|
46
|
-
type: :development
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: *id003
|
49
38
|
description: Celluloid is a concurrent object framework inspired by the Actor Model
|
50
|
-
email:
|
39
|
+
email:
|
40
|
+
- tony@medioh.com
|
51
41
|
executables: []
|
52
42
|
|
53
43
|
extensions: []
|
54
44
|
|
55
|
-
extra_rdoc_files:
|
56
|
-
|
57
|
-
- README.md
|
45
|
+
extra_rdoc_files: []
|
46
|
+
|
58
47
|
files:
|
59
|
-
- .autotest
|
60
|
-
- .document
|
61
|
-
- .rspec
|
62
|
-
- CHANGES.md
|
63
|
-
- Gemfile
|
64
|
-
- Gemfile.lock
|
65
|
-
- LICENSE.txt
|
66
48
|
- README.md
|
67
|
-
- Rakefile
|
68
|
-
- VERSION
|
69
|
-
- celluloid.gemspec
|
70
|
-
- lib/celluloid.rb
|
71
49
|
- lib/celluloid/actor.rb
|
50
|
+
- lib/celluloid/actor.rbc
|
72
51
|
- lib/celluloid/actor_proxy.rb
|
52
|
+
- lib/celluloid/actor_proxy.rbc
|
73
53
|
- lib/celluloid/calls.rb
|
54
|
+
- lib/celluloid/calls.rbc
|
74
55
|
- lib/celluloid/core_ext.rb
|
56
|
+
- lib/celluloid/core_ext.rbc
|
75
57
|
- lib/celluloid/events.rb
|
58
|
+
- lib/celluloid/events.rbc
|
76
59
|
- lib/celluloid/future.rb
|
60
|
+
- lib/celluloid/future.rbc
|
77
61
|
- lib/celluloid/linking.rb
|
62
|
+
- lib/celluloid/linking.rbc
|
78
63
|
- lib/celluloid/mailbox.rb
|
64
|
+
- lib/celluloid/mailbox.rbc
|
65
|
+
- lib/celluloid/reference.rbc
|
79
66
|
- lib/celluloid/registry.rb
|
67
|
+
- lib/celluloid/registry.rbc
|
80
68
|
- lib/celluloid/responses.rb
|
69
|
+
- lib/celluloid/responses.rbc
|
81
70
|
- lib/celluloid/supervisor.rb
|
82
|
-
- lib/celluloid/
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
- spec/waker_spec.rb
|
71
|
+
- lib/celluloid/supervisor.rbc
|
72
|
+
- lib/celluloid/tuple.rbc
|
73
|
+
- lib/celluloid/version.rb
|
74
|
+
- lib/celluloid/version.rbc
|
75
|
+
- lib/celluloid/waker.rbc
|
76
|
+
- lib/celluloid.rb
|
77
|
+
- lib/celluloid.rbc
|
90
78
|
has_rdoc: true
|
91
|
-
homepage:
|
79
|
+
homepage: https://github.com/tarcieri/celluloid
|
92
80
|
licenses:
|
93
81
|
- MIT
|
94
82
|
post_install_message:
|
@@ -101,28 +89,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
89
|
requirements:
|
102
90
|
- - ">="
|
103
91
|
- !ruby/object:Gem::Version
|
104
|
-
hash: -3642315135359946439
|
105
|
-
segments:
|
106
|
-
- 0
|
107
92
|
version: "0"
|
108
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
94
|
none: false
|
110
95
|
requirements:
|
111
96
|
- - ">="
|
112
97
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
98
|
+
version: 1.3.6
|
114
99
|
requirements: []
|
115
100
|
|
116
101
|
rubyforge_project:
|
117
102
|
rubygems_version: 1.6.2
|
118
103
|
signing_key:
|
119
104
|
specification_version: 3
|
120
|
-
summary:
|
121
|
-
test_files:
|
122
|
-
|
123
|
-
- spec/future_spec.rb
|
124
|
-
- spec/mailbox_spec.rb
|
125
|
-
- spec/registry_spec.rb
|
126
|
-
- spec/spec_helper.rb
|
127
|
-
- spec/supervisor_spec.rb
|
128
|
-
- spec/waker_spec.rb
|
105
|
+
summary: Celluloid is a concurrent object framework inspired by the Actor Model
|
106
|
+
test_files: []
|
107
|
+
|
data/.autotest
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
require 'autotest/rspec2'
|
2
|
-
|
3
|
-
Autotest.add_hook :initialize do |autotest|
|
4
|
-
autotest.add_exception '.git'
|
5
|
-
autotest.clear_mappings
|
6
|
-
|
7
|
-
# Map specs to themselves
|
8
|
-
autotest.add_mapping(%r<^spec/.*_spec.rb$>) { |file, _| file }
|
9
|
-
|
10
|
-
# Map libraries to specs
|
11
|
-
autotest.add_mapping(%r<lib/celluloid/(.*).rb$>) do |_, m|
|
12
|
-
["spec/#{m[1]}_spec.rb"]
|
13
|
-
end
|
14
|
-
end
|
data/.document
DELETED
data/.rspec
DELETED
data/CHANGES.md
DELETED
data/Gemfile
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
|
3
|
-
# Add dependencies required to use your gem here.
|
4
|
-
# Example:
|
5
|
-
# gem "activesupport", ">= 2.3.5"
|
6
|
-
|
7
|
-
# Add dependencies to develop your gem here.
|
8
|
-
# Include everything needed to run rake, tests, features, etc.
|
9
|
-
group :development do
|
10
|
-
gem "rspec", ">= 2.3.0"
|
11
|
-
gem "bundler", "~> 1.0.0"
|
12
|
-
gem "jeweler", "~> 1.5.2"
|
13
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
diff-lcs (1.1.2)
|
5
|
-
git (1.2.5)
|
6
|
-
jeweler (1.5.2)
|
7
|
-
bundler (~> 1.0.0)
|
8
|
-
git (>= 1.2.5)
|
9
|
-
rake
|
10
|
-
rake (0.8.7)
|
11
|
-
rspec (2.5.0)
|
12
|
-
rspec-core (~> 2.5.0)
|
13
|
-
rspec-expectations (~> 2.5.0)
|
14
|
-
rspec-mocks (~> 2.5.0)
|
15
|
-
rspec-core (2.5.1)
|
16
|
-
rspec-expectations (2.5.0)
|
17
|
-
diff-lcs (~> 1.1.2)
|
18
|
-
rspec-mocks (2.5.0)
|
19
|
-
|
20
|
-
PLATFORMS
|
21
|
-
java
|
22
|
-
ruby
|
23
|
-
|
24
|
-
DEPENDENCIES
|
25
|
-
bundler (~> 1.0.0)
|
26
|
-
jeweler (~> 1.5.2)
|
27
|
-
rspec (>= 2.3.0)
|
data/LICENSE.txt
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2011 Tony Arcieri
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|