reel 0.6.0.pre2 → 0.6.0.pre3

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: 37c2a121aacbd4e703ab370edb1f7e5a2b6207b5
4
- data.tar.gz: 2cadca939df61f1ec640d9043291580f67f49fe3
3
+ metadata.gz: e36604d61ca70f25cd00989b5bbef2e590095c38
4
+ data.tar.gz: 2df96360b3da7bc6601468e0eb00fda37cea177f
5
5
  SHA512:
6
- metadata.gz: 22d122ff37bc6e4b755465306d40c09d272c420c67aa4b4979efe1169bffffb6e077c8a7b4b9d48703ad118ea7022abc52a095ff7ce61d2efa44504178bcaf42
7
- data.tar.gz: ac2e9e5ebf765d08ee9ab6caa2e43236d77cd818d0234bf513ce6848422a0909e9416792d9513ef96bed778e196150618ce6913130b9513dd7e864f5915899db
6
+ metadata.gz: 36d00ac8cc23cfbec872ff3a9c50987e7f3c74c4194555063fb5e0d5c609bc75c6053fbbf1a9cf0128bdcf7d8fe1a54ac808e62d208e6015fa32b6aea6f11bee
7
+ data.tar.gz: ee7addd3699f97441d931a4932cd2c2e233eae2b77eef5d5d14f477495d851929bdc087a6186bae2074f822004dfafe9046a45d39c6bb6d57657a724b98434c7
data/Gemfile CHANGED
@@ -1,10 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'celluloid'
4
- gem 'celluloid-io'
5
- gem 'http'
6
-
7
- gem 'jruby-openssl' if defined? JRUBY_VERSION
3
+ gem 'jruby-openssl' if RUBY_PLATFORM == 'java'
8
4
  gem 'coveralls', require: false
9
5
 
10
6
  # Specify your gem's dependencies in reel.gemspec
@@ -24,7 +24,7 @@ end
24
24
  class Writer
25
25
  include Celluloid
26
26
  include Celluloid::Notifications
27
- include Celluloid::Logger
27
+ include Celluloid::Internals::Logger
28
28
 
29
29
  def initialize(websocket)
30
30
  info "Writing to socket"
@@ -44,7 +44,7 @@ end
44
44
  class Reader
45
45
  include Celluloid
46
46
  include Celluloid::Notifications
47
- include Celluloid::Logger
47
+ include Celluloid::Internals::Logger
48
48
 
49
49
  def initialize(websocket)
50
50
  info "Reading socket"
@@ -62,7 +62,7 @@ class Reader
62
62
  end
63
63
 
64
64
  class WebServer < Reel::Server::HTTP
65
- include Celluloid::Logger
65
+ include Celluloid::Internals::Logger
66
66
 
67
67
  def initialize(host = "0.0.0.0", port = 9000)
68
68
  info "Roundtrip example starting on #{host}:#{port}"
@@ -9,7 +9,7 @@ require 'reel'
9
9
 
10
10
 
11
11
  class ServerSentEvents < Reel::Server::HTTP
12
- include Celluloid::Logger
12
+ include Celluloid::Internals::Logger
13
13
 
14
14
  def initialize(ip = '127.0.0.1', port = 63310)
15
15
  @connections = []
@@ -22,7 +22,7 @@ end
22
22
  class TimeClient
23
23
  include Celluloid
24
24
  include Celluloid::Notifications
25
- include Celluloid::Logger
25
+ include Celluloid::Internals::Logger
26
26
 
27
27
  def initialize(websocket)
28
28
  info "Streaming time changes to client"
@@ -39,7 +39,7 @@ class TimeClient
39
39
  end
40
40
 
41
41
  class WebServer < Reel::Server::HTTP
42
- include Celluloid::Logger
42
+ include Celluloid::Internals::Logger
43
43
 
44
44
  def initialize(host = "127.0.0.1", port = 1234)
45
45
  info "Time server example starting on #{host}:#{port}"
@@ -14,7 +14,7 @@ require 'reel/response'
14
14
  require 'reel/server'
15
15
  require 'reel/server/http'
16
16
  require 'reel/server/https'
17
- require 'reel/server/unix' unless defined? JRUBY_VERSION
17
+ require 'reel/server/unix' unless RUBY_PLATFORM == 'java'
18
18
 
19
19
  require 'reel/websocket'
20
20
  require 'reel/stream'
@@ -1,4 +1,4 @@
1
1
  module Reel
2
- VERSION = "0.6.0.pre2"
2
+ VERSION = "0.6.0.pre3"
3
3
  CODENAME = "Garland"
4
4
  end
