replica_pools 2.0.0 → 2.0.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 +4 -4
- data/lib/replica_pools/engine.rb +4 -1
- data/lib/replica_pools/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edb39e7bba943456f9c6262e532183226db89ae5
|
4
|
+
data.tar.gz: 2a3b2c05e8de8f682ce09da5941f13eb8385ff0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68cbf573d8ab894e5681688b1f65b66d66362560f6573d53c9a3afe56e4e33df1749054a3df048657761f2056294ff9059b1356b267ed4b394548473cea574c2
|
7
|
+
data.tar.gz: f64db9a4da50eee2203958b21c0a59b66f2339adad4ec3f607dbd2fcdb28804691ecce83bf800a418b55f237288ea55c13b8c1f7b053d68509e6ad5f3d80b214
|
data/lib/replica_pools/engine.rb
CHANGED
@@ -2,7 +2,10 @@ require 'rails/engine'
|
|
2
2
|
|
3
3
|
module ReplicaPools
|
4
4
|
class Engine < Rails::Engine
|
5
|
-
initializer
|
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 =
|
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.
|
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-
|
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.
|
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.
|