fresh_connection 2.4.0.rc1 → 2.4.0.rc3
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/fresh_connection/connection_factory.rb +2 -2
- data/lib/fresh_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: 0e9818723aaf15568fe467830a0ab99e9e27d000
|
4
|
+
data.tar.gz: 6910cd697d349c87ffe392acd14922dca0735571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cecb4bc43c757d80fd5e979a19a096e59e7b7001ada3a345f98721e2355ff47285f20eab3ef3b9a80ccc2695515c06739278669e58518a8df8453ad6900213a1
|
7
|
+
data.tar.gz: 7084922b039d808c6171e55f3588515e97bd377dab35259a6e238ec26c2fbdb4095ac8adb0452b06a9bd0216f89fc4c2b26d4045e5f27e9a4336d868399c529f
|
@@ -5,12 +5,12 @@ module FreshConnection
|
|
5
5
|
class ConnectionFactory
|
6
6
|
def initialize(group, modify_spec = nil)
|
7
7
|
deprecation_warn
|
8
|
-
@spec = FreshConnection::ConnectionSpecification.new(group, modify_spec: modify_spec)
|
8
|
+
@spec = FreshConnection::ConnectionSpecification.new(group, modify_spec: modify_spec).spec
|
9
9
|
end
|
10
10
|
|
11
11
|
def new_connection
|
12
12
|
deprecation_warn
|
13
|
-
ActiveRecord::Base.__send__(@spec.adapter_method, @spec.
|
13
|
+
ActiveRecord::Base.__send__(@spec.adapter_method, @spec.config)
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fresh_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.
|
4
|
+
version: 2.4.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tsukasa OISHI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|