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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -2
- data/lib/anycable/rails/engine.rb +4 -0
- data/lib/anycable/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c82adc592d1e855684907386b5db10ffd030c9db
|
4
|
+
data.tar.gz: db2ea38fabf346c44c025f8be5e808b3a165178f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5524fc251514a9031c39a33256726320b70f118f6df663dc5e6b5985c91b7ca8a6bac4ac11f72aa401e5fd158958d836c160e934343e37efac2179300be68b0
|
7
|
+
data.tar.gz: 2b96158722685924aae559450d90ac3bb884e2598090314534f99acca75bf3bb6831bd606f9d8198479eea26bf1369d9e5a3c743983b66bb5cf0fc45d2a57cae
|
data/CHANGELOG.md
CHANGED
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"
|
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.
|
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-
|
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.
|
165
|
+
rubygems_version: 2.6.11
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: Rails adapter for AnyCable
|