celluloid 0.17.1.1 → 0.17.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of celluloid might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/culture/LICENSE.txt +22 -0
- data/culture/celluloid-culture.gemspec +3 -3
- data/culture/gems/dependencies.yml +2 -2
- data/lib/celluloid/actor.rb +2 -1
- data/lib/celluloid/future.rb +4 -4
- data/lib/celluloid/version.rb +1 -1
- data/spec/celluloid/block_spec.rb +4 -4
- metadata +30 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f410e14db4441077b7642b2912ecd009652a3c7a
|
4
|
+
data.tar.gz: 11a6583dceb546cb9302ab5257a2feb1095b415f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c31f45caf8b91ee7a10a20ab3a858f4d3101e7f8e597d6c4434104a226d0c437b299895e67b1fbd67f1396e1481057560cec216aedf448fa4c3efd93d7e101
|
7
|
+
data.tar.gz: 65c78e6b525fc3b54659db9a0a47feacf00abd0f2f1d0b23d1581551b62e8d6bb5027e51116c770c12f92c602688a8e6d9f48ad418946dba5e7ab7ed7b572539
|
data/README.md
CHANGED
@@ -139,7 +139,7 @@ Or install it yourself as:
|
|
139
139
|
|
140
140
|
$ gem install celluloid
|
141
141
|
|
142
|
-
Inside of your Ruby program, require Celluloid with [newest API](/celluloid/celluloid/wiki/DEPRECATION-WARNING):
|
142
|
+
Inside of your Ruby program, require Celluloid with [newest API](https://github.com/celluloid/celluloid/wiki/DEPRECATION-WARNING):
|
143
143
|
|
144
144
|
```ruby
|
145
145
|
require 'celluloid/current'
|
@@ -181,4 +181,5 @@ License
|
|
181
181
|
-------
|
182
182
|
|
183
183
|
Copyright (c) 2011-2015 Tony Arcieri, Donovan Keme.
|
184
|
+
|
184
185
|
Distributed under the MIT License. See [LICENSE.txt](https://github.com/celluloid/celluloid/blob/master/LICENSE.txt) for further details.
|
data/culture/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Tony Arcieri, Donovan Keme
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "celluloid-culture"
|
5
|
-
spec.version = "0.1.
|
6
|
-
spec.authors = ["Tony Arcieri"]
|
7
|
-
spec.email = ["bascule@gmail.com"]
|
5
|
+
spec.version = "0.1.2"
|
6
|
+
spec.authors = ["Tony Arcieri", "Donovan Keme"]
|
7
|
+
spec.email = ["bascule@gmail.com", "code@extremist.digital"]
|
8
8
|
|
9
9
|
spec.summary = "The culture of Celluloid, in RubyGem form!"
|
10
10
|
spec.description = "In which we try to codify Celluloid's life philosophy as Ruby"
|
@@ -30,7 +30,7 @@ coveralls:
|
|
30
30
|
|
31
31
|
celluloid:
|
32
32
|
dependency: core
|
33
|
-
version: "
|
33
|
+
version: ">= 0.17.1.1"
|
34
34
|
gemfile:
|
35
35
|
github: celluloid/celluloid
|
36
36
|
branch: master
|
@@ -72,7 +72,7 @@ celluloid-extras:
|
|
72
72
|
submodules: true
|
73
73
|
|
74
74
|
timers:
|
75
|
-
version: "
|
75
|
+
version: ">= 4.1.1"
|
76
76
|
gemfile:
|
77
77
|
github: celluloid/timers
|
78
78
|
|
data/lib/celluloid/actor.rb
CHANGED
data/lib/celluloid/future.rb
CHANGED
@@ -8,12 +8,12 @@ module Celluloid
|
|
8
8
|
return super unless block
|
9
9
|
|
10
10
|
future = new
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# task = Thread.current[:celluloid_task]
|
12
|
+
# actor = Thread.current[:celluloid_actor]
|
13
13
|
Internals::ThreadHandle.new(Celluloid.actor_system, :future) do
|
14
14
|
begin
|
15
|
-
#
|
16
|
-
#
|
15
|
+
# Thread.current[:celluloid_task] = task
|
16
|
+
# Thread.current[:celluloid_actor] = actor
|
17
17
|
call = Call::Sync.new(future, :call, args)
|
18
18
|
call.dispatch(block)
|
19
19
|
rescue
|
data/lib/celluloid/version.rb
CHANGED
@@ -82,11 +82,11 @@ RSpec.describe "Blocks", actor_system: :global do
|
|
82
82
|
.to eq(:pete_the_polyglot_alien)
|
83
83
|
}
|
84
84
|
|
85
|
-
unless RUBY_ENGINE == 'jruby'
|
85
|
+
# unless RUBY_ENGINE == 'jruby'
|
86
86
|
xit("can be deferred", &execute_deferred)
|
87
|
-
else
|
88
|
-
|
89
|
-
end
|
87
|
+
# else
|
88
|
+
# it("can be deferred", &execute_deferred)
|
89
|
+
# end
|
90
90
|
|
91
91
|
xit "can execute deferred blocks referencing current_actor" do
|
92
92
|
a1 = MyBlockActor.new("one")
|
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.17.1.
|
4
|
+
version: 0.17.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -9,9 +9,14 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
15
20
|
name: bundler
|
16
21
|
type: :runtime
|
17
22
|
prerelease: false
|
@@ -20,12 +25,12 @@ dependencies:
|
|
20
25
|
- - ">="
|
21
26
|
- !ruby/object:Gem::Version
|
22
27
|
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
23
29
|
version_requirements: !ruby/object:Gem::Requirement
|
24
30
|
requirements:
|
25
31
|
- - ">="
|
26
32
|
- !ruby/object:Gem::Version
|
27
33
|
version: '0'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
34
|
name: nenv
|
30
35
|
type: :runtime
|
31
36
|
prerelease: false
|
@@ -34,12 +39,12 @@ dependencies:
|
|
34
39
|
- - ">="
|
35
40
|
- !ruby/object:Gem::Version
|
36
41
|
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
37
43
|
version_requirements: !ruby/object:Gem::Requirement
|
38
44
|
requirements:
|
39
45
|
- - ">="
|
40
46
|
- !ruby/object:Gem::Version
|
41
47
|
version: '0'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
48
|
name: dotenv
|
44
49
|
type: :runtime
|
45
50
|
prerelease: false
|
@@ -48,12 +53,12 @@ dependencies:
|
|
48
53
|
- - ">="
|
49
54
|
- !ruby/object:Gem::Version
|
50
55
|
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
59
|
- - ">="
|
54
60
|
- !ruby/object:Gem::Version
|
55
61
|
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
62
|
name: benchmark_suite
|
58
63
|
type: :development
|
59
64
|
prerelease: false
|
@@ -62,12 +67,12 @@ dependencies:
|
|
62
67
|
- - ">="
|
63
68
|
- !ruby/object:Gem::Version
|
64
69
|
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
73
|
- - ">="
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
76
|
name: rubocop
|
72
77
|
type: :development
|
73
78
|
prerelease: false
|
@@ -76,12 +81,12 @@ dependencies:
|
|
76
81
|
- - ">="
|
77
82
|
- !ruby/object:Gem::Version
|
78
83
|
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
79
85
|
version_requirements: !ruby/object:Gem::Requirement
|
80
86
|
requirements:
|
81
87
|
- - ">="
|
82
88
|
- !ruby/object:Gem::Version
|
83
89
|
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
90
|
name: transpec
|
86
91
|
type: :development
|
87
92
|
prerelease: false
|
@@ -90,12 +95,12 @@ dependencies:
|
|
90
95
|
- - ">="
|
91
96
|
- !ruby/object:Gem::Version
|
92
97
|
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
93
99
|
version_requirements: !ruby/object:Gem::Requirement
|
94
100
|
requirements:
|
95
101
|
- - ">="
|
96
102
|
- !ruby/object:Gem::Version
|
97
103
|
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
104
|
name: pry
|
100
105
|
type: :development
|
101
106
|
prerelease: false
|
@@ -104,12 +109,12 @@ dependencies:
|
|
104
109
|
- - ">="
|
105
110
|
- !ruby/object:Gem::Version
|
106
111
|
version: '0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
107
113
|
version_requirements: !ruby/object:Gem::Requirement
|
108
114
|
requirements:
|
109
115
|
- - ">="
|
110
116
|
- !ruby/object:Gem::Version
|
111
117
|
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
118
|
name: rake
|
114
119
|
type: :development
|
115
120
|
prerelease: false
|
@@ -118,12 +123,12 @@ dependencies:
|
|
118
123
|
- - ">="
|
119
124
|
- !ruby/object:Gem::Version
|
120
125
|
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
121
127
|
version_requirements: !ruby/object:Gem::Requirement
|
122
128
|
requirements:
|
123
129
|
- - ">="
|
124
130
|
- !ruby/object:Gem::Version
|
125
131
|
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
132
|
name: rspec
|
128
133
|
type: :development
|
129
134
|
prerelease: false
|
@@ -132,12 +137,12 @@ dependencies:
|
|
132
137
|
- - ">="
|
133
138
|
- !ruby/object:Gem::Version
|
134
139
|
version: '0'
|
140
|
+
- !ruby/object:Gem::Dependency
|
135
141
|
version_requirements: !ruby/object:Gem::Requirement
|
136
142
|
requirements:
|
137
143
|
- - ">="
|
138
144
|
- !ruby/object:Gem::Version
|
139
145
|
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
146
|
name: guard-rspec
|
142
147
|
type: :development
|
143
148
|
prerelease: false
|
@@ -146,12 +151,12 @@ dependencies:
|
|
146
151
|
- - ">="
|
147
152
|
- !ruby/object:Gem::Version
|
148
153
|
version: '0'
|
154
|
+
- !ruby/object:Gem::Dependency
|
149
155
|
version_requirements: !ruby/object:Gem::Requirement
|
150
156
|
requirements:
|
151
157
|
- - ">="
|
152
158
|
- !ruby/object:Gem::Version
|
153
159
|
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
160
|
name: coveralls
|
156
161
|
type: :development
|
157
162
|
prerelease: false
|
@@ -160,12 +165,12 @@ dependencies:
|
|
160
165
|
- - ">="
|
161
166
|
- !ruby/object:Gem::Version
|
162
167
|
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
163
169
|
version_requirements: !ruby/object:Gem::Requirement
|
164
170
|
requirements:
|
165
171
|
- - ">="
|
166
172
|
- !ruby/object:Gem::Version
|
167
173
|
version: '0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
174
|
name: celluloid-essentials
|
170
175
|
type: :runtime
|
171
176
|
prerelease: false
|
@@ -174,12 +179,12 @@ dependencies:
|
|
174
179
|
- - ">="
|
175
180
|
- !ruby/object:Gem::Version
|
176
181
|
version: '0'
|
182
|
+
- !ruby/object:Gem::Dependency
|
177
183
|
version_requirements: !ruby/object:Gem::Requirement
|
178
184
|
requirements:
|
179
185
|
- - ">="
|
180
186
|
- !ruby/object:Gem::Version
|
181
187
|
version: '0'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
188
|
name: celluloid-supervision
|
184
189
|
type: :runtime
|
185
190
|
prerelease: false
|
@@ -188,12 +193,12 @@ dependencies:
|
|
188
193
|
- - ">="
|
189
194
|
- !ruby/object:Gem::Version
|
190
195
|
version: '0'
|
196
|
+
- !ruby/object:Gem::Dependency
|
191
197
|
version_requirements: !ruby/object:Gem::Requirement
|
192
198
|
requirements:
|
193
199
|
- - ">="
|
194
200
|
- !ruby/object:Gem::Version
|
195
201
|
version: '0'
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
202
|
name: celluloid-pool
|
198
203
|
type: :runtime
|
199
204
|
prerelease: false
|
@@ -202,12 +207,12 @@ dependencies:
|
|
202
207
|
- - ">="
|
203
208
|
- !ruby/object:Gem::Version
|
204
209
|
version: '0'
|
210
|
+
- !ruby/object:Gem::Dependency
|
205
211
|
version_requirements: !ruby/object:Gem::Requirement
|
206
212
|
requirements:
|
207
213
|
- - ">="
|
208
214
|
- !ruby/object:Gem::Version
|
209
215
|
version: '0'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
216
|
name: celluloid-fsm
|
212
217
|
type: :runtime
|
213
218
|
prerelease: false
|
@@ -216,12 +221,12 @@ dependencies:
|
|
216
221
|
- - ">="
|
217
222
|
- !ruby/object:Gem::Version
|
218
223
|
version: '0'
|
224
|
+
- !ruby/object:Gem::Dependency
|
219
225
|
version_requirements: !ruby/object:Gem::Requirement
|
220
226
|
requirements:
|
221
227
|
- - ">="
|
222
228
|
- !ruby/object:Gem::Version
|
223
229
|
version: '0'
|
224
|
-
- !ruby/object:Gem::Dependency
|
225
230
|
name: celluloid-extras
|
226
231
|
type: :runtime
|
227
232
|
prerelease: false
|
@@ -230,26 +235,26 @@ dependencies:
|
|
230
235
|
- - ">="
|
231
236
|
- !ruby/object:Gem::Version
|
232
237
|
version: '0'
|
238
|
+
- !ruby/object:Gem::Dependency
|
233
239
|
version_requirements: !ruby/object:Gem::Requirement
|
234
240
|
requirements:
|
235
241
|
- - ">="
|
236
242
|
- !ruby/object:Gem::Version
|
237
|
-
version:
|
238
|
-
- !ruby/object:Gem::Dependency
|
243
|
+
version: 4.1.1
|
239
244
|
name: timers
|
240
245
|
type: :runtime
|
241
246
|
prerelease: false
|
242
247
|
requirement: !ruby/object:Gem::Requirement
|
243
248
|
requirements:
|
244
|
-
- - "
|
249
|
+
- - ">="
|
245
250
|
- !ruby/object:Gem::Version
|
246
|
-
version: 4.
|
251
|
+
version: 4.1.1
|
252
|
+
- !ruby/object:Gem::Dependency
|
247
253
|
version_requirements: !ruby/object:Gem::Requirement
|
248
254
|
requirements:
|
249
|
-
- - "
|
255
|
+
- - ">="
|
250
256
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
252
|
-
- !ruby/object:Gem::Dependency
|
257
|
+
version: 0.1.2
|
253
258
|
name: rspec-logsplit
|
254
259
|
type: :runtime
|
255
260
|
prerelease: false
|
@@ -258,11 +263,6 @@ dependencies:
|
|
258
263
|
- - ">="
|
259
264
|
- !ruby/object:Gem::Version
|
260
265
|
version: 0.1.2
|
261
|
-
version_requirements: !ruby/object:Gem::Requirement
|
262
|
-
requirements:
|
263
|
-
- - ">="
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version: 0.1.2
|
266
266
|
description: Celluloid enables people to build concurrent programs out of concurrent
|
267
267
|
objects just as easily as they build sequential programs out of sequential objects
|
268
268
|
email:
|
@@ -277,6 +277,7 @@ files:
|
|
277
277
|
- README.md
|
278
278
|
- culture/CODE_OF_CONDUCT.md
|
279
279
|
- culture/Gemfile
|
280
|
+
- culture/LICENSE.txt
|
280
281
|
- culture/README.md
|
281
282
|
- culture/Rakefile
|
282
283
|
- culture/SYNC.md
|