aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-6/+6
| | | | | | | | | | | | | | | | | | | | | Since Rails 6.0 will support Ruby 2.4.1 or higher `# frozen_string_literal: true` magic comment is enough to make string object frozen. This magic comment is enabled by `Style/FrozenStringLiteralComment` cop. * Exclude these files not to auto correct false positive `Regexp#freeze` - 'actionpack/lib/action_dispatch/journey/router/utils.rb' - 'activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb' It has been fixed by https://github.com/rubocop-hq/rubocop/pull/6333 Once the newer version of RuboCop released and available at Code Climate these exclude entries should be removed. * Replace `String#freeze` with `String#-@` manually if explicit frozen string objects are required - 'actionpack/test/controller/test_case_test.rb' - 'activemodel/test/cases/type/string_test.rb' - 'activesupport/lib/active_support/core_ext/string/strip.rb' - 'activesupport/test/core_ext/string_ext_test.rb' - 'railties/test/generators/actions_test.rb'
* Add Action Cable test case and test helperVladimir Dementyev2018-08-191-0/+2
|
* Bump license years for 2018Yoshiyuki Hirano2017-12-311-1/+1
|
* [Action Cable] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts f851e1f705f26d8f92f0fc1b265b20bc389d23cb
* Use frozen string literal in actioncable/Kir Shatrov2017-07-231-0/+2
|
* [Action Cable] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Bump license years for 2017Jon Moss2016-12-311-1/+1
| | | | | | | | Per https://www.timeanddate.com/counters/firstnewyear.html, it's already 2017 in a lot of places, so we should bump the Rails license years to 2017. [ci skip]
* applies new string literal convention in actioncable/libXavier Noria2016-08-061-8/+8
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Added protocol negotiationDaniel Rhodes2016-04-051-1/+2
| | | | | | | | | This is primarily for backwards compatibility for when or if the protocol is changed in future versions. If the server fails to respond with an acceptable protocol, the client disconnects and disables the monitor.
* Share default mount path with client side .jsJavan Makhmali2016-03-031-1/+2
|
* Make ping into a message typeDaniel Rhodes2016-03-011-3/+1
| | | | | | | | This change makes ping into a message type, which makes the whole protocol a lot more consistent. Also fixes hacks on the client side to make this all work.
* Added welcome message type and fix test hacksDaniel Rhodes2016-03-011-0/+1
|
* ActionCable::StorageAdapter ==> ActionCable::SubscriptionAdapterJon Moss2016-01-181-1/+1
|
* Adapterize ActionCable storage and extract behaviorJon Moss2016-01-181-0/+1
|
* Update copyright notices to 2016 [ci skip]Rashmi Yadav2015-12-311-1/+1
|
* Initial stab at adding Action Cable to rails/masterDavid Heinemeier Hansson2015-12-141-8/+27
|
* Get ready to merge into RailsDavid Heinemeier Hansson2015-12-141-0/+31