switchman 1.12.13 → 1.12.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/switchman/active_record/connection_handler.rb +3 -1
- data/lib/switchman/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ff01aec7e29d41ff4153b5a0d630809c3cb6c593b979931887b893fbdba5e566
|
4
|
+
data.tar.gz: 78968b03376b3d66005f5e7b025fe48d96fe6a3752388cd5d77ec27e61b64f0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9d2a8cba6cf0c7c16d8a3ad437224e7a1ba11cf5e506840bbef46d846e8d839ea36b8b7845443a6f4c2c28bb209079041d1f7e278e0dd00d7d638f534cca305
|
7
|
+
data.tar.gz: 79206bb762a133632db6b56df8a9a0e9851d3a3f235339928de76e65a802274c3e5da353a6c7fbbeaa95490387baf5d8ba1ac5a0a7c9eb42db07ad966ed5ca2e
|
@@ -129,7 +129,9 @@ module Switchman
|
|
129
129
|
elsif spec_name != "primary"
|
130
130
|
primary_pool = retrieve_connection_pool("primary")
|
131
131
|
if primary_pool.is_a?(ConnectionPoolProxy)
|
132
|
-
ConnectionPoolProxy.new(spec_name.to_sym, primary_pool.default_pool, @shard_connection_pools)
|
132
|
+
pool = ConnectionPoolProxy.new(spec_name.to_sym, primary_pool.default_pool, @shard_connection_pools)
|
133
|
+
pool.instance_variable_set(:@schema_cache, primary_pool.schema_cache)
|
134
|
+
pool
|
133
135
|
else
|
134
136
|
primary_pool
|
135
137
|
end
|
data/lib/switchman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: switchman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
262
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.6
|
263
|
+
rubygems_version: 2.7.6
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Rails 4 sharding magic
|