Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #69 from mieko/callbacks | Rafael Mendonça França | 2015-10-23 | 1 | -2/+2 |
|\ | | | | | | | Use ActiveSupport::Callbacks for Channel subscription callbacks. | ||||
| * | Use ActiveSupport::Callbacks for Channel subscription callbacks. | Mike A. Owens | 2015-08-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Rely on AS::Callbacks for callback handling. * Add before_subscribe, after_subscribe, before_unsubscribe and after_unsubscribe convenience methods * alias on_subscribe and on_unsubscribe to after_subscribe and after_unsubscribe, respectively. * Remove `subscribed` and `unsubscribed` from the callback chain: these methods are now executed as the subject of the callbacks. * Update portions of ActionCable to use the more specific callback names. | ||||
* | | Fix the error message in tests | Pratik Naik | 2015-10-19 | 1 | -1/+1 |
| | | |||||
* | | Better test name | Pratik Naik | 2015-10-19 | 1 | -1/+1 |
| | | |||||
* | | Make sure the subscription confirmaion is only sent out once | Pratik Naik | 2015-10-19 | 1 | -0/+24 |
| | | |||||
* | | Fix an error message in the subscription tests | Pratik Naik | 2015-10-16 | 1 | -1/+1 |
| | | |||||
* | | Send subscription confirmation from server to the client to avoid race ↵ | Pratik Naik | 2015-10-16 | 2 | -9/+32 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix stream tests | Pratik Naik | 2015-10-16 | 1 | -2/+2 |
| | | |||||
* | | Shush some low-hanging Ruby warnings | Jeremy Daer | 2015-10-16 | 1 | -0/+5 |
| | | |||||
* | | Run connection tests in EM loop | Pratik Naik | 2015-10-15 | 1 | -8/+15 |
|/ | |||||
* | Merge pull request #34 from ↵ | Kasper Timm Hansen | 2015-07-29 | 3 | -3/+50 |
|\ | | | | | | | | | lsylvester/add-broadcast_to-and-stream_for-methods-to-channel add broadcast_to and stream_for methods as per #26 | ||||
| * | add broadcast_to and stream_for methods as per #26 | Lachlan Sylvester | 2015-07-28 | 3 | -3/+50 |
| | | |||||
* | | Improve channel actions dispatcher to allow inheritance/mixins | Cristian Bica | 2015-07-23 | 1 | -2/+38 |
|/ | | | | Fixes #14 | ||||
* | Always load all the stub files | Pratik Naik | 2015-07-13 | 3 | -6/+3 |
| | |||||
* | Add some more tests | Pratik Naik | 2015-07-12 | 3 | -0/+168 |