switchman 1.12.13 → 1.12.14

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
- SHA1:
3
- metadata.gz: 401c1f7c8f2a5a8ed9cd3c0b9830c1dd7f952762
4
- data.tar.gz: 9c926550d54849e39606bc707e56e4fdf120de57
2
+ SHA256:
3
+ metadata.gz: ff01aec7e29d41ff4153b5a0d630809c3cb6c593b979931887b893fbdba5e566
4
+ data.tar.gz: 78968b03376b3d66005f5e7b025fe48d96fe6a3752388cd5d77ec27e61b64f0a
5
5
  SHA512:
6
- metadata.gz: b03616d2b6a58bfbce3b42348ed56df17fa62a98cfa835131cd99eb3118cd128ef5e76baac3bc751fd071ddd9cb6dcb414bc0f7ef79604eebb96e0c6bf248587
7
- data.tar.gz: c308e423afbf6f283fd17180bde96c498c354175f29755ab6f016b07f7959825fcd054488a8a37adc1fe84edcb4f188de85d5d0934dd3f50ffb877fd01179b73
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
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.12.13"
2
+ VERSION = "1.12.14"
3
3
  end
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.13
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: 2018-10-24 00:00:00.000000000 Z
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.10
263
+ rubygems_version: 2.7.6
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: Rails 4 sharding magic