solid_cable 1.0.4 → 1.0.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 368a0fb2fc95a48908c5ac7c5e0024efc151bd5408d81a16e659cdd1d8be8c27
|
4
|
+
data.tar.gz: de55b31627d6cd90aeb38b50b37abe7939e30d1a287c4d896a2c132ded97224b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57ef9951de08928ef6a86414d930b67ce0b8ff13bb052fe3be131f5f3ef5593001552e670192de3e98950a2cfc2e24a14ccc959a438adb8d87bcc3ec422e8887
|
7
|
+
data.tar.gz: 0bf82c49324bb9d1f4e0416a00c267f6463c87fccc08b51837c876d0ed7327cee0e327b07b08fe75fc4e63ebadfa35b4b183522aaa624f42510bdad3278ed142
|
@@ -4,26 +4,17 @@ class SolidCable::InstallGenerator < Rails::Generators::Base
|
|
4
4
|
source_root File.expand_path("templates", __dir__)
|
5
5
|
|
6
6
|
def add_solid_errors_db_schema
|
7
|
-
template "cable_schema.rb"
|
7
|
+
template "db/cable_schema.rb"
|
8
8
|
end
|
9
9
|
|
10
10
|
def configure_production_cable
|
11
11
|
gsub_file("config/cable.yml",
|
12
|
-
|
12
|
+
/production:\n(^\s*.*$\n){2,}/,
|
13
13
|
new_production_cable_config)
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
17
17
|
|
18
|
-
def old_production_cable_config
|
19
|
-
<<~YAML
|
20
|
-
production:
|
21
|
-
adapter: redis
|
22
|
-
url: <%%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
23
|
-
channel_prefix: <%= app_name %>_production
|
24
|
-
YAML
|
25
|
-
end
|
26
|
-
|
27
18
|
def new_production_cable_config
|
28
19
|
<<~YAML
|
29
20
|
production:
|
data/lib/solid_cable/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solid_cable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Pezza
|
@@ -40,7 +40,7 @@ files:
|
|
40
40
|
- lib/action_cable/subscription_adapter/solid_cable.rb
|
41
41
|
- lib/generators/solid_cable/install/USAGE
|
42
42
|
- lib/generators/solid_cable/install/install_generator.rb
|
43
|
-
- lib/generators/solid_cable/install/templates/cable_schema.rb
|
43
|
+
- lib/generators/solid_cable/install/templates/db/cable_schema.rb
|
44
44
|
- lib/solid_cable.rb
|
45
45
|
- lib/solid_cable/engine.rb
|
46
46
|
- lib/solid_cable/railtie.rb
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
|
-
rubygems_version: 3.5.
|
70
|
+
rubygems_version: 3.5.18
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Database-backed Action Cable backend.
|
File without changes
|