firehose 1.2.10 → 1.2.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,4 +18,17 @@ describe Firehose::Assets do
18
18
  env.paths.should include(Firehose::Assets.path('javascripts'))
19
19
  end
20
20
  end
21
+
22
+ describe "Sprockets.javascript" do
23
+ let(:js_spot_checks) do
24
+ %w[
25
+ Firehose.Transport
26
+ Firehose.version
27
+ window.Firehose
28
+ ]
29
+ end
30
+ it "should compile javascript" do
31
+ Firehose::Assets::Sprockets.javascript.should include(*js_spot_checks)
32
+ end
33
+ end
21
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firehose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: 1.2.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,12 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-10-31 00:00:00.000000000 -07:00
16
- default_executable:
15
+ date: 2014-03-23 00:00:00.000000000 Z
17
16
  dependencies:
18
17
  - !ruby/object:Gem::Dependency
19
18
  name: eventmachine
20
- requirement: &70227782364180 !ruby/object:Gem::Requirement
19
+ requirement: !ruby/object:Gem::Requirement
21
20
  none: false
22
21
  requirements:
23
22
  - - ! '>='
@@ -25,10 +24,15 @@ dependencies:
25
24
  version: 1.0.0
26
25
  type: :runtime
27
26
  prerelease: false
28
- version_requirements: *70227782364180
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
29
33
  - !ruby/object:Gem::Dependency
30
34
  name: em-hiredis
31
- requirement: &70227782532060 !ruby/object:Gem::Requirement
35
+ requirement: !ruby/object:Gem::Requirement
32
36
  none: false
33
37
  requirements:
34
38
  - - ! '>='
@@ -36,10 +40,15 @@ dependencies:
36
40
  version: 0.2.0
37
41
  type: :runtime
38
42
  prerelease: false
39
- version_requirements: *70227782532060
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: 0.2.0
40
49
  - !ruby/object:Gem::Dependency
41
50
  name: thor
42
- requirement: &70227782531500 !ruby/object:Gem::Requirement
51
+ requirement: !ruby/object:Gem::Requirement
43
52
  none: false
44
53
  requirements:
45
54
  - - ! '>='
@@ -47,10 +56,15 @@ dependencies:
47
56
  version: '0'
48
57
  type: :runtime
49
58
  prerelease: false
50
- version_requirements: *70227782531500
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
51
65
  - !ruby/object:Gem::Dependency
52
66
  name: faraday
53
- requirement: &70227782530680 !ruby/object:Gem::Requirement
67
+ requirement: !ruby/object:Gem::Requirement
54
68
  none: false
55
69
  requirements:
56
70
  - - ! '>='
@@ -58,10 +72,15 @@ dependencies:
58
72
  version: '0'
59
73
  type: :runtime
60
74
  prerelease: false
61
- version_requirements: *70227782530680
75
+ version_requirements: !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
62
81
  - !ruby/object:Gem::Dependency
63
82
  name: faye-websocket
64
- requirement: &70227782529660 !ruby/object:Gem::Requirement
83
+ requirement: !ruby/object:Gem::Requirement
65
84
  none: false
66
85
  requirements:
67
86
  - - ! '>='
@@ -69,10 +88,15 @@ dependencies:
69
88
  version: '0'
70
89
  type: :runtime
71
90
  prerelease: false
72
- version_requirements: *70227782529660
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
73
97
  - !ruby/object:Gem::Dependency
74
98
  name: em-http-request
75
- requirement: &70227782526900 !ruby/object:Gem::Requirement
99
+ requirement: !ruby/object:Gem::Requirement
76
100
  none: false
77
101
  requirements:
78
102
  - - ! '>='
@@ -80,10 +104,15 @@ dependencies:
80
104
  version: 1.0.0
81
105
  type: :runtime
82
106
  prerelease: false
83
- version_requirements: *70227782526900
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ! '>='
111
+ - !ruby/object:Gem::Version
112
+ version: 1.0.0
84
113
  - !ruby/object:Gem::Dependency
85
114
  name: json
86
- requirement: &70227782484200 !ruby/object:Gem::Requirement
115
+ requirement: !ruby/object:Gem::Requirement
87
116
  none: false
88
117
  requirements:
89
118
  - - ! '>='
@@ -91,10 +120,15 @@ dependencies:
91
120
  version: '0'
92
121
  type: :runtime
93
122
  prerelease: false
94
- version_requirements: *70227782484200
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
95
129
  - !ruby/object:Gem::Dependency
96
130
  name: rack
97
- requirement: &70227782482560 !ruby/object:Gem::Requirement
131
+ requirement: !ruby/object:Gem::Requirement
98
132
  none: false
99
133
  requirements:
100
134
  - - ~>
@@ -102,10 +136,15 @@ dependencies:
102
136
  version: 1.4.0