@@ -15,10 +15,16 @@ 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', '>= 0.15.1'
19
- gem.add_runtime_dependency 'celluloid-io', '>= 0.15.0'
20
- gem.add_runtime_dependency 'http', '>= 0.6.0.pre'
21
- gem.add_runtime_dependency 'http_parser.rb', '>= 0.6.0'
18
+ gem.add_runtime_dependency 'celluloid', '>= 0.17.0.pre0'
19
+ gem.add_runtime_dependency 'celluloid-io', '>= 0.16.5'
20
+
21
+ gem.add_runtime_dependency 'celluloid-essentials', '>= 0.20.0.pre0'
22
+ gem.add_runtime_dependency 'celluloid-supervision', '>= 0.13.9.pre0'
23
+ gem.add_runtime_dependency 'celluloid-pool', '>= 0.9.0.pre0'
24
+ gem.add_runtime_dependency 'celluloid-fsm', '>= 0.8.7.pre0'
25
+
26
+ gem.add_runtime_dependency 'http', '>= 0.6.0.pre'
27
+ gem.add_runtime_dependency 'http_parser.rb', '>= 0.6.0'
22
28
  gem.add_runtime_dependency 'websocket-driver', '>= 0.5.1'
23
29
 
24
30
  gem.add_development_dependency 'rake'
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'net/http'
3
3
 
4
- unless defined?(JRUBY_VERSION)
4
+ unless RUBY_PLATFORM == 'java'
5
5
 
6
6
  RSpec.describe Reel::Server::UNIX do
7
7
  let(:endpoint) { URI(example_url) }
@@ -64,7 +64,7 @@ RSpec.describe Reel::WebSocket do
64
64
  with_websocket_pair do |client, websocket|
65
65
  f = Celluloid::Future.new
66
66
  websocket.on_message do |message|
67
- f << Celluloid::SuccessResponse.new(:on_message, message)
67
+ f << Celluloid::Internals::Response::Success.new(:on_message, message)
68
68
  end
69
69
 
70
70
  message = WebSocket::Message.new(example_message)
@@ -91,7 +91,7 @@ RSpec.describe Reel::WebSocket do
91
91
 
92
92
  f = Celluloid::Future.new
93
93
  websocket.on_message do |message|
94
- f << Celluloid::SuccessResponse.new(:on_message, message)
94
+ f << Celluloid::Internals::Response::Success.new(:on_message, message)
95
95
  end
96
96
 
97
97
  message = WebSocket::Message.new(example_message)
metadata CHANGED
@@ -1,139 +1,195 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre2
4
+ version: 0.6.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-11 00:00:00.000000000 Z
11
+ date: 2015-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '>='
17
+ - !ruby/object:Gem::Version
18
+ version: 0.17.0.pre0
14
19
  name: celluloid
20
+ prerelease: false
21
+ type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.17.0.pre0
27
+ - !ruby/object:Gem::Dependency
15
28
  requirement: !ruby/object:Gem::Requirement
16
29
  requirements:
17
- - - ">="
30
+ - - '>='
18
31
  - !ruby/object:Gem::Version
19
- version: 0.15.1
32
+ version: 0.16.5
33
+ name: celluloid-io
34
+ prerelease: false
20
35
  type: :runtime
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.16.5
41
+ - !ruby/object:Gem::Dependency
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 0.20.0.pre0
47
+ name: celluloid-essentials
21
48
  prerelease: false
49
+ type: :runtime
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
- - - ">="
52
+ - - '>='
25
53
  - !ruby/object:Gem::Version
26
- version: 0.15.1
54
+ version: 0.20.0.pre0
27
55
  - !ruby/object:Gem::Dependency
28
- name: celluloid-io
29
56
  requirement: !ruby/object:Gem::Requirement
30
57
  requirements:
31
- - - ">="
58
+ - - '>='
32
59
  - !ruby/object:Gem::Version
33
- version: 0.15.0
60
+ version: 0.13.9.pre0
61
+ name: celluloid-supervision
62
+ prerelease: false
34
63
  type: :runtime
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.13.9.pre0
69
+ - !ruby/object:Gem::Dependency
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: 0.9.0.pre0
75
+ name: celluloid-pool
35
76
  prerelease: false
77
+ type: :runtime
36
78
  version_requirements: !ruby/object:Gem::Requirement
37
79
  requirements:
38
- - - ">="
80
+ - - '>='
39
81
  - !ruby/object:Gem::Version
40
- version: 0.15.0
82
+ version: 0.9.0.pre0
41
83
  - !ruby/object:Gem::Dependency
42
- name: http
43
84
  requirement: !ruby/object:Gem::Requirement
44
85
  requirements:
45
- - - ">="
86
+ - - '>='
46
87
  - !ruby/object:Gem::Version
47
- version: 0.6.0.pre
88
+ version: 0.8.7.pre0
89
+ name: celluloid-fsm
90
+ prerelease: false
48
91
  type: :runtime
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.8.7.pre0
97
+ - !ruby/object:Gem::Dependency
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: 0.6.0.pre
103
+ name: http
49
104
  prerelease: false
105
+ type: :runtime
50
106
  version_requirements: !ruby/object:Gem::Requirement
51
107
  requirements:
52
- - - ">="
108
+ - - '>='
53
109
  - !ruby/object:Gem::Version
54
110
  version: 0.6.0.pre
55
111
  - !ruby/object:Gem::Dependency
56
- name: http_parser.rb
57
112
  requirement: !ruby/object:Gem::Requirement
58
113
  requirements:
59
- - - ">="
114
+ - - '>='
60
115
  - !ruby/object:Gem::Version
61
116
  version: 0.6.0
