reel 0.6.0.pre4 → 0.6.0.pre5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of reel might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1421b091fd5cc3a7fd7d23b060a34b1cacaa28e
4
- data.tar.gz: 47234deb0b670908239d5b4011fb51f33547428f
3
+ metadata.gz: 43c1f099231a631fc5e92d94749786b3aad46c19
4
+ data.tar.gz: 9551959b50390d49b17e1a43cc22bd43f3b1b653
5
5
  SHA512:
6
- metadata.gz: 58ff3ba073f335ffdcf98b1c1c3a4b3512be70573272d58893cdadacd6a4008b1c982079cfe57b08d9e62013e81d51f17271002e9d0b6eea9748e16e9364487b
7
- data.tar.gz: ddb3069ef96d8da3bdcbe7f5bc53794c4c1d29628a63120b5dc16d7f3db41eee9e7d9d02f1a57e960365b2b1e7664c06829221093b6a46de18d50cb305aa3990
6
+ metadata.gz: 96d51dc3df65f7fe18987c782fd1c82d5310ec5594dd41852214eeceadfd3888e3c7fa1b3cf6325836a6f07e07d4466954297f364115032d4da4b3964d6d407b
7
+ data.tar.gz: 2092942e41b2ceed4439fc777460b2bf7db547b6dc4672fdfb132b7440ee09be0ac02b39a758a3f184e6d4622cd053966157477f532433415c1695903564cda5
@@ -1,17 +1,41 @@
1
+ script: rake ci
2
+ language: ruby
1
3
  rvm:
2
- - 1.9.3
3
- - 2.0.0
4
- - 2.1.2
5
- - ruby-head
4
+ - 2.2.0
5
+ - 2.2.2
6
6
  - jruby
7
+ - ruby-head
7
8
  - jruby-head
8
9
  - rbx-2
9
10
 
11
+ # TODO: Put these back:
12
+ # * CELLULOID_TASK_CLASS=Fibered
13
+ # * CELLULOID_TASK_CLASS=Threaded
14
+ # For right now the imporant thing is to test BACKPORTED mode:
15
+
10
16
  matrix:
17
+ fast_finish: true
11
18
  allow_failures:
19
+ - rvm: rbx-2
12
20
  - rvm: ruby-head
13
21
  - rvm: jruby-head
14
- - rvm: rbx-2
22
+ - env: CELLULOID_BACKPORTED=true
23
+ - env: CELLULOID_BACKPORTED=false CELLULOID_LEAKTEST=1
24
+
25
+ env:
26
+ global:
27
+ - NUMBER_OF_PROCESSORS=2 CELLULOID_CONFIG_FILE=.env-ci
28
+ matrix:
29
+ - CELLULOID_BACKPORTED=true
30
+ - CELLULOID_BACKPORTED=false
31
+ - CELLULOID_BACKPORTED=false CELLULOID_LEAKTEST=1
15
32
 
16
33
  notifications:
17
34
  irc: "irc.freenode.org#celluloid"
35
+
36
+ before_install:
37
+ # Only use 1 job until Travis fixes the rbx --jobs issue.
38
+ - if [ "$TRAVIS_RUBY_VERSION" == "rbx-2" ] ; then export BUNDLE_JOBS=1 ; else export BUNDLE_JOBS=4; fi
39
+
40
+ sudo: false
41
+ install: bundle install --without=development
data/Gemfile CHANGED
@@ -1,21 +1,12 @@
1
1
  require File.expand_path("../culture/sync", __FILE__)
2
- source 'https://rubygems.org'
2
+ Celluloid::Sync::Gemfile[self]
3
3
 
4
+ gem 'certificate_authority'
4
5
  gem 'jruby-openssl' if RUBY_PLATFORM == 'java'
5
6
  gem 'celluloid-io', github: 'celluloid/celluloid-io', branch: '0.17.0-dependent', submodules: true
6
7
 
7
- # Specify your gem's dependencies in reel.gemspec
8
- gemspec
9
-
10
- group :development do
11
- gem 'guard-rspec'
12
- gem 'pry'
13
- end
14
-
15
8
  platforms :rbx do
16
9
  gem 'racc'
17
10
  gem 'rubinius-coverage'
18
11
  gem 'rubysl', '~> 2.0'
19
- end
20
-
21
- Celluloid::Sync.gems(self)
12
+ end
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
- #!/usr/bin/env rake
2
1
  require "bundler/gem_tasks"
3
2
 
4
- Dir[File.expand_path("../tasks/**/*.rake", __FILE__)].each { |task| load task }
3
+ Dir["tasks/**/*.rake"].each { |task| load task }
5
4
 
