1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/test
Sergey Ponomarev 723375147b Add ActionCable subscription connection identificator to PostgreSQL adapter
* You can distinguish connection among others with specific `application_name`

    ```sql
    SELECT application_name FROM pg_stat_activity;
    /*
        application_name
    ------------------------
    psql
    ActionCable-PID-42
    (2 rows)
    */
     ```

  * It's possible to customize connection identification with `id` option in `cable.yml`

    `ActionCable-PID-#{$$}` is the default value

  * Related tests refactoring

  * `ActionCable::Server#config.cable` is no mutated anymore inside Redis subscription adapter
2019-12-31 13:23:01 +03:00
..
channel Passing in a Hash instance as non-kwargs parameters has to be curly braced 2019-09-07 03:21:45 +09:00
connection Update Action Cable connection testing. 2019-01-14 01:19:56 +01:00
javascript/src Simplify ActionCable.createWebSocketURL and realphabetize exports (#35810) 2019-04-02 23:04:43 +02:00
server Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
stubs Remove redundant accessors 2018-06-11 16:39:50 +02:00
subscription_adapter Add ActionCable subscription connection identificator to PostgreSQL adapter 2019-12-31 13:23:01 +03:00
client_test.rb Passing in a Hash instance as non-kwargs parameters has to be curly braced 2019-09-07 03:21:45 +09:00
javascript_package_test.rb Enforce that actioncable compiled JS bundle is in sync with source code 2019-10-19 02:26:31 +02:00
test_helper.rb Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
test_helper_test.rb Passing in a Hash instance as non-kwargs parameters has to be curly braced 2019-09-07 03:21:45 +09:00
worker_test.rb Inherit all actioncable's test classes from ActionCable::TestCase 2018-06-08 23:23:06 +03:00