fresh_connection 3.1.1.rc1 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/fresh_connection/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00d3ffb887b3a19b14e749e67818736e9b24b27c280255707a171e47e711a37e
|
4
|
+
data.tar.gz: fc888334d602b44127e2f3595e59c08a272b408a65382f8fd6b154205ae92b70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 230c30d9dd1c1ac5bf2ce4af2bb67666fc0b1b230a6f5d7f62bcbdf0441b2e078708509f7b7c710ceb02eefae42c59abfd48d93347e7dd6a4c75ef5442c37182
|
7
|
+
data.tar.gz: 31de27f3781fb95b6a2d47612073e042431398e4514dde9ac23c58bf9b5d242d2c7944c46be6c9904486eb3b0a091b5642e0ee0679295e9de6b85c3e64d12fa0
|
data/README.md
CHANGED
@@ -139,6 +139,9 @@ production:
|
|
139
139
|
|
140
140
|
`replica` is the configuration used for connecting read-only queries to the database replica. All other connections will use the database master settings.
|
141
141
|
|
142
|
+
**NOTE:**
|
143
|
+
The 'replica' stanza has a special meaning in Rails6.
|
144
|
+
In Rails6, use a name other than 'replica', and specify that name using establish_fresh_connection in ApplicationRecord etc.
|
142
145
|
|
143
146
|
### Multiple DB Replicas
|
144
147
|
If you want to use multiple configured DB replicas, the configuration can contain multiple `replica` stanzas in the configuration file `config/database.yml`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fresh_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.1
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tsukasa OISHI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -194,11 +194,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
|
-
- - "
|
197
|
+
- - ">="
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version:
|
199
|
+
version: '0'
|
200
200
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
201
|
+
rubygems_version: 3.0.3
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: FreshConnection supports connections with configured replica servers.
|