6
- task :default => :spec
5
+ default_tasks = ["spec"]
6
+ default_tasks << "rubocop" unless ENV["CI"]
7
+ task default: default_tasks
8
+
9
+ task ci: %w(spec benchmark)
@@ -1,5 +1,6 @@
1
1
  require 'uri'
2
2
 
3
+ require 'celluloid/autostart'
3
4
  require 'http/parser'
4
5
  require 'http'
5
6
  require 'celluloid/io'
@@ -1,4 +1,4 @@
1
1
  module Reel
2
- VERSION = "0.6.0.pre4"
2
+ VERSION = "0.6.0.pre5"
3
3
  CODENAME = "Garland"
4
4
  end
@@ -2,10 +2,10 @@
2
2
  require File.expand_path("../culture/sync", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Tony Arcieri"]
6
- gem.email = ["tony.arcieri@gmail.com"]
7
- gem.description = "A Celluloid::IO-powered HTTP server"
8
- gem.summary = "A Reel good HTTP server"
5
+ gem.authors = ["Tony Arcieri", "digitalextremist //"]
6
+ gem.email = ["tony.arcieri@gmail.com", "code@extremist.digital"]
7
+ gem.description = "A Celluloid::IO-powered multi-protocol HTTP, HTTPS, and Web Socket server"
8
+ gem.summary = "A Reel good web server"
9
9
  gem.homepage = "https://github.com/celluloid/reel"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -15,16 +15,14 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Reel::VERSION
17
17
 
18
- gem.add_runtime_dependency 'celluloid-io', '>= 0.16.5'
18
+ gem.add_runtime_dependency 'celluloid-io', '>= 0.16.5.pre0'
19
19
 
20
- Celluloid::Sync.gems(gem)
20
+ Celluloid::Sync::Gemspec[gem]
21
21
 
22
22
  gem.add_runtime_dependency 'http', '>= 0.6.0.pre'
23
23
  gem.add_runtime_dependency 'http_parser.rb', '>= 0.6.0'
24
24
  gem.add_runtime_dependency 'websocket-driver', '>= 0.5.1'
25
+ gem.add_runtime_dependency 'websocket_parser', '>= 0.1.6'
25
26
 
26
- gem.add_development_dependency 'rake'
27
- gem.add_development_dependency 'rspec', '>= 2.11.0'
28
27
  gem.add_development_dependency 'certificate_authority'
29
- gem.add_development_dependency 'websocket_parser', '>= 0.1.6'
30
28
  end
@@ -0,0 +1,16 @@
1
+ require "timeout"
2
+
3
+ desc "Run Reel benchmarks"
4
+ task :benchmark do
5
+ begin
6
+ Timeout.timeout(120) do
7
+ glob = File.expand_path("../../benchmarks/*.rb", __FILE__)
8
+ Dir[glob].each { |benchmark| load benchmark }
9
+ end
10
+ rescue Exception, Timeout::Error => ex
11
+ puts "ERROR: Couldn't complete benchmark: #{ex.class}: #{ex}"
12
+ puts " #{ex.backtrace.join("\n ")}"
13
+
14
+ exit 1 unless ENV["CI"] # Hax for running benchmarks on Travis
15
+ end
16
+ end
@@ -0,0 +1,4 @@
1
+ unless ENV["CI"]
2
+ require "rubocop/rake_task"
3
+ RuboCop::RakeTask.new
4
+ end
metadata CHANGED
@@ -1,21 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre4
4
+ version: 0.6.0.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
8
+ - digitalextremist //
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-05-04 00:00:00.000000000 Z
12
+ date: 2015-05-09 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - '>='
17
18
  - !ruby/object:Gem::Version
18
- version: 0.16.5
19
+ version: 0.16.5.pre0
19
20
  name: celluloid-io
20
21
  prerelease: false
21
22
  type: :runtime
@@ -23,7 +24,7 @@ dependencies:
23
24
  requirements:
24
25
  - - '>='
25
26
  - !ruby/object:Gem::Version
26
- version: 0.16.5
27
+ version: 0.16.5.pre0
27
28
  - !ruby/object:Gem::Dependency
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
@@ -44,7 +45,7 @@ dependencies:
44
45
  - - '>='
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
- name: rubocop
48
+ name: nenv
48
49
  prerelease: false
49
50
  type: :runtime
50
51
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +59,7 @@ dependencies:
58
59
  - - '>='
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: coveralls
62
+ name: dotenv
62
63
  prerelease: false
63
64
  type: :runtime
64
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,7 +73,7 @@ dependencies:
72
73
  - - '>='
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
- name: celluloid
76
+ name: benchmark_suite
76
77
  prerelease: false
77
78
  type: :development
78
79
  version_requirements: !ruby/object:Gem::Requirement
@@ -86,7 +87,7 @@ dependencies:
86
87
  - - '>='
87
88
  - !ruby/object:Gem::Version
88
89
  version: '0'
89
- name: celluloid-essentials
90
+ name: rubocop
90
91
  prerelease: false
91
92
  type: :development
92
93
  version_requirements: !ruby/object:Gem::Requirement
@@ -100,7 +101,7 @@ dependencies:
100
101
  - - '>='
101
102
  - !ruby/object:Gem::Version
102
103
  version: '0'
103
- name: celluloid-supervision
104
+ name: pry
104
105
  prerelease: false
105
106
  type: :development
106
107
  version_requirements: !ruby/object:Gem::Requirement
@@ -114,7 +115,7 @@ dependencies:
114
115
  - - '>='
115
116
  - !ruby/object:Gem::Version
116
117
  version: '0'
117
- name: celluloid-pool
118
+ name: rake
118
119
  prerelease: false
119
120
  type: :development
120
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -128,7 +129,7 @@ dependencies:
128
129
  - - '>='
129
130
  - !ruby/object:Gem::Version
130
131
  version: '0'
131
- name: celluloid-fsm
132
+ name: rspec
132
133
  prerelease: false
133
134
  type: :development
134
135
  version_requirements: !ruby/object:Gem::Requirement
@@ -142,7 +143,7 @@ dependencies:
142
143
  - - '>='
143
144
  - !ruby/object:Gem::Version
144
145
  version: '0'
145
- name: celluloid-extras
146
+ name: coveralls
146
147
  prerelease: false
147
148
  type: :development
148
149
  version_requirements: !ruby/object:Gem::Requirement
@@ -155,24 +156,24 @@ dependencies:
155
156
  requirements:
156
157
  - - '>='
157
158
  - !ruby/object:Gem::Version
158
- version: '0'
159
- name: timers
159
+ version: 0.17.0.pre12
160
+ name: celluloid
160
161
  prerelease: false
161
162
  type: :runtime
162
163
  version_requirements: !ruby/object:Gem::Requirement
163
164
  requirements:
164
165
  - - '>='
165
166
  - !ruby/object:Gem::Version
166
- version: '0'
167
+ version: 0.17.0.pre12
167
168
  - !ruby/object:Gem::Dependency
168
169
  requirement: !ruby/object:Gem::Requirement
169
170
  requirements:
170
171
  - - '>='
171
172
  - !ruby/object:Gem::Version
172
173
  version: '0'
173
- name: rspec-logsplit
174
+ name: celluloid-essentials
174
175
  prerelease: false
175
- type: :runtime
176
+ type: :development
176
177
  version_requirements: !ruby/object:Gem::Requirement
177
178
  requirements:
178
179
  - - '>='
@@ -183,50 +184,50 @@ dependencies:
183
184
  requirements:
184
185
  - - '>='
185
186
  - !ruby/object:Gem::Version
186
- version: 0.6.0.pre
187
- name: http
187
+ version: '0'
188
+ name: celluloid-supervision
188
189
  prerelease: false
189
- type: :runtime
190
+ type: :development
190
191
  version_requirements: !ruby/object:Gem::Requirement
191
192
  requirements:
192
193
  - - '>='
193
194
  - !ruby/object:Gem::Version
194
- version: 0.6.0.pre
195
+ version: '0'
195
196
  - !ruby/object:Gem::Dependency
196
197
  requirement: !ruby/object:Gem::Requirement
197
198
  requirements:
198
199
  - - '>='
199
200
  - !ruby/object:Gem::Version
200
- version: 0.6.0
201
- name: http_parser.rb
201
+ version: '0'
202
+ name: celluloid-pool
202
203
  prerelease: false
203
- type: :runtime
204
+ type: :development
204
205
  version_requirements: !ruby/object:Gem::Requirement
205
206
  requirements:
206
207
  - - '>='
207
208
  - !ruby/object:Gem::Version
208
- version: 0.6.0
209
+ version: '0'
209
210
  - !ruby/object:Gem::Dependency
210
211
  requirement: !ruby/object:Gem::Requirement
211
212
  requirements:
212
213
  - - '>='
213
214
  - !ruby/object:Gem::Version
214
- version: 0.5.1
215
- name: websocket-driver
215
+ version: '0'
216
+ name: celluloid-fsm
216
217
  prerelease: false
217
- type: :runtime
218
+ type: :development
218
219
  version_requirements: !ruby/object:Gem::Requirement
219
220
  requirements:
220
221
  - - '>='
221
222
  - !ruby/object:Gem::Version
222
- version: 0.5.1
223
+ version: '0'
223
224
  - !ruby/object:Gem::Dependency
224
225
  requirement: !ruby/object:Gem::Requirement
225
226
  requirements:
226
227
  - - '>='
227
228
  - !ruby/object:Gem::Version
228
229
  version: '0'
229
- name: rake
230
+ name: celluloid-extras
230
231
  prerelease: false
231
232
  type: :development
232
233
  version_requirements: !ruby/object:Gem::Requirement
@@ -234,34 +235,76 @@ dependencies:
234
235
  - - '>='
235
236
  - !ruby/object:Gem::Version
236
237
  version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ~>
242
+ - !ruby/object:Gem::Version
243
+ version: 4.0.0
244
+ name: timers
245
+ prerelease: false
246
+ type: :runtime
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ~>
250
+ - !ruby/object:Gem::Version
251
+ version: 4.0.0
237
252
  - !ruby/object:Gem::Dependency
238
253
  requirement: !ruby/object:Gem::Requirement
239
254
  requirements:
240
255
  - - '>='
241
256
  - !ruby/object:Gem::Version
242
- version: 2.11.0
243
- name: rspec
257
+ version: 0.1.2
258
+ name: rspec-logsplit
244
259
  prerelease: false
245
- type: :development
260
+ type: :runtime
246
261
  version_requirements: !ruby/object:Gem::Requirement
247
262
  requirements:
248
263
  - - '>='
249
264
  - !ruby/object:Gem::Version
250
- version: 2.11.0
265
+ version: 0.1.2
251
266
  - !ruby/object:Gem::Dependency
252
267
  requirement: !ruby/object:Gem::Requirement
253
268
  requirements:
254
269
  - - '>='
255
270
  - !ruby/object:Gem::Version
256
- version: '0'
257
- name: certificate_authority
271
+ version: 0.6.0.pre
272
+ name: http
258
273
  prerelease: false
259
- type: :development
274
+ type: :runtime
260
275
  version_requirements: !ruby/object:Gem::Requirement
261
276
  requirements:
262
277
  - - '>='
263
278
  - !ruby/object:Gem::Version
264
- version: '0'
279
+ version: 0.6.0.pre
280
+ - !ruby/object:Gem::Dependency
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - '>='
284
+ - !ruby/object:Gem::Version
285
+ version: 0.6.0
286
+ name: http_parser.rb
287
+ prerelease: false
288
+ type: :runtime
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - '>='
292
+ - !ruby/object:Gem::Version
293
+ version: 0.6.0
294
+ - !ruby/object:Gem::Dependency
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - '>='
298
+ - !ruby/object:Gem::Version
299
+ version: 0.5.1
300
+ name: websocket-driver
301
+ prerelease: false
302
+ type: :runtime
303
+ version_requirements: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - '>='
306
+ - !ruby/object:Gem::Version
307
+ version: 0.5.1
265
308
  - !ruby/object:Gem::Dependency
266
309
  requirement: !ruby/object:Gem::Requirement
267
310
  requirements:
@@ -270,15 +313,30 @@ dependencies:
270
313
  version: 0.1.6
271
314
  name: websocket_parser
272
315
  prerelease: false
273
- type: :development
316
+ type: :runtime
274
317
  version_requirements: !ruby/object:Gem::Requirement
275
318
  requirements:
276
319
  - - '>='
277
320
  - !ruby/object:Gem::Version
278
321
  version: 0.1.6
279
- description: A Celluloid::IO-powered HTTP server
322
+ - !ruby/object:Gem::Dependency
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - '>='
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ name: certificate_authority
329
+ prerelease: false
330
+ type: :development
331
+ version_requirements: !ruby/object:Gem::Requirement
332
+ requirements:
333
+ - - '>='
334
+ - !ruby/object:Gem::Version
335
+ version: '0'
336
+ description: A Celluloid::IO-powered multi-protocol HTTP, HTTPS, and Web Socket server
280
337
  email:
281
338
  - tony.arcieri@gmail.com
339
+ - code@extremist.digital
282
340
  executables: []
283
341
  extensions: []
284
342
  extra_rdoc_files: []
@@ -337,7 +395,9 @@ files:
337
395
  - spec/spec_helper.rb
338
396
  - spec/support/create_certs.rb
339
397
  - spec/support/example_request.rb
398
+ - tasks/benchmarks.rake
340
399
  - tasks/rspec.rake
400
+ - tasks/rubocop.rake
341
401
  homepage: https://github.com/celluloid/reel
342
402
  licenses: []
343
403
  metadata: {}
@@ -360,5 +420,5 @@ rubyforge_project:
360
420
  rubygems_version: 2.4.6
361
421
  signing_key:
362
422
  specification_version: 4
363
- summary: A Reel good HTTP server
423
+ summary: A Reel good web server
364
424
  test_files: []