ebisu_connection 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ebisu_connection.rb +0 -2
- data/lib/ebisu_connection/version.rb +1 -1
- metadata +3 -4
- data/lib/ebisu_connection/railtie.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cecd273a7f108ece25df9eba296918a4240c26e3
|
4
|
+
data.tar.gz: 123de88d95d7ac6e7327b5f47a369412c15890e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19eb6a3075a4fd930fc255ab5178b45442b73f498826d18af8a85955cddf6428fe07d5ab18a3a288df75d8801a82ed807b454a3a52dfc58ba03b4598cb63bb86
|
7
|
+
data.tar.gz: 0705daf19603c49ed9025a40e43799d730ac72fb81a5526b08d1fa51bc8afb961f7f676bf53b78496d0e92db8003201b005dc8125e713c53f1d3e33e471525e9
|
data/lib/ebisu_connection.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebisu_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tsukasaoishi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fresh_connection
|
@@ -174,7 +174,6 @@ files:
|
|
174
174
|
- lib/ebisu_connection/conf_file.rb
|
175
175
|
- lib/ebisu_connection/connection_manager.rb
|
176
176
|
- lib/ebisu_connection/greatest_common_divisor.rb
|
177
|
-
- lib/ebisu_connection/railtie.rb
|
178
177
|
- lib/ebisu_connection/replica.rb
|
179
178
|
- lib/ebisu_connection/version.rb
|
180
179
|
homepage: https://github.com/tsukasaoishi/ebisu_connection
|
@@ -197,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
196
|
version: '0'
|
198
197
|
requirements: []
|
199
198
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.6.
|
199
|
+
rubygems_version: 2.6.13
|
201
200
|
signing_key:
|
202
201
|
specification_version: 4
|
203
202
|
summary: EbisuConnection supports connections with configured replica servers.
|
@@ -1,9 +0,0 @@
|
|
1
|
-
module EbisuConnection
|
2
|
-
class Railtie < Rails::Railtie
|
3
|
-
initializer "fresh_connection.initialize_database", after: "active_record.initialize_database" do
|
4
|
-
ActiveSupport.on_load(:active_record) do
|
5
|
-
ActiveRecord::Base.establish_fresh_connection
|
6
|
-
end
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|