62
- type: :runtime
117
+ name: http_parser.rb
63
118
  prerelease: false
119
+ type: :runtime
64
120
  version_requirements: !ruby/object:Gem::Requirement
65
121
  requirements:
66
- - - ">="
122
+ - - '>='
67
123
  - !ruby/object:Gem::Version
68
124
  version: 0.6.0
69
125
  - !ruby/object:Gem::Dependency
70
- name: websocket-driver
71
126
  requirement: !ruby/object:Gem::Requirement
72
127
  requirements:
73
- - - ">="
128
+ - - '>='
74
129
  - !ruby/object:Gem::Version
75
130
  version: 0.5.1
76
- type: :runtime
131
+ name: websocket-driver
77
132
  prerelease: false
133
+ type: :runtime
78
134
  version_requirements: !ruby/object:Gem::Requirement
79
135
  requirements:
80
- - - ">="
136
+ - - '>='
81
137
  - !ruby/object:Gem::Version
82
138
  version: 0.5.1
83
139
  - !ruby/object:Gem::Dependency
84
- name: rake
85
140
  requirement: !ruby/object:Gem::Requirement
86
141
  requirements:
87
- - - ">="
142
+ - - '>='
88
143
  - !ruby/object:Gem::Version
89
144
  version: '0'
90
- type: :development
145
+ name: rake
91
146
  prerelease: false
147
+ type: :development
92
148
  version_requirements: !ruby/object:Gem::Requirement
93
149
  requirements:
94
- - - ">="
150
+ - - '>='
95
151
  - !ruby/object:Gem::Version
96
152
  version: '0'
97
153
  - !ruby/object:Gem::Dependency
98
- name: rspec
99
154
  requirement: !ruby/object:Gem::Requirement
100
155
  requirements:
101
- - - ">="
156
+ - - '>='
102
157
  - !ruby/object:Gem::Version
103
158
  version: 2.11.0
104
- type: :development
159
+ name: rspec
105
160
  prerelease: false
161
+ type: :development
106
162
  version_requirements: !ruby/object:Gem::Requirement
107
163
  requirements:
108
- - - ">="
164
+ - - '>='
109
165
  - !ruby/object:Gem::Version
110
166
  version: 2.11.0
111
167
  - !ruby/object:Gem::Dependency
112
- name: certificate_authority
113
168
  requirement: !ruby/object:Gem::Requirement
114
169
  requirements:
115
- - - ">="
170
+ - - '>='
116
171
  - !ruby/object:Gem::Version
117
172
  version: '0'
118
- type: :development
173
+ name: certificate_authority
119
174
  prerelease: false
175
+ type: :development
120
176
  version_requirements: !ruby/object:Gem::Requirement
121
177
  requirements:
122
- - - ">="
178
+ - - '>='
123
179
  - !ruby/object:Gem::Version
124
180
  version: '0'
125
181
  - !ruby/object:Gem::Dependency
126
- name: websocket_parser
127
182
  requirement: !ruby/object:Gem::Requirement
128
183
  requirements:
129
- - - ">="
184
+ - - '>='
130
185
  - !ruby/object:Gem::Version
131
186
  version: 0.1.6
132
- type: :development
187
+ name: websocket_parser
133
188
  prerelease: false
189
+ type: :development
134
190
  version_requirements: !ruby/object:Gem::Requirement
135
191
  requirements:
136
- - - ">="
192
+ - - '>='
137
193
  - !ruby/object:Gem::Version
138
194
  version: 0.1.6
139
195
  description: A Celluloid::IO-powered HTTP server
@@ -143,10 +199,10 @@ executables: []
143
199
  extensions: []
144
200
  extra_rdoc_files: []
145
201
  files:
146
- - ".coveralls.yml"
147
- - ".gitignore"
148
- - ".rspec"
149
- - ".travis.yml"
202
+ - .coveralls.yml
203
+ - .gitignore
204
+ - .rspec
205
+ - .travis.yml
150
206
  - CHANGES.md
151
207
  - Gemfile
152
208
  - Guardfile
@@ -200,24 +256,24 @@ files:
200
256
  homepage: https://github.com/celluloid/reel
201
257
  licenses: []
202
258
  metadata: {}
203
- post_install_message:
259
+ post_install_message:
204
260
  rdoc_options: []
205
261
  require_paths:
206
262
  - lib
207
263
  required_ruby_version: !ruby/object:Gem::Requirement
208
264
  requirements:
209
- - - ">="
265
+ - - '>='
210
266
  - !ruby/object:Gem::Version
211
267
  version: '0'
212
268
  required_rubygems_version: !ruby/object:Gem::Requirement
213
269
  requirements:
214
- - - ">"
270
+ - - '>'
215
271
  - !ruby/object:Gem::Version
216
272
  version: 1.3.1
217
273
  requirements: []
218
- rubyforge_project:
219
- rubygems_version: 2.4.6
220
- signing_key:
274
+ rubyforge_project:
275
+ rubygems_version: 2.4.5
276
+ signing_key:
221
277
  specification_version: 4
222
278
  summary: A Reel good HTTP server
223
279
  test_files: []