websocket-rails 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # WebsocketRails Change Log
2
2
 
3
+ ## Version 0.4.5
4
+
5
+ May 5 2013
6
+
7
+ * Fix controller class reloading in development. - Thanks to @florianguenther
8
+
3
9
  ## Version 0.4.4
4
10
 
5
11
  April 28 2013
@@ -12,7 +12,7 @@ module WebsocketRails
12
12
  # TODO: Add deprecation notice for user defined
13
13
  # instance variables.
14
14
  def new_for_event(event, controller_class)
15
- reload! controller_class
15
+ controller_class = reload!(controller_class)
16
16
  controller = controller_class.new
17
17
 
18
18
  prepare(controller, event)
@@ -59,13 +59,16 @@ module WebsocketRails
59
59
  # Reloads the controller class to pick up code changes
60
60
  # while in the development environment.
61
61
  def reload!(controller)
62
- return unless defined?(Rails) and !Rails.configuration.cache_classes
62
+ return controller unless defined?(Rails) and !Rails.configuration.cache_classes
63
63
  # we don't reload our own controller as we assume it provide as 'library'
64
64
  unless controller.name == "WebsocketRails::InternalController"
65
65
  class_name = controller.name
66
66
  filename = class_name.underscore
67
67
  load "#{filename}.rb"
68
+ return class_name.constantize
68
69
  end
70
+
71
+ return controller
69
72
  end
70
73
 
71
74
  end
@@ -1,3 +1,3 @@
1
1
  module WebsocketRails
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
@@ -129,1015 +129,3 @@ Connecting to database specified by database.yml
129
129
  Connecting to database specified by database.yml
130
130
  Connecting to database specified by database.yml
131
131
  Connecting to database specified by database.yml
