Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't remove `cable.js` | yuuji.yaginuma | 2016-04-16 | 1 | -1/+3 |
| | | | | `cable.js` is required for other Channels. | ||||
* | Generate `cable.js` file if does not exist when generating channel | Prathamesh Sonpatki | 2016-04-12 | 2 | -0/+14 |
| | | | | | | | | | - Before this, while generating a channel, we were not creating `cable.js` if it does not already exist. - We have similar code for application mailer here - https://github.com/rails/rails/commit/0b3ae023d27197417541932632055cd6be4810c4. - Based on the comment - https://github.com/rails/rails/issues/24418#issuecomment-205421995. | ||||
* | Remove redundant regexp escapes in generators | Gadzhi Gadzhiev | 2016-03-08 | 1 | -1/+1 |
| | |||||
* | convert cable.coffee to cable.js | yuuji.yaginuma | 2016-02-28 | 1 | -1/+1 |
| | | | | In order to eliminate the dependecy of CoffeeScript. | ||||
* | Add notes for future selves | Jon Moss | 2016-02-22 | 1 | -0/+1 |
| | | | | | | | Once RubyGems 2.5.0 is required, then the duplicated files can be removed, and symlinks can be used instead. [ci skip] | ||||
* | Generate ApplicationCable files if they do not already exist | Jon Moss | 2016-02-22 | 3 | -0/+26 |
| | |||||
* | don’t explicitly mention EventMachine [ci skip] | yuuji.yaginuma | 2016-02-05 | 1 | -1/+1 |
| | | | | Follow up to 6accef4e11b0c793e1c085536b5ed27f32b6a0c3 | ||||
* | Use the generators options to not generate channel assets | Rafael Mendonça França | 2015-12-21 | 1 | -1/+4 |
| | |||||
* | Action Cable channel generator should not create JS assets in --api mode | Ryo Hashimoto | 2015-12-19 | 1 | -1/+3 |
| | |||||
* | add line break between method of generated channel js | yuuji.yaginuma | 2015-12-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` # before App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ``` ``` # after App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ``` | ||||
* | Should also stub the received callback | David Heinemeier Hansson | 2015-12-17 | 1 | -0/+3 |
| | |||||
* | Update USAGE | Paul Montero | 2015-12-17 | 1 | -1/+1 |
| | | | Fix typo | ||||
* | Clarify | David Heinemeier Hansson | 2015-12-16 | 1 | -3/+3 |
| | |||||
* | Generate all the ApplicationCable stubs by default, like all other ↵ | David Heinemeier Hansson | 2015-12-16 | 4 | -41/+0 |
| | | | | Application* stubs | ||||
* | Comment out the user handling so default setup connects directly | David Heinemeier Hansson | 2015-12-16 | 1 | -18/+18 |
| | |||||
* | Require tree | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Simpler directory structure | David Heinemeier Hansson | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | Note that changes to the cable setup requires restarting the server | David Heinemeier Hansson | 2015-12-16 | 3 | -0/+3 |
| | |||||
* | @App could have been set elsewhere | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Fix parent class | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Move Cable to ActionCable for client-side constant to avoid conflicts | David Heinemeier Hansson | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | Basic channel generator | David Heinemeier Hansson | 2015-12-15 | 7 | -0/+101 |