replica_pools 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: d68336f000e1bc2b7ad4a9543327efcf13742173
4
- data.tar.gz: d23aaf716c7be63525f71f5dd1891ffc4fbbed57
3
+ metadata.gz: edb39e7bba943456f9c6262e532183226db89ae5
4
+ data.tar.gz: 2a3b2c05e8de8f682ce09da5941f13eb8385ff0f
5
5
  SHA512:
6
- metadata.gz: c7f975243c4086d3217bb3f30fc1bd3a195835739b322048642063388ac562bf0cfb4ccbc0daf497e1cd76eacb6295138ed3071434a92b9ea5eef04da38cfd04
7
- data.tar.gz: 0f4fde78bbb40b2159b2f593cd3ad7244038a8a54dd34d544398e4d462c8d1a962b033ce17fba8b22a78d681c62a8431c7424aba4a172876c56360d3d71c930e
6
+ metadata.gz: 68cbf573d8ab894e5681688b1f65b66d66362560f6573d53c9a3afe56e4e33df1749054a3df048657761f2056294ff9059b1356b267ed4b394548473cea574c2
7
+ data.tar.gz: f64db9a4da50eee2203958b21c0a59b66f2339adad4ec3f607dbd2fcdb28804691ecce83bf800a418b55f237288ea55c13b8c1f7b053d68509e6ad5f3d80b214
@@ -2,7 +2,10 @@ require 'rails/engine'
2
2
 
3
3
  module ReplicaPools
4
4
  class Engine < Rails::Engine
5
- initializer 'replica_pools.defaults' do
5
+ # the :finisher_hook initializer is what runs :after_initializer
6
+ # callbacks. we want to guarantee that this configuration happens
7
+ # before `setup!` no matter what else happens to initializer order.
8
+ initializer 'replica_pools.defaults', before: :finisher_hook do
6
9
  ReplicaPools.config.environment = Rails.env
7
10
 
8
11
  ReplicaPools.config.safe_methods =
@@ -1,3 +1,3 @@
1
1
  module ReplicaPools
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: replica_pools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Drabik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-01 00:00:00.000000000 Z
12
+ date: 2015-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '1.2'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.2.2
142
+ rubygems_version: 2.4.8
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Connection proxy for ActiveRecord for leader / replica setups.