132
- Connecting to database specified by database.yml
133
- Connecting to database specified by database.yml
134
- Connecting to database specified by database.yml
135
- Connecting to database specified by database.yml
136
- Connecting to database specified by database.yml
137
- Connecting to database specified by database.yml
138
- Connecting to database specified by database.yml
139
- Connecting to database specified by database.yml
140
- Connecting to database specified by database.yml
141
- Connecting to database specified by database.yml
142
- Connecting to database specified by database.yml
143
- Connecting to database specified by database.yml
144
- Connecting to database specified by database.yml
145
- Connecting to database specified by database.yml
146
- Connecting to database specified by database.yml
147
- Connecting to database specified by database.yml
148
- Connecting to database specified by database.yml
149
- Connecting to database specified by database.yml
150
- Connecting to database specified by database.yml
151
- Connecting to database specified by database.yml
152
- Connecting to database specified by database.yml
153
- Connecting to database specified by database.yml
154
- Connecting to database specified by database.yml
155
- Connecting to database specified by database.yml
156
- Connecting to database specified by database.yml
157
- Connecting to database specified by database.yml
158
- Connecting to database specified by database.yml
159
- Connecting to database specified by database.yml
160
- Connecting to database specified by database.yml
161
- Connecting to database specified by database.yml
162
- Connecting to database specified by database.yml
163
- Connecting to database specified by database.yml
164
- Connecting to database specified by database.yml
165
- Connecting to database specified by database.yml
166
- Connecting to database specified by database.yml
167
- Connecting to database specified by database.yml
168
- Connecting to database specified by database.yml
169
- Connecting to database specified by database.yml
170
- Connecting to database specified by database.yml
171
- Connecting to database specified by database.yml
172
- Connecting to database specified by database.yml
173
- Connecting to database specified by database.yml
174
- Connecting to database specified by database.yml
175
- Connecting to database specified by database.yml
176
- Connecting to database specified by database.yml
177
- Connecting to database specified by database.yml
178
- Connecting to database specified by database.yml
179
- Connecting to database specified by database.yml
180
- Connecting to database specified by database.yml
181
- Connecting to database specified by database.yml
182
- Connecting to database specified by database.yml
183
- Connecting to database specified by database.yml
184
- Connecting to database specified by database.yml
185
- Connecting to database specified by database.yml
186
- Connecting to database specified by database.yml
187
- Connecting to database specified by database.yml
188
- Connecting to database specified by database.yml
189
- Connecting to database specified by database.yml
190
- Connecting to database specified by database.yml
191
- Connecting to database specified by database.yml
192
- Connecting to database specified by database.yml
193
- Connecting to database specified by database.yml
194
- Connecting to database specified by database.yml
195
- Connecting to database specified by database.yml
196
- Connecting to database specified by database.yml
197
- Connecting to database specified by database.yml
198
- Connecting to database specified by database.yml
199
- Connecting to database specified by database.yml
200
- Connecting to database specified by database.yml
201
- Connecting to database specified by database.yml
202
- Connecting to database specified by database.yml
203
- Connecting to database specified by database.yml
204
- Connecting to database specified by database.yml
205
- Connecting to database specified by database.yml
206
- Connecting to database specified by database.yml
207
- Connecting to database specified by database.yml
208
- Connecting to database specified by database.yml
209
- Connecting to database specified by database.yml
210
- Connecting to database specified by database.yml
211
- Connecting to database specified by database.yml
212
- Connecting to database specified by database.yml
213
- Connecting to database specified by database.yml
214
- Connecting to database specified by database.yml
215
- Connecting to database specified by database.yml
216
- Connecting to database specified by database.yml
217
- Connecting to database specified by database.yml
218
- Connecting to database specified by database.yml
219
- Connecting to database specified by database.yml
220
- Connecting to database specified by database.yml
221
- Connecting to database specified by database.yml
222
- Connecting to database specified by database.yml
223
- Connecting to database specified by database.yml
224
- Connecting to database specified by database.yml
225
- Connecting to database specified by database.yml
226
- Connecting to database specified by database.yml
227
- Connecting to database specified by database.yml
228
- Connecting to database specified by database.yml
229
- Connecting to database specified by database.yml
230
- Connecting to database specified by database.yml
231
- Connecting to database specified by database.yml
232
- Connecting to database specified by database.yml
233
- Connecting to database specified by database.yml
234
- Connecting to database specified by database.yml
235
- Connecting to database specified by database.yml
236
- Connecting to database specified by database.yml
237
- Connecting to database specified by database.yml
238
- Connecting to database specified by database.yml
239
- Connecting to database specified by database.yml
240
- Connecting to database specified by database.yml
241
- Connecting to database specified by database.yml
242
- Connecting to database specified by database.yml
243
- Connecting to database specified by database.yml
244
- Connecting to database specified by database.yml
245
- Connecting to database specified by database.yml
246
- Connecting to database specified by database.yml
247
- Connecting to database specified by database.yml
248
- Connecting to database specified by database.yml
249
- Connecting to database specified by database.yml
250
- Connecting to database specified by database.yml
251
- Connecting to database specified by database.yml
252
- Connecting to database specified by database.yml
253
- Connecting to database specified by database.yml
254
- Connecting to database specified by database.yml
255
- Connecting to database specified by database.yml
256
- Connecting to database specified by database.yml
257
- Connecting to database specified by database.yml
258
- Connecting to database specified by database.yml
259
- Connecting to database specified by database.yml
260
- Connecting to database specified by database.yml
261
- Connecting to database specified by database.yml
262
- Connecting to database specified by database.yml
263
- Connecting to database specified by database.yml
264
- Connecting to database specified by database.yml
265
- Connecting to database specified by database.yml
266
- Connecting to database specified by database.yml
267
- Connecting to database specified by database.yml
268
- Connecting to database specified by database.yml
269
- Connecting to database specified by database.yml
270
- Connecting to database specified by database.yml
271
- Connecting to database specified by database.yml
272
- Connecting to database specified by database.yml
273
- Connecting to database specified by database.yml
274
- Connecting to database specified by database.yml
275
- Connecting to database specified by database.yml
276
- Connecting to database specified by database.yml
277
- Connecting to database specified by database.yml
278
- Connecting to database specified by database.yml
279
- Connecting to database specified by database.yml
280
- Connecting to database specified by database.yml
281
- Connecting to database specified by database.yml
282
- Connecting to database specified by database.yml
283
- Connecting to database specified by database.yml
284
- Connecting to database specified by database.yml
285
- Connecting to database specified by database.yml
286
- Connecting to database specified by database.yml
287
- Connecting to database specified by database.yml
288
- Connecting to database specified by database.yml
289
- Connecting to database specified by database.yml
290
- Connecting to database specified by database.yml
291
- Connecting to database specified by database.yml
292
- Connecting to database specified by database.yml
293
- Connecting to database specified by database.yml
294
- Connecting to database specified by database.yml
295
- Connecting to database specified by database.yml
296
- Connecting to database specified by database.yml
297
- Connecting to database specified by database.yml
298
- Connecting to database specified by database.yml
299
- Connecting to database specified by database.yml
300
- Connecting to database specified by database.yml
301
- Connecting to database specified by database.yml
302
- Connecting to database specified by database.yml
303
- Connecting to database specified by database.yml
304
- Connecting to database specified by database.yml
305
- Connecting to database specified by database.yml
306
- Connecting to database specified by database.yml
307
- Connecting to database specified by database.yml
308
- Connecting to database specified by database.yml
309
- Connecting to database specified by database.yml
310
- Connecting to database specified by database.yml
311
- Connecting to database specified by database.yml
312
- Connecting to database specified by database.yml
313
- Connecting to database specified by database.yml
314
- Connecting to database specified by database.yml
315
- Connecting to database specified by database.yml
316
- Connecting to database specified by database.yml
317
- Connecting to database specified by database.yml
318
- Connecting to database specified by database.yml
319
- Connecting to database specified by database.yml
320
- Connecting to database specified by database.yml
321
- Connecting to database specified by database.yml
322
- Connecting to database specified by database.yml
323
- Connecting to database specified by database.yml
324
- Connecting to database specified by database.yml
325
- Connecting to database specified by database.yml
326
- Connecting to database specified by database.yml
327
- Connecting to database specified by database.yml
328
- Connecting to database specified by database.yml
329
- Connecting to database specified by database.yml
330
- Connecting to database specified by database.yml
331
- Connecting to database specified by database.yml
332
- Connecting to database specified by database.yml
333
- Connecting to database specified by database.yml
334
- Connecting to database specified by database.yml
335
- Connecting to database specified by database.yml
336
- Connecting to database specified by database.yml
337
- Connecting to database specified by database.yml
338
- Connecting to database specified by database.yml
339
- Connecting to database specified by database.yml
340
- Connecting to database specified by database.yml
341
- Connecting to database specified by database.yml
342
- Connecting to database specified by database.yml
343
- Connecting to database specified by database.yml
344
- Connecting to database specified by database.yml
345
- Connecting to database specified by database.yml
346
- Connecting to database specified by database.yml
347
- Connecting to database specified by database.yml
348
- Connecting to database specified by database.yml
349
- Connecting to database specified by database.yml
350
- Connecting to database specified by database.yml
351
- Connecting to database specified by database.yml
352
- Connecting to database specified by database.yml
353
- Connecting to database specified by database.yml
354
- Connecting to database specified by database.yml
355
- Connecting to database specified by database.yml
356
- Connecting to database specified by database.yml
357
- Connecting to database specified by database.yml
358
- Connecting to database specified by database.yml
359
- Connecting to database specified by database.yml
360
- Connecting to database specified by database.yml
361
- Connecting to database specified by database.yml
362
- Connecting to database specified by database.yml
363
- Connecting to database specified by database.yml
364
- Connecting to database specified by database.yml
365
- Connecting to database specified by database.yml
366
- Connecting to database specified by database.yml
367
- Connecting to database specified by database.yml
368
- Connecting to database specified by database.yml
369
- Connecting to database specified by database.yml
370
- Connecting to database specified by database.yml
371
- Connecting to database specified by database.yml
372
- Connecting to database specified by database.yml
373
- Connecting to database specified by database.yml
374
- Connecting to database specified by database.yml
375
- Connecting to database specified by database.yml
376
- Connecting to database specified by database.yml
377
- Connecting to database specified by database.yml
378
- Connecting to database specified by database.yml
379
- Connecting to database specified by database.yml
380
- Connecting to database specified by database.yml
381
- Connecting to database specified by database.yml
382
- Connecting to database specified by database.yml
383
- Connecting to database specified by database.yml
384
- Connecting to database specified by database.yml
385
- Connecting to database specified by database.yml
386
- Connecting to database specified by database.yml
387
- Connecting to database specified by database.yml
388
- Connecting to database specified by database.yml
389
- Connecting to database specified by database.yml
390
- Connecting to database specified by database.yml
391
- Connecting to database specified by database.yml
392
- Connecting to database specified by database.yml
393
- Connecting to database specified by database.yml
394
- Connecting to database specified by database.yml
395
- Connecting to database specified by database.yml
396
- Connecting to database specified by database.yml
397
- Connecting to database specified by database.yml
398
- Connecting to database specified by database.yml
399
- Connecting to database specified by database.yml
400
- Connecting to database specified by database.yml
401
- Connecting to database specified by database.yml
402
- Connecting to database specified by database.yml
403
- Connecting to database specified by database.yml
404
- Connecting to database specified by database.yml
405
- Connecting to database specified by database.yml
406
- Connecting to database specified by database.yml
407
- Connecting to database specified by database.yml
408
- Connecting to database specified by database.yml
409
- Connecting to database specified by database.yml
410
- Connecting to database specified by database.yml
411
- Connecting to database specified by database.yml
412
- Connecting to database specified by database.yml
413
- Connecting to database specified by database.yml
414
- Connecting to database specified by database.yml
415
- Connecting to database specified by database.yml
416
- Connecting to database specified by database.yml
417
- Connecting to database specified by database.yml
418
- Connecting to database specified by database.yml
419
- Connecting to database specified by database.yml
420
- Connecting to database specified by database.yml
421
- Connecting to database specified by database.yml
422
- Connecting to database specified by database.yml
423
- Connecting to database specified by database.yml
424
- Connecting to database specified by database.yml
425
- Connecting to database specified by database.yml
426
- Connecting to database specified by database.yml
427
- Connecting to database specified by database.yml
428
- Connecting to database specified by database.yml
429
- Connecting to database specified by database.yml
430
- Connecting to database specified by database.yml
431
- Connecting to database specified by database.yml
432
- Connecting to database specified by database.yml
433
- Connecting to database specified by database.yml
434
- Connecting to database specified by database.yml
435
- Connecting to database specified by database.yml
436
- Connecting to database specified by database.yml
437
- Connecting to database specified by database.yml
438
- Connecting to database specified by database.yml
439
- Connecting to database specified by database.yml
440
- Connecting to database specified by database.yml
441
- Connecting to database specified by database.yml
442
- Connecting to database specified by database.yml
443
- Connecting to database specified by database.yml
444
- Connecting to database specified by database.yml
445
- Connecting to database specified by database.yml
446
- Connecting to database specified by database.yml
447
- Connecting to database specified by database.yml
448
- Connecting to database specified by database.yml
449
- Connecting to database specified by database.yml
450
- Connecting to database specified by database.yml
451
- Connecting to database specified by database.yml
452
- Connecting to database specified by database.yml
453
- Connecting to database specified by database.yml
454
- Connecting to database specified by database.yml
455
- Connecting to database specified by database.yml
456
- Connecting to database specified by database.yml
457
- Connecting to database specified by database.yml
458
- Connecting to database specified by database.yml
459
- Connecting to database specified by database.yml
460
- Connecting to database specified by database.yml
461
- Connecting to database specified by database.yml
462
- Connecting to database specified by database.yml
463
- Connecting to database specified by database.yml
464
- Connecting to database specified by database.yml
465
- Connecting to database specified by database.yml
466
- Connecting to database specified by database.yml
467
- Connecting to database specified by database.yml
468
- Connecting to database specified by database.yml
469
- Connecting to database specified by database.yml
470
- Connecting to database specified by database.yml
471
- Connecting to database specified by database.yml
472
- Connecting to database specified by database.yml
473
- Connecting to database specified by database.yml
474
- Connecting to database specified by database.yml
475
- Connecting to database specified by database.yml
476
- Connecting to database specified by database.yml
477
- Connecting to database specified by database.yml
478
- Connecting to database specified by database.yml
479
- Connecting to database specified by database.yml
480
- Connecting to database specified by database.yml
481
- Connecting to database specified by database.yml
482
- Connecting to database specified by database.yml
483
- Connecting to database specified by database.yml
484
- Connecting to database specified by database.yml
485
- Connecting to database specified by database.yml
486
- Connecting to database specified by database.yml
487
- Connecting to database specified by database.yml
488
- Connecting to database specified by database.yml
489
- Connecting to database specified by database.yml
490
- Connecting to database specified by database.yml
491
- Connecting to database specified by database.yml
492
- Connecting to database specified by database.yml
493
- Connecting to database specified by database.yml
494
- Connecting to database specified by database.yml
495
- Connecting to database specified by database.yml
496
- Connecting to database specified by database.yml
497
- Connecting to database specified by database.yml
498
- Connecting to database specified by database.yml
499
- Connecting to database specified by database.yml
500
- Connecting to database specified by database.yml
501
- Connecting to database specified by database.yml
502
- Connecting to database specified by database.yml
503
- Connecting to database specified by database.yml
504
- Connecting to database specified by database.yml
505
- Connecting to database specified by database.yml
506
- Connecting to database specified by database.yml
507
- Connecting to database specified by database.yml
508
- Connecting to database specified by database.yml
509
- Connecting to database specified by database.yml
510
- Connecting to database specified by database.yml
511
- Connecting to database specified by database.yml
512
- Connecting to database specified by database.yml
513
- Connecting to database specified by database.yml
514
- Connecting to database specified by database.yml
515
- Connecting to database specified by database.yml
516
- Connecting to database specified by database.yml
517
- Connecting to database specified by database.yml
518
- Connecting to database specified by database.yml
519
- Connecting to database specified by database.yml
520
- Connecting to database specified by database.yml
521
- Connecting to database specified by database.yml
522
- Connecting to database specified by database.yml
523
- Connecting to database specified by database.yml
524
- Connecting to database specified by database.yml
525
- Connecting to database specified by database.yml
526
- Connecting to database specified by database.yml
527
- Connecting to database specified by database.yml
528
- Connecting to database specified by database.yml
529
- Connecting to database specified by database.yml
530
- Connecting to database specified by database.yml
531
- Connecting to database specified by database.yml
532
- Connecting to database specified by database.yml
533
- Connecting to database specified by database.yml
534
- Connecting to database specified by database.yml
535
- Connecting to database specified by database.yml
536
- Connecting to database specified by database.yml
537
- Connecting to database specified by database.yml
538
- Connecting to database specified by database.yml
539
- Connecting to database specified by database.yml
540
- Connecting to database specified by database.yml
541
- Connecting to database specified by database.yml
542
- Connecting to database specified by database.yml
543
- Connecting to database specified by database.yml
544
- Connecting to database specified by database.yml
545
- Connecting to database specified by database.yml
546
- Connecting to database specified by database.yml
547
- Connecting to database specified by database.yml
548
- Connecting to database specified by database.yml
549
- Connecting to database specified by database.yml
550
- Connecting to database specified by database.yml
551
- Connecting to database specified by database.yml
552
- Connecting to database specified by database.yml
553
- Connecting to database specified by database.yml
554
- Connecting to database specified by database.yml
555
- Connecting to database specified by database.yml
556
- Connecting to database specified by database.yml
557
- Connecting to database specified by database.yml
558
- Connecting to database specified by database.yml
559
- Connecting to database specified by database.yml
560
- Connecting to database specified by database.yml
561
- Connecting to database specified by database.yml
562
- Connecting to database specified by database.yml
563
- Connecting to database specified by database.yml
564
- Connecting to database specified by database.yml
565
- Connecting to database specified by database.yml
566
- Connecting to database specified by database.yml
567
- Connecting to database specified by database.yml
568
- Connecting to database specified by database.yml
569
- Connecting to database specified by database.yml
570
- Connecting to database specified by database.yml
571
- Connecting to database specified by database.yml
572
- Connecting to database specified by database.yml
573
- Connecting to database specified by database.yml
574
- Connecting to database specified by database.yml
575
- Connecting to database specified by database.yml
576
- Connecting to database specified by database.yml
577
- Connecting to database specified by database.yml
578
- Connecting to database specified by database.yml
579
- Connecting to database specified by database.yml
580
- Connecting to database specified by database.yml
581
- Connecting to database specified by database.yml
582
- Connecting to database specified by database.yml
583
- Connecting to database specified by database.yml
584
- Connecting to database specified by database.yml
585
- Connecting to database specified by database.yml
586
- Connecting to database specified by database.yml
587
- Connecting to database specified by database.yml
588
- Connecting to database specified by database.yml
589
- Connecting to database specified by database.yml
590
- Connecting to database specified by database.yml
591
- Connecting to database specified by database.yml
592
- Connecting to database specified by database.yml
593
- Connecting to database specified by database.yml
594
- Connecting to database specified by database.yml
595
- Connecting to database specified by database.yml
596
- Connecting to database specified by database.yml
597
- Connecting to database specified by database.yml
598
- Connecting to database specified by database.yml
599
- Connecting to database specified by database.yml
600
- Connecting to database specified by database.yml
601
- Connecting to database specified by database.yml
602
- Connecting to database specified by database.yml
603
- Connecting to database specified by database.yml
604
- Connecting to database specified by database.yml
605
- Connecting to database specified by database.yml
606
- Connecting to database specified by database.yml
607
- Connecting to database specified by database.yml
608
- Connecting to database specified by database.yml
609
- Connecting to database specified by database.yml
610
- Connecting to database specified by database.yml
611
- Connecting to database specified by database.yml
612
- Connecting to database specified by database.yml
613
- Connecting to database specified by database.yml
614
- Connecting to database specified by database.yml
615
- Connecting to database specified by database.yml
616
- Connecting to database specified by database.yml
617
- Connecting to database specified by database.yml
618
- Connecting to database specified by database.yml
619
- Connecting to database specified by database.yml
620
- Connecting to database specified by database.yml
621
- Connecting to database specified by database.yml
622
- Connecting to database specified by database.yml
623
- Connecting to database specified by database.yml
624
- Connecting to database specified by database.yml
625
- Connecting to database specified by database.yml
626
- Connecting to database specified by database.yml
627
- Connecting to database specified by database.yml
628
- Connecting to database specified by database.yml
629
- Connecting to database specified by database.yml
630
- Connecting to database specified by database.yml
631
- Connecting to database specified by database.yml
632
- Connecting to database specified by database.yml
633
- Connecting to database specified by database.yml
634
- Connecting to database specified by database.yml
635
- Connecting to database specified by database.yml
636
- Connecting to database specified by database.yml
637
- Connecting to database specified by database.yml
638
- Connecting to database specified by database.yml
639
- Connecting to database specified by database.yml
640
- Connecting to database specified by database.yml
641
- Connecting to database specified by database.yml
642
- Connecting to database specified by database.yml
643
- Connecting to database specified by database.yml
644
- Connecting to database specified by database.yml
645
- Connecting to database specified by database.yml
646
- Connecting to database specified by database.yml
647
- Connecting to database specified by database.yml
648
- Connecting to database specified by database.yml
649
- Connecting to database specified by database.yml
650
- Connecting to database specified by database.yml
651
- Connecting to database specified by database.yml
652
- Connecting to database specified by database.yml
653
- Connecting to database specified by database.yml
654
- Connecting to database specified by database.yml
655
- Connecting to database specified by database.yml
656
- Connecting to database specified by database.yml
657
- Connecting to database specified by database.yml
658
- Connecting to database specified by database.yml
659
- Connecting to database specified by database.yml
660
- Connecting to database specified by database.yml
661
- Connecting to database specified by database.yml
662
- Connecting to database specified by database.yml
663
- Connecting to database specified by database.yml
664
- Connecting to database specified by database.yml
665
- Connecting to database specified by database.yml
666
- Connecting to database specified by database.yml
667
- Connecting to database specified by database.yml
668
- Connecting to database specified by database.yml
669
- Connecting to database specified by database.yml
670
- Connecting to database specified by database.yml
671
- Connecting to database specified by database.yml
672
- Connecting to database specified by database.yml
673
- Connecting to database specified by database.yml
674
- Connecting to database specified by database.yml
675
- Connecting to database specified by database.yml
676
- Connecting to database specified by database.yml
677
- Connecting to database specified by database.yml
678
- Connecting to database specified by database.yml
679
- Connecting to database specified by database.yml
680
- Connecting to database specified by database.yml
681
- Connecting to database specified by database.yml
682
- Connecting to database specified by database.yml
683
- Connecting to database specified by database.yml
684
- Connecting to database specified by database.yml
685
- Connecting to database specified by database.yml
686
- Connecting to database specified by database.yml
687
- Connecting to database specified by database.yml
688
- Connecting to database specified by database.yml
689
- Connecting to database specified by database.yml
690
- Connecting to database specified by database.yml
691
- Connecting to database specified by database.yml
692
- Connecting to database specified by database.yml
693
- Connecting to database specified by database.yml
694
- Connecting to database specified by database.yml
695
- Connecting to database specified by database.yml
696
- Connecting to database specified by database.yml
697
- Connecting to database specified by database.yml
698
- Connecting to database specified by database.yml
699
- Connecting to database specified by database.yml
700
- Connecting to database specified by database.yml
701
- Connecting to database specified by database.yml
702
- Connecting to database specified by database.yml
703
- Connecting to database specified by database.yml
704
- Connecting to database specified by database.yml
705
- Connecting to database specified by database.yml
706
- Connecting to database specified by database.yml
707
- Connecting to database specified by database.yml
708
- Connecting to database specified by database.yml
709
- Connecting to database specified by database.yml
710
- Connecting to database specified by database.yml
711
- Connecting to database specified by database.yml
712
- Connecting to database specified by database.yml
713
- Connecting to database specified by database.yml
714
- Connecting to database specified by database.yml
715
- Connecting to database specified by database.yml
716
- Connecting to database specified by database.yml
717
- Connecting to database specified by database.yml
718
- Connecting to database specified by database.yml
719
- Connecting to database specified by database.yml
720
- Connecting to database specified by database.yml
721
- Connecting to database specified by database.yml
722
- Connecting to database specified by database.yml
723
- Connecting to database specified by database.yml
724
- Connecting to database specified by database.yml
725
- Connecting to database specified by database.yml
726
- Connecting to database specified by database.yml
727
- Connecting to database specified by database.yml
728
- Connecting to database specified by database.yml
729
- Connecting to database specified by database.yml
730
- Connecting to database specified by database.yml
731
- Connecting to database specified by database.yml
732
- Connecting to database specified by database.yml
733
- Connecting to database specified by database.yml
734
- Connecting to database specified by database.yml
735
- Connecting to database specified by database.yml
736
- Connecting to database specified by database.yml
737
- Connecting to database specified by database.yml
738
- Connecting to database specified by database.yml
739
- Connecting to database specified by database.yml
740
- Connecting to database specified by database.yml
741
- Connecting to database specified by database.yml
742
- Connecting to database specified by database.yml
743
- Connecting to database specified by database.yml
744
- Connecting to database specified by database.yml
745
- Connecting to database specified by database.yml
746
- Connecting to database specified by database.yml
747
- Connecting to database specified by database.yml
748
- Connecting to database specified by database.yml
749
- Connecting to database specified by database.yml
750
- Connecting to database specified by database.yml
751
- Connecting to database specified by database.yml
752
- Connecting to database specified by database.yml
753
- Connecting to database specified by database.yml
754
- Connecting to database specified by database.yml
755
- Connecting to database specified by database.yml
756
- Connecting to database specified by database.yml
757
- Connecting to database specified by database.yml
758
- Connecting to database specified by database.yml
759
- Connecting to database specified by database.yml
760
- Connecting to database specified by database.yml
761
- Connecting to database specified by database.yml
762
- Connecting to database specified by database.yml
763
- Connecting to database specified by database.yml
764
- Connecting to database specified by database.yml
765
- Connecting to database specified by database.yml
766
- Connecting to database specified by database.yml
767
- Connecting to database specified by database.yml
768
- Connecting to database specified by database.yml
769
- Connecting to database specified by database.yml
770
- Connecting to database specified by database.yml
771
- Connecting to database specified by database.yml
772
- Connecting to database specified by database.yml
773
- Connecting to database specified by database.yml
774
- Connecting to database specified by database.yml
775
- Connecting to database specified by database.yml
776
- Connecting to database specified by database.yml
777
- Connecting to database specified by database.yml
778
- Connecting to database specified by database.yml
779
- Connecting to database specified by database.yml
780
- Connecting to database specified by database.yml
781
- Connecting to database specified by database.yml
782
- Connecting to database specified by database.yml
783
- Connecting to database specified by database.yml
784
- Connecting to database specified by database.yml
785
- Connecting to database specified by database.yml
786
- Connecting to database specified by database.yml
787
- Connecting to database specified by database.yml
788
- Connecting to database specified by database.yml
789
- Connecting to database specified by database.yml
790
- Connecting to database specified by database.yml
791
- Connecting to database specified by database.yml
792
- Connecting to database specified by database.yml
793
- Connecting to database specified by database.yml
794
- Connecting to database specified by database.yml
795
- Connecting to database specified by database.yml
796
- Connecting to database specified by database.yml
797
- Connecting to database specified by database.yml
798
- Connecting to database specified by database.yml
799
- Connecting to database specified by database.yml
800
- Connecting to database specified by database.yml
801
- Connecting to database specified by database.yml
802
- Connecting to database specified by database.yml
803
- Connecting to database specified by database.yml
804
- Connecting to database specified by database.yml
805
- Connecting to database specified by database.yml
806
- Connecting to database specified by database.yml
807
- Connecting to database specified by database.yml
808
- Connecting to database specified by database.yml
809
- Connecting to database specified by database.yml
810
- Connecting to database specified by database.yml
811
- Connecting to database specified by database.yml
812
- Connecting to database specified by database.yml
813
- Connecting to database specified by database.yml
814
- Connecting to database specified by database.yml
815
- Connecting to database specified by database.yml
816
- Connecting to database specified by database.yml
817
- Connecting to database specified by database.yml
818
- Connecting to database specified by database.yml
819
- Connecting to database specified by database.yml
820
- Connecting to database specified by database.yml
821
- Connecting to database specified by database.yml
822
- Connecting to database specified by database.yml
823
- Connecting to database specified by database.yml
824
- Connecting to database specified by database.yml
825
- Connecting to database specified by database.yml
826
- Connecting to database specified by database.yml
827
- Connecting to database specified by database.yml
828
- Connecting to database specified by database.yml
829
- Connecting to database specified by database.yml
830
- Connecting to database specified by database.yml
831
- Connecting to database specified by database.yml
832
- Connecting to database specified by database.yml
833
- Connecting to database specified by database.yml
834
- Connecting to database specified by database.yml
835
- Connecting to database specified by database.yml
836
- Connecting to database specified by database.yml
837
- Connecting to database specified by database.yml
838
- Connecting to database specified by database.yml
839
- Connecting to database specified by database.yml
840
- Connecting to database specified by database.yml
841
- Connecting to database specified by database.yml
842
- Connecting to database specified by database.yml
843
- Connecting to database specified by database.yml
844
- Connecting to database specified by database.yml
845
- Connecting to database specified by database.yml
846
- Connecting to database specified by database.yml
847
- Connecting to database specified by database.yml
848
- Connecting to database specified by database.yml
849
- Connecting to database specified by database.yml
850
- Connecting to database specified by database.yml
851
- Connecting to database specified by database.yml
852
- Connecting to database specified by database.yml
853
- Connecting to database specified by database.yml
854
- Connecting to database specified by database.yml
855
- Connecting to database specified by database.yml
856
- Connecting to database specified by database.yml
857
- Connecting to database specified by database.yml
858
- Connecting to database specified by database.yml
859
- Connecting to database specified by database.yml
860
- Connecting to database specified by database.yml
861
- Connecting to database specified by database.yml
862
- Connecting to database specified by database.yml
863
- Connecting to database specified by database.yml
864
- Connecting to database specified by database.yml
865
- Connecting to database specified by database.yml
866
- Connecting to database specified by database.yml
867
- Connecting to database specified by database.yml
868
- Connecting to database specified by database.yml
869
- Connecting to database specified by database.yml
870
- Connecting to database specified by database.yml
871
- Connecting to database specified by database.yml
872
- Connecting to database specified by database.yml
873
- Connecting to database specified by database.yml
874
- Connecting to database specified by database.yml
875
- Connecting to database specified by database.yml
876
- Connecting to database specified by database.yml
877
- Connecting to database specified by database.yml
878
- Connecting to database specified by database.yml
879
- Connecting to database specified by database.yml
880
- Connecting to database specified by database.yml
881
- Connecting to database specified by database.yml
882
- Connecting to database specified by database.yml
883
- Connecting to database specified by database.yml
884
- Connecting to database specified by database.yml
885
- Connecting to database specified by database.yml
886
- Connecting to database specified by database.yml
887
- Connecting to database specified by database.yml
888
- Connecting to database specified by database.yml
889
- Connecting to database specified by database.yml
890
- Connecting to database specified by database.yml
891
- Connecting to database specified by database.yml
892
- Connecting to database specified by database.yml
893
- Connecting to database specified by database.yml
894
- Connecting to database specified by database.yml
895
- Connecting to database specified by database.yml
896
- Connecting to database specified by database.yml
897
- Connecting to database specified by database.yml
898
- Connecting to database specified by database.yml
899
- Connecting to database specified by database.yml
900
- Connecting to database specified by database.yml
901
- Connecting to database specified by database.yml
902
- Connecting to database specified by database.yml
903
- Connecting to database specified by database.yml
904
- Connecting to database specified by database.yml
905
- Connecting to database specified by database.yml
906
- Connecting to database specified by database.yml
907
- Connecting to database specified by database.yml
908
- Connecting to database specified by database.yml
909
- Connecting to database specified by database.yml
910
- Connecting to database specified by database.yml
911
- Connecting to database specified by database.yml
912
- Connecting to database specified by database.yml
913
- Connecting to database specified by database.yml
914
- Connecting to database specified by database.yml
915
- Connecting to database specified by database.yml
916
- Connecting to database specified by database.yml
917
- Connecting to database specified by database.yml
918
- Connecting to database specified by database.yml
919
- Connecting to database specified by database.yml
920
- Connecting to database specified by database.yml
921
- Connecting to database specified by database.yml
922
- Connecting to database specified by database.yml
923
- Connecting to database specified by database.yml
924
- Connecting to database specified by database.yml
925
- Connecting to database specified by database.yml
926
- Connecting to database specified by database.yml
927
- Connecting to database specified by database.yml
928
- Connecting to database specified by database.yml
929
- Connecting to database specified by database.yml
930
- Connecting to database specified by database.yml
931
- Connecting to database specified by database.yml
932
- Connecting to database specified by database.yml
933
- Connecting to database specified by database.yml
934
- Connecting to database specified by database.yml
935
- Connecting to database specified by database.yml
936
- Connecting to database specified by database.yml
937
- Connecting to database specified by database.yml
938
- Connecting to database specified by database.yml
939
- Connecting to database specified by database.yml
940
- Connecting to database specified by database.yml
941
- Connecting to database specified by database.yml
942
- Connecting to database specified by database.yml
943
- Connecting to database specified by database.yml
944
- Connecting to database specified by database.yml
945
- Connecting to database specified by database.yml
946
- Connecting to database specified by database.yml
947
- Connecting to database specified by database.yml
948
- Connecting to database specified by database.yml
949
- Connecting to database specified by database.yml
950
- Connecting to database specified by database.yml
951
- Connecting to database specified by database.yml
952
- Connecting to database specified by database.yml
953
- Connecting to database specified by database.yml
954
- Connecting to database specified by database.yml
955
- Connecting to database specified by database.yml
956
- Connecting to database specified by database.yml
957
- Connecting to database specified by database.yml
958
- Connecting to database specified by database.yml
959
- Connecting to database specified by database.yml
960
- Connecting to database specified by database.yml
961
- Connecting to database specified by database.yml
962
- Connecting to database specified by database.yml
963
- Connecting to database specified by database.yml
964
- Connecting to database specified by database.yml
965
- Connecting to database specified by database.yml
966
- Connecting to database specified by database.yml
967
- Connecting to database specified by database.yml
968
- Connecting to database specified by database.yml
969
- Connecting to database specified by database.yml
970
- Connecting to database specified by database.yml
971
- Connecting to database specified by database.yml
972
- Connecting to database specified by database.yml
973
- Connecting to database specified by database.yml
974
- Connecting to database specified by database.yml
975
- Connecting to database specified by database.yml
976
- Connecting to database specified by database.yml
977
- Connecting to database specified by database.yml
978
- Connecting to database specified by database.yml
979
- Connecting to database specified by database.yml
980
- Connecting to database specified by database.yml
981
- Connecting to database specified by database.yml
982
- Connecting to database specified by database.yml
983
- Connecting to database specified by database.yml
984
- Connecting to database specified by database.yml
985
- Connecting to database specified by database.yml
986
- Connecting to database specified by database.yml
987
- Connecting to database specified by database.yml
988
- Connecting to database specified by database.yml
989
- Connecting to database specified by database.yml
990
- Connecting to database specified by database.yml
991
- Connecting to database specified by database.yml
992
- Connecting to database specified by database.yml
993
- Connecting to database specified by database.yml
994
- Connecting to database specified by database.yml
995
- Connecting to database specified by database.yml
996
- Connecting to database specified by database.yml
997
- Connecting to database specified by database.yml
998
- Connecting to database specified by database.yml
999
- Connecting to database specified by database.yml
1000
- Connecting to database specified by database.yml
1001
- Connecting to database specified by database.yml
1002
- Connecting to database specified by database.yml
1003
- Connecting to database specified by database.yml
1004
- Connecting to database specified by database.yml
1005
- Connecting to database specified by database.yml
1006
- Connecting to database specified by database.yml
1007
- Connecting to database specified by database.yml
1008
- Connecting to database specified by database.yml
1009
- Connecting to database specified by database.yml
1010
- Connecting to database specified by database.yml
1011
- Connecting to database specified by database.yml
1012
- Connecting to database specified by database.yml
1013
- Connecting to database specified by database.yml
1014
- Connecting to database specified by database.yml
1015
- Connecting to database specified by database.yml
1016
- Connecting to database specified by database.yml
1017
- Connecting to database specified by database.yml
1018
- Connecting to database specified by database.yml
1019
- Connecting to database specified by database.yml
1020
- Connecting to database specified by database.yml
1021
- Connecting to database specified by database.yml
1022
- Connecting to database specified by database.yml
1023
- Connecting to database specified by database.yml
1024
- Connecting to database specified by database.yml
1025
- Connecting to database specified by database.yml
1026
- Connecting to database specified by database.yml
1027
- Connecting to database specified by database.yml
1028
- Connecting to database specified by database.yml
1029
- Connecting to database specified by database.yml
1030
- Connecting to database specified by database.yml
1031
- Connecting to database specified by database.yml
1032
- Connecting to database specified by database.yml
1033
- Connecting to database specified by database.yml
1034
- Connecting to database specified by database.yml
1035
- Connecting to database specified by database.yml
1036
- Connecting to database specified by database.yml
1037
- Connecting to database specified by database.yml
1038
- Connecting to database specified by database.yml
1039
- Connecting to database specified by database.yml
1040
- Connecting to database specified by database.yml
1041
- Connecting to database specified by database.yml
1042
- Connecting to database specified by database.yml
1043
- Connecting to database specified by database.yml
1044
- Connecting to database specified by database.yml
1045
- Connecting to database specified by database.yml
1046
- Connecting to database specified by database.yml
1047
- Connecting to database specified by database.yml
1048
- Connecting to database specified by database.yml
1049
- Connecting to database specified by database.yml
1050
- Connecting to database specified by database.yml
1051
- Connecting to database specified by database.yml
1052
- Connecting to database specified by database.yml
1053
- Connecting to database specified by database.yml
1054
- Connecting to database specified by database.yml
1055
- Connecting to database specified by database.yml
1056
- Connecting to database specified by database.yml
1057
- Connecting to database specified by database.yml
1058
- Connecting to database specified by database.yml
1059
- Connecting to database specified by database.yml
1060
- Connecting to database specified by database.yml
1061
- Connecting to database specified by database.yml
1062
- Connecting to database specified by database.yml
1063
- Connecting to database specified by database.yml
1064
- Connecting to database specified by database.yml
1065
- Connecting to database specified by database.yml
1066
- Connecting to database specified by database.yml
1067
- Connecting to database specified by database.yml
1068
- Connecting to database specified by database.yml
1069
- Connecting to database specified by database.yml
1070
- Connecting to database specified by database.yml
1071
- Connecting to database specified by database.yml
1072
- Connecting to database specified by database.yml
1073
- Connecting to database specified by database.yml
1074
- Connecting to database specified by database.yml
1075
- Connecting to database specified by database.yml
1076
- Connecting to database specified by database.yml
1077
- Connecting to database specified by database.yml
1078
- Connecting to database specified by database.yml
1079
- Connecting to database specified by database.yml
1080
- Connecting to database specified by database.yml
1081
- Connecting to database specified by database.yml
1082
- Connecting to database specified by database.yml
1083
- Connecting to database specified by database.yml
1084
- Connecting to database specified by database.yml
1085
- Connecting to database specified by database.yml
1086
- Connecting to database specified by database.yml
1087
- Connecting to database specified by database.yml
1088
- Connecting to database specified by database.yml
1089
- Connecting to database specified by database.yml
1090
- Connecting to database specified by database.yml
1091
- Connecting to database specified by database.yml
1092
- Connecting to database specified by database.yml
1093
- Connecting to database specified by database.yml
1094
- Connecting to database specified by database.yml
1095
- Connecting to database specified by database.yml
1096
- Connecting to database specified by database.yml
1097
- Connecting to database specified by database.yml
1098
- Connecting to database specified by database.yml
1099
- Connecting to database specified by database.yml
1100
- Connecting to database specified by database.yml
1101
- Connecting to database specified by database.yml
1102
- Connecting to database specified by database.yml
1103
- Connecting to database specified by database.yml
1104
- Connecting to database specified by database.yml
1105
- Connecting to database specified by database.yml
1106
- Connecting to database specified by database.yml
1107
- Connecting to database specified by database.yml
1108
- Connecting to database specified by database.yml
1109
- Connecting to database specified by database.yml
1110
- Connecting to database specified by database.yml
1111
- Connecting to database specified by database.yml
1112
- Connecting to database specified by database.yml
1113
- Connecting to database specified by database.yml
1114
- Connecting to database specified by database.yml
1115
- Connecting to database specified by database.yml
1116
- Connecting to database specified by database.yml
1117
- Connecting to database specified by database.yml
1118
- Connecting to database specified by database.yml
1119
- Connecting to database specified by database.yml
1120
- Connecting to database specified by database.yml
1121
- Connecting to database specified by database.yml
1122
- Connecting to database specified by database.yml
1123
- Connecting to database specified by database.yml
1124
- Connecting to database specified by database.yml
1125
- Connecting to database specified by database.yml
1126
- Connecting to database specified by database.yml
1127
- Connecting to database specified by database.yml
1128
- Connecting to database specified by database.yml
1129
- Connecting to database specified by database.yml
1130
- Connecting to database specified by database.yml
1131
- Connecting to database specified by database.yml
1132
- Connecting to database specified by database.yml
1133
- Connecting to database specified by database.yml
1134
- Connecting to database specified by database.yml
1135
- Connecting to database specified by database.yml
1136
- Connecting to database specified by database.yml
1137
- Connecting to database specified by database.yml
1138
- Connecting to database specified by database.yml
1139
- Connecting to database specified by database.yml
1140
- Connecting to database specified by database.yml
1141
- Connecting to database specified by database.yml
1142
- Connecting to database specified by database.yml
1143
- Connecting to database specified by database.yml
@@ -50,11 +50,12 @@
50
50
 
51
51
  this.createXMLHttpObject = __bind(this.createXMLHttpObject, this);
52
52
 
53
+ this._url = this.url;
53
54
  this._conn = this.createXMLHttpObject();
54
55
  this.last_pos = 0;
55
56
  this.message_queue = [];
56
57
  this._conn.onreadystatechange = this.parse_stream;
57
- this._conn.open("GET", "/websocket", true);
58
+ this._conn.open("GET", this._url, true);
58
59
  this._conn.send();
59
60
  }
60
61
 
@@ -78,7 +79,7 @@
78
79
  };
79
80
 
80
81
  HttpConnection.prototype.post_data = function(connection_id, payload) {
81
- return $.ajax("/websocket", {
82
+ return $.ajax(this._url, {
82
83
  type: 'POST',
83
84
  data: {
84
85
  client_id: connection_id,
@@ -3,7 +3,7 @@
3
3
  WebsocketRails JavaScript Client
4
4
 
5
5
  Setting up the dispatcher:
6
- var dispatcher = new WebSocketRails('localhost:3000');
6
+ var dispatcher = new WebSocketRails('localhost:3000/websocket');
7
7
  dispatcher.on_open = function() {
8
8
  // trigger a server event immediately after opening connection
9
9
  dispatcher.trigger('new_user',{user_name: 'guest'});
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: websocket-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-28 00:00:00.000000000 Z
14
+ date: 2013-05-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -300,7 +300,7 @@ files:
300
300
  - CHANGELOG.md
301
301
  homepage: http://danknox.github.com/websocket-rails/
302
302
  licenses: []
303
- post_install_message: ! " Welcome to WebsocketRails v0.4.4!\n\n There have been
303
+ post_install_message: ! " Welcome to WebsocketRails v0.4.5!\n\n There have been
304
304
  a few significant changes in the public\n API, so if you are upgrading please be
305
305
  sure to read the\n CHANGELOG located at:\n\n http://github.com/DanKnox/websocket-rails/CHANGELOG.md\n"
306
306
  rdoc_options: []
@@ -314,7 +314,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
314
314
  version: '0'
315
315
  segments:
316
316
  - 0
317
- hash: 4427836168917747429
317
+ hash: 722796541565035851
318
318
  required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  none: false
320
320
  requirements:
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  version: '0'
324
324
  segments:
325
325
  - 0
326
- hash: 4427836168917747429
326
+ hash: 722796541565035851
327
327
  requirements: []
328
328
  rubyforge_project: websocket-rails
329
329
  rubygems_version: 1.8.25