spring_onion 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spring_onion.rb +1 -1
- data/lib/spring_onion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2166dee73cd2b988af04fc4b64f5af17fa096b541cdba15046b0f9da6f7b4496
|
4
|
+
data.tar.gz: 4e45a91ae8fbafbad852ad137c9f2a0824a60dedbb6b21b21838f59b41c30592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7637adc4e70dfbacf589b0036409eed5e92b27fb9cbf9a737771adbf478a99b2cebddef95674396bebeb33dd1c9a46670b600ed455f93f40ea727847c10bd4a
|
7
|
+
data.tar.gz: 031403a533541b86a29e95b21ec6fbea2a1efd3706957a583dcd104f997424c6615aa94a5262e2504d0ec46bddfbd99a4e1bcf0894ead7870a937d8c08d3c50b
|
data/Gemfile.lock
CHANGED
data/lib/spring_onion.rb
CHANGED
@@ -15,7 +15,7 @@ require 'spring_onion/version'
|
|
15
15
|
ActiveSupport.on_load :active_record do
|
16
16
|
if ENV['SPRING_ONION_DATABASE_URL'] && !SpringOnion.connection
|
17
17
|
SpringOnion.connection = Mysql2::Client.new(
|
18
|
-
ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver.new(
|
18
|
+
ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver.new(ENV['SPRING_ONION_DATABASE_URL']).to_hash
|
19
19
|
)
|
20
20
|
end
|
21
21
|
|
data/lib/spring_onion/version.rb
CHANGED