1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

12 commits

Author SHA1 Message Date
Pratik Naik
a02e5f418b Better test name 2015-10-19 15:27:43 -05:00
Pratik Naik
506d84c157 Make sure the subscription confirmaion is only sent out once 2015-10-19 15:14:22 -05:00
Pratik Naik
06b59451ff Fix an error message in the subscription tests 2015-10-16 21:13:48 -05:00
Pratik Naik
84b1f0a3e6 Send subscription confirmation from server to the client to avoid race conditions.
Without this, it's very easy to send messages over a subscription even before the
redis pubsub has been fully initialized.

Now we delay calling the subscription#connected method on the client side until we
receive a subscription confirmation message from the server.
2015-10-16 21:11:21 -05:00
Pratik Naik
df5a32dfbc Fix stream tests 2015-10-16 18:19:35 -05:00
Jeremy Daer
4d6f1b0cbe Shush some low-hanging Ruby warnings 2015-10-16 00:32:46 -07:00
Pratik Naik
ee16ca8990 Run connection tests in EM loop 2015-10-15 21:11:49 -05:00
Kasper Timm Hansen
ae61460cb2 Merge pull request #34 from lsylvester/add-broadcast_to-and-stream_for-methods-to-channel
add broadcast_to and stream_for methods as per #26
2015-07-29 21:57:20 +02:00
Lachlan Sylvester
5954fd1e0a add broadcast_to and stream_for methods as per #26 2015-07-28 17:31:37 +10:00
Cristian Bica
a97a1fc745 Improve channel actions dispatcher to allow inheritance/mixins
Fixes #14
2015-07-23 15:00:30 +03:00
Pratik Naik
e1da6814b4 Always load all the stub files 2015-07-13 11:30:52 -05:00
Pratik Naik
1af531dcf7 Add some more tests 2015-07-12 11:44:56 -05:00