fresh_connection 3.1.1.rc1 → 3.1.1

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: ba2f6c91d19fa7619609c82c464bdd7d11eb9fcc6322fd02a02e5e5b542d1463
4
- data.tar.gz: 5861ad563a66ffd18f5050ff7f1852541cd8e5e8a2c2954f8015443a55f9e454
3
+ metadata.gz: 00d3ffb887b3a19b14e749e67818736e9b24b27c280255707a171e47e711a37e
4
+ data.tar.gz: fc888334d602b44127e2f3595e59c08a272b408a65382f8fd6b154205ae92b70
5
5
  SHA512:
6
- metadata.gz: d930efef155cbe217b93256cf5f78b54d30f19d41a23ef4daefda3d65acb3c5364479a5dd0cf3454aefc6c1d7105c91ec7b6a4b75419d3a0faf3e6e3f36e3e69
7
- data.tar.gz: bed2bf124336ef4d4d1e979bd9bb2df5aa39ea263b2525f46e07edd79e6cc7cc75140db0d487e2da90cabf16fa257d26e780a77c2f3d89b703279a88d55eb740
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`.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FreshConnection
4
- VERSION = "3.1.1.rc1"
4
+ VERSION = "3.1.1"
5
5
  end
6
6
 
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.rc1
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-28 00:00:00.000000000 Z
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: 1.3.1
199
+ version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.1.4
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.