active_record_host_pool 3.0.0 → 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9937e04d8be8861b4e568b680048b61bacb86e8a2c8ce0a459943c44640f3af
|
4
|
+
data.tar.gz: cb20c2fefd723228aa9a97b9578fe121b4b1c8230e6309be8791e9ddf313bfc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 576feb76ce2e40a7a514c8f520fd9b15ea4cae69f7126b0124a1d418b16777ff8b70cae9381c11c99e95484e045f09879190282b9c015cb98438907770a60518
|
7
|
+
data.tar.gz: dc3f61f9dc3598a6c563d291885fd3723ae9266640037095238f5cdced37a0e128deaca5e9415b850a47fa3b9a35339fedcaf5d8657bf015324b350337b9b773
|
data/Changelog.md
CHANGED
@@ -6,6 +6,16 @@ and as of v1.0.0 this project adheres to [Semantic Versioning](https://semver.or
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [3.1.1]
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- A typo causing `#clean!` to not run.
|
13
|
+
|
14
|
+
## [3.1.0]
|
15
|
+
|
16
|
+
### Added
|
17
|
+
- Calls `#clean!` on the connection after switching databases.
|
18
|
+
|
9
19
|
## [3.0.0]
|
10
20
|
|
11
21
|
### Added
|
@@ -79,6 +79,7 @@ module ActiveRecordHostPool
|
|
79
79
|
log("select_db #{_host_pool_desired_database}", "SQL") do
|
80
80
|
clear_cache!
|
81
81
|
raw_connection.select_db(_host_pool_desired_database)
|
82
|
+
clean! if respond_to?(:clean!)
|
82
83
|
end
|
83
84
|
@_cached_current_database = _host_pool_desired_database
|
84
85
|
@_cached_connection_object_id = _real_connection_object_id
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_host_pool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Quorning
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-
|
14
|
+
date: 2024-09-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activerecord
|