rails_failover 0.5.3 → 0.5.4
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/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/lib/rails_failover/redis/handler.rb +1 -1
- data/lib/rails_failover/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 222426341c6882af23c48e72efa03ee0b61438cb7c7d5075c1b9bfb67ce5408a
|
|
4
|
+
data.tar.gz: 6e4d5c05a3b5a157d7f1debc896db395a364db9700bca629eef63e6b1c0ec4d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef8840582a5409565a7ffffdae5de2679f8485021e0db0a5937be4932ab94e4b4398e09f56688deceb624988132b486b58b2822a46457a4eff31b5beb5892c5b
|
|
7
|
+
data.tar.gz: 2f174f557b0203becdd7aa468a4fb5a71c8b462d7c1a92ca575c925857c0c8de1935c580e2e8b5b420ef817204183f41bb74def0042a63b4b45f2c347175f638
|
data/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.5.4] - 2020-07-21
|
|
10
|
+
|
|
11
|
+
- FIX: Undefined method on nil class error in forking servers.
|
|
12
|
+
|
|
13
|
+
## [0.5.3] - 2020-07-20
|
|
14
|
+
|
|
15
|
+
- FIX: Incorrectly rescuing from `PG::ServerError`.
|
|
16
|
+
|
|
9
17
|
## [0.5.2] - 2020-06-23
|
|
10
18
|
|
|
11
19
|
### Changed
|
|
12
|
-
- FIX: Only rescue from connection errors.
|
|
20
|
+
- FIX: Only rescue from connection errors.
|
data/Gemfile.lock
CHANGED
|
@@ -163,7 +163,7 @@ module RailsFailover
|
|
|
163
163
|
@primaries_down[process_pid] = @primaries_down[@ancestor_pid] || {}
|
|
164
164
|
|
|
165
165
|
if process_pid != @ancestor_pid
|
|
166
|
-
@primaries_down.delete(@ancestor_pid)
|
|
166
|
+
@primaries_down.delete(@ancestor_pid)&.each do |id, options|
|
|
167
167
|
verify_primary(options)
|
|
168
168
|
end
|
|
169
169
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_failover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alan Tan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|