anycable-rails 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e35b83495ae5c34d0643158ea818575a12c4f04
4
- data.tar.gz: 04de7f30aeacb349d37b4490d33bda05ad0ca1cd
3
+ metadata.gz: c82adc592d1e855684907386b5db10ffd030c9db
4
+ data.tar.gz: db2ea38fabf346c44c025f8be5e808b3a165178f
5
5
  SHA512:
6
- metadata.gz: 7dee23f9858e5e763485b63ba7f9c6ad7f87b42b1332de4a11285c5c104442b6130145e63038e677336ba6d01fc824e349a850fc1cf334a400748ea597ea7188
7
- data.tar.gz: 7af9807402e3401855fa3c68a6c8613e8286dfc0e5d856916add020ea6b979ac2c5ce684ee5993b5e8704a5d5fc3b337adb0f22031602fb98a92229a0d0be547
6
+ metadata.gz: d5524fc251514a9031c39a33256726320b70f118f6df663dc5e6b5985c91b7ca8a6bac4ac11f72aa401e5fd158958d836c160e934343e37efac2179300be68b0
7
+ data.tar.gz: 2b96158722685924aae559450d90ac3bb884e2598090314534f99acca75bf3bb6831bd606f9d8198479eea26bf1369d9e5a3c743983b66bb5cf0fc45d2a57cae
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.4.6
4
+
5
+ - Disable mounting default Action Cable server when AnyCable is loaded. ([@palkan][])
6
+
3
7
  ## 0.4.5
4
8
 
5
9
  - Handle tagged logger. ([@palkan][])
data/README.md CHANGED
@@ -44,6 +44,10 @@ For usage outside Rails see [AnyCable repository](https://github.com/anycable/an
44
44
  Add Anycable to your application's Gemfile:
45
45
 
46
46
  ```ruby
47
+ gem 'anycable-rails'
48
+
49
+ # or if you want to use built-in Action Cable server
50
+ # for test and development (which is possible and recommended)
47
51
  gem 'anycable-rails', group: :production
48
52
  ```
49
53
 
@@ -55,8 +59,6 @@ rails generate anycable
55
59
 
56
60
  to create executable.
57
61
 
58
- You can use _built-in_ ActionCable for test and development.
59
-
60
62
  ## Configuration
61
63
 
62
64
  Add `config/anycable.yml`if you want to override defaults (see below):
@@ -2,6 +2,10 @@
2
2
  module Anycable
3
3
  module Rails
4
4
  class Engine < ::Rails::Engine # :nodoc:
5
+ initializer "disable built-in Action Cable mount" do |app|
6
+ app.config.action_cable.mount_path = nil
7
+ end
8
+
5
9
  initializer "release AR connections in RPC handler" do |_app|
6
10
  ActiveSupport.on_load(:active_record) do
7
11
  require "anycable/rails/activerecord/release_connection"
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Anycable
3
3
  module Rails
4
- VERSION = "0.4.5"
4
+ VERSION = "0.4.6"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-26 00:00:00.000000000 Z
11
+ date: 2017-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 2.6.4
165
+ rubygems_version: 2.6.11
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Rails adapter for AnyCable