103
137
  type: :runtime
104
138
  prerelease: false
105
- version_requirements: *70227782482560
139
+ version_requirements: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ~>
143
+ - !ruby/object:Gem::Version
144
+ version: 1.4.0
106
145
  - !ruby/object:Gem::Dependency
107
146
  name: rspec
108
- requirement: &70227782481640 !ruby/object:Gem::Requirement
147
+ requirement: !ruby/object:Gem::Requirement
109
148
  none: false
110
149
  requirements:
111
150
  - - ! '>='
@@ -113,10 +152,15 @@ dependencies:
113
152
  version: '0'
114
153
  type: :development
115
154
  prerelease: false
116
- version_requirements: *70227782481640
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
117
161
  - !ruby/object:Gem::Dependency
118
162
  name: webmock
119
- requirement: &70227782480720 !ruby/object:Gem::Requirement
163
+ requirement: !ruby/object:Gem::Requirement
120
164
  none: false
121
165
  requirements:
122
166
  - - ! '>='
@@ -124,10 +168,31 @@ dependencies:
124
168
  version: '0'
125
169
  type: :development
126
170
  prerelease: false
127
- version_requirements: *70227782480720
171
+ version_requirements: !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ - !ruby/object:Gem::Dependency
178
+ name: coffee-script
179
+ requirement: !ruby/object:Gem::Requirement
180
+ none: false
181
+ requirements:
182
+ - - ! '>='
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ type: :development
186
+ prerelease: false
187
+ version_requirements: !ruby/object:Gem::Requirement
188
+ none: false
189
+ requirements:
190
+ - - ! '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
128
193
  - !ruby/object:Gem::Dependency
129
194
  name: guard-rspec
130
- requirement: &70227782480080 !ruby/object:Gem::Requirement
195
+ requirement: !ruby/object:Gem::Requirement
131
196
  none: false
132
197
  requirements:
133
198
  - - ! '>='
@@ -135,10 +200,15 @@ dependencies:
135
200
  version: '0'
136
201
  type: :development
137
202
  prerelease: false
138
- version_requirements: *70227782480080
203
+ version_requirements: !ruby/object:Gem::Requirement
204
+ none: false
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
139
209
  - !ruby/object:Gem::Dependency
140
210
  name: guard-bundler
141
- requirement: &70227782479300 !ruby/object:Gem::Requirement
211
+ requirement: !ruby/object:Gem::Requirement
142
212
  none: false
143
213
  requirements:
144
214
  - - ! '>='
@@ -146,10 +216,15 @@ dependencies:
146
216
  version: '0'
147
217
  type: :development
148
218
  prerelease: false
149
- version_requirements: *70227782479300
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ none: false
221
+ requirements:
222
+ - - ! '>='
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
150
225
  - !ruby/object:Gem::Dependency
151
226
  name: guard-coffeescript
152
- requirement: &70227782478820 !ruby/object:Gem::Requirement
227
+ requirement: !ruby/object:Gem::Requirement
153
228
  none: false
154
229
  requirements:
155
230
  - - ! '>='
@@ -157,10 +232,31 @@ dependencies:
157
232
  version: '0'
158
233
  type: :development
159
234
  prerelease: false
160
- version_requirements: *70227782478820
235
+ version_requirements: !ruby/object:Gem::Requirement
236
+ none: false
237
+ requirements:
238
+ - - ! '>='
239
+ - !ruby/object:Gem::Version
240
+ version: '0'
241
+ - !ruby/object:Gem::Dependency
242
+ name: guard-copy
243
+ requirement: !ruby/object:Gem::Requirement
244
+ none: false
245
+ requirements:
246
+ - - ! '>='
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ type: :development
250
+ prerelease: false
251
+ version_requirements: !ruby/object:Gem::Requirement
252
+ none: false
253
+ requirements:
254
+ - - ! '>='
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
161
257
  - !ruby/object:Gem::Dependency
162
258
  name: rainbows
163
- requirement: &70227782478240 !ruby/object:Gem::Requirement
259
+ requirement: !ruby/object:Gem::Requirement
164
260
  none: false
165
261
  requirements:
166
262
  - - ~>
@@ -168,10 +264,15 @@ dependencies:
168
264
  version: 4.4.3
169
265
  type: :development
170
266
  prerelease: false
171
- version_requirements: *70227782478240
267
+ version_requirements: !ruby/object:Gem::Requirement
268
+ none: false
269
+ requirements:
270
+ - - ~>
271
+ - !ruby/object:Gem::Version
272
+ version: 4.4.3
172
273
  - !ruby/object:Gem::Dependency
173
274
  name: thin
174
- requirement: &70227782477000 !ruby/object:Gem::Requirement
275
+ requirement: !ruby/object:Gem::Requirement
175
276
  none: false
176
277
  requirements:
177
278
  - - ! '>='
@@ -179,10 +280,15 @@ dependencies:
179
280
  version: '0'
180
281
  type: :development
181
282
  prerelease: false
182
- version_requirements: *70227782477000
283
+ version_requirements: !ruby/object:Gem::Requirement
284
+ none: false
285
+ requirements:
286
+ - - ! '>='
287
+ - !ruby/object:Gem::Version
288
+ version: '0'
183
289
  - !ruby/object:Gem::Dependency
184
290
  name: rack-test
185
- requirement: &70227782627660 !ruby/object:Gem::Requirement
291
+ requirement: !ruby/object:Gem::Requirement
186
292
  none: false
187
293
  requirements:
188
294
  - - ! '>='
@@ -190,10 +296,15 @@ dependencies:
190
296
  version: '0'
191
297
  type: :development
192
298
  prerelease: false
193
- version_requirements: *70227782627660
299
+ version_requirements: !ruby/object:Gem::Requirement
300
+ none: false
301
+ requirements:
302
+ - - ! '>='
303
+ - !ruby/object:Gem::Version
304
+ version: '0'
194
305
  - !ruby/object:Gem::Dependency
195
306
  name: async_rack_test
196
- requirement: &70227782626820 !ruby/object:Gem::Requirement
307
+ requirement: !ruby/object:Gem::Requirement
197
308
  none: false
198
309
  requirements:
199
310
  - - ! '>='
@@ -201,10 +312,15 @@ dependencies:
201
312
  version: '0'
202
313
  type: :development
203
314
  prerelease: false
204
- version_requirements: *70227782626820
315
+ version_requirements: !ruby/object:Gem::Requirement
316
+ none: false
317
+ requirements:
318
+ - - ! '>='
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
205
321
  - !ruby/object:Gem::Dependency
206
322
  name: foreman
207
- requirement: &70227782626200 !ruby/object:Gem::Requirement
323
+ requirement: !ruby/object:Gem::Requirement
208
324
  none: false
209
325
  requirements:
210
326
  - - ! '>='
@@ -212,10 +328,15 @@ dependencies:
212
328
  version: '0'
213
329
  type: :development
214
330
  prerelease: false
215
- version_requirements: *70227782626200
331
+ version_requirements: !ruby/object:Gem::Requirement
332
+ none: false
333
+ requirements:
334
+ - - ! '>='
335
+ - !ruby/object:Gem::Version
336
+ version: '0'
216
337
  - !ruby/object:Gem::Dependency
217
338
  name: sprockets
218
- requirement: &70227782624920 !ruby/object:Gem::Requirement
339
+ requirement: !ruby/object:Gem::Requirement
219
340
  none: false
220
341
  requirements:
221
342
  - - ! '>='
@@ -223,10 +344,31 @@ dependencies:
223
344
  version: '0'
224
345
  type: :development
225
346
  prerelease: false
226
- version_requirements: *70227782624920
347
+ version_requirements: !ruby/object:Gem::Requirement
348
+ none: false
349
+ requirements:
350
+ - - ! '>='
351
+ - !ruby/object:Gem::Version
352
+ version: '0'
227
353
  - !ruby/object:Gem::Dependency
228
354
  name: rake
229
- requirement: &70227782624040 !ruby/object:Gem::Requirement
355
+ requirement: !ruby/object:Gem::Requirement
356
+ none: false
357
+ requirements:
358
+ - - ! '>='
359
+ - !ruby/object:Gem::Version
360
+ version: '0'
361
+ type: :development
362
+ prerelease: false
363
+ version_requirements: !ruby/object:Gem::Requirement
364
+ none: false
365
+ requirements:
366
+ - - ! '>='
367
+ - !ruby/object:Gem::Version
368
+ version: '0'
369
+ - !ruby/object:Gem::Dependency
370
+ name: evergreen
371
+ requirement: !ruby/object:Gem::Requirement
230
372
  none: false
231
373
  requirements:
232
374
  - - ! '>='
@@ -234,7 +376,44 @@ dependencies:
234
376
  version: '0'
235
377
  type: :development
236
378
  prerelease: false
