ebisu_connection 2.3.0 → 2.3.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/ebisu_connection/connection_manager.rb +0 -9
- data/lib/ebisu_connection/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da5ec811acbf00ad3651bfe1af53a4dc4055fa85
|
|
4
|
+
data.tar.gz: 4f0d482ae1b9b120df97a21db4df60abf8203fd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bc1efc861bc74c3211ea3737a3c6a2ca63717c75155b87e9b590fe64e83b5892b2d678d13c6d048dd7d40c9959715f12a2bcdb49d2c2aea49eaf18a8da49bb8
|
|
7
|
+
data.tar.gz: 51da097053bdfc3fc4740ee3066808516598becff46c0ba6b1ce50337f605931b1b0addeb1aec041c4350e01f1f77308dea2fbb085f9b6d6ebf0229965cc5402
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
require "concurrent"
|
|
2
|
-
require 'active_support/deprecation'
|
|
3
2
|
require "ebisu_connection/replica_group"
|
|
4
3
|
|
|
5
4
|
module EbisuConnection
|
|
@@ -13,14 +12,6 @@ module EbisuConnection
|
|
|
13
12
|
replicas.sample.connection
|
|
14
13
|
end
|
|
15
14
|
|
|
16
|
-
def slave_connection
|
|
17
|
-
ActiveSupport::Deprecation.warn(
|
|
18
|
-
"'slave_connection' is deprecated and will removed from version 2.4.0. use 'replica_connection' insted."
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
replica_connection
|
|
22
|
-
end
|
|
23
|
-
|
|
24
15
|
def put_aside!
|
|
25
16
|
return if check_own_connection
|
|
26
17
|
|
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.3.
|
|
4
|
+
version: 2.3.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-04-
|
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fresh_connection
|