237
- version_requirements: *70227782624040
379
+ version_requirements: !ruby/object:Gem::Requirement
380
+ none: false
381
+ requirements:
382
+ - - ! '>='
383
+ - !ruby/object:Gem::Version
384
+ version: '0'
385
+ - !ruby/object:Gem::Dependency
386
+ name: capybara-webkit
387
+ requirement: !ruby/object:Gem::Requirement
388
+ none: false
389
+ requirements:
390
+ - - ! '>='
391
+ - !ruby/object:Gem::Version
392
+ version: '0'
393
+ type: :development
394
+ prerelease: false
395
+ version_requirements: !ruby/object:Gem::Requirement
396
+ none: false
397
+ requirements:
398
+ - - ! '>='
399
+ - !ruby/object:Gem::Version
400
+ version: '0'
401
+ - !ruby/object:Gem::Dependency
402
+ name: therubyracer
403
+ requirement: !ruby/object:Gem::Requirement
404
+ none: false
405
+ requirements:
406
+ - - ! '>='
407
+ - !ruby/object:Gem::Version
408
+ version: '0'
409
+ type: :development
410
+ prerelease: false
411
+ version_requirements: !ruby/object:Gem::Requirement
412
+ none: false
413
+ requirements:
414
+ - - ! '>='
415
+ - !ruby/object:Gem::Version
416
+ version: '0'
238
417
  description: Firehose is a realtime web application toolkit for building realtime
239
418
  Ruby web applications.
240
419
  email:
@@ -255,20 +434,23 @@ files:
255
434
  - Gemfile
256
435
  - Gemfile.lock
257
436
  - Guardfile
437
+ - LICENSE.txt
258
438
  - Procfile
439
+ - Procfile.dev
259
440
  - README.md
260
441
  - Rakefile
261
442
  - bin/firehose
443
+ - config/evergreen.rb
262
444
  - config/rainbows.rb
263
445
  - firehose.gemspec
264
446
  - lib/assets/javascripts/firehose.js.coffee
265
447
  - lib/assets/javascripts/firehose/base.js.coffee
266
448
  - lib/assets/javascripts/firehose/consumer.js.coffee
267
- - lib/assets/javascripts/firehose/json2.js
268
449
  - lib/assets/javascripts/firehose/long_poll.js.coffee
269
450
  - lib/assets/javascripts/firehose/transport.js.coffee
270
451
  - lib/assets/javascripts/firehose/version.js.coffee.erb
271
452
  - lib/assets/javascripts/firehose/web_socket.js.coffee
453
+ - lib/assets/javascripts/vendor/json2.js
272
454
  - lib/firehose.rb
273
455
  - lib/firehose/assets.rb
274
456
  - lib/firehose/cli.rb
@@ -294,6 +476,13 @@ files:
294
476
  - spec/integrations/rainbows_spec.rb
295
477
  - spec/integrations/shared_examples.rb
296
478
  - spec/integrations/thin_spec.rb
479
+ - spec/javascripts/firehose/base_spec.coffee
480
+ - spec/javascripts/firehose/consumer_spec.coffee
481
+ - spec/javascripts/firehose/long_poll_spec.coffee
482
+ - spec/javascripts/firehose/transport_spec.coffee
483
+ - spec/javascripts/firehose/websocket_spec.coffee
484
+ - spec/javascripts/helpers/spec_helper.js
485
+ - spec/javascripts/support/sinon-1.7.3.js
297
486
  - spec/lib/assets_spec.rb
298
487
  - spec/lib/client/consumer_spec.rb
299
488
  - spec/lib/client/producer_spec.rb
@@ -307,9 +496,9 @@ files:
307
496
  - spec/lib/server/publisher_spec.rb
308
497
  - spec/lib/server/subscriber_spec.rb
309
498
  - spec/spec_helper.rb
310
- has_rdoc: true
311
499
  homepage: http://firehose.io/
312
- licenses: []
500
+ licenses:
501
+ - MIT
313
502
  post_install_message:
314
503
  rdoc_options: []
315
504
  require_paths:
@@ -328,7 +517,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
517
  version: '0'
329
518
  requirements: []
330
519
  rubyforge_project: firehose
331
- rubygems_version: 1.3.9.5
520
+ rubygems_version: 1.8.23
332
521
  signing_key:
333
522
  specification_version: 3
334
523
  summary: Build realtime Ruby web applications
@@ -337,6 +526,13 @@ test_files:
337
526
  - spec/integrations/rainbows_spec.rb
338
527
  - spec/integrations/shared_examples.rb
339
528
  - spec/integrations/thin_spec.rb
529
+ - spec/javascripts/firehose/base_spec.coffee
530
+ - spec/javascripts/firehose/consumer_spec.coffee
531
+ - spec/javascripts/firehose/long_poll_spec.coffee
532
+ - spec/javascripts/firehose/transport_spec.coffee
533
+ - spec/javascripts/firehose/websocket_spec.coffee
534
+ - spec/javascripts/helpers/spec_helper.js
535
+ - spec/javascripts/support/sinon-1.7.3.js
340
536
  - spec/lib/assets_spec.rb
341
537
  - spec/lib/client/consumer_spec.rb
342
538
  - spec/lib/client/producer_spec.rb
@@ -350,3 +546,4 @@ test_files:
350
546
  - spec/lib/server/publisher_spec.rb
351
547
  - spec/lib/server/subscriber_spec.rb
352
548
  - spec/spec_helper.rb
549
+ has_rdoc: