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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6ebac8b79b898f06004cbaf58cb639d348d37a4936719b8e33854289708aa8a
4
- data.tar.gz: 5bae8b0d8500ed2ce454194f21ac82833be665c37d338c962ab6152f01572b7d
3
+ metadata.gz: 2166dee73cd2b988af04fc4b64f5af17fa096b541cdba15046b0f9da6f7b4496
4
+ data.tar.gz: 4e45a91ae8fbafbad852ad137c9f2a0824a60dedbb6b21b21838f59b41c30592
5
5
  SHA512:
6
- metadata.gz: 565ddc62b8def422ec437ce23310ffb86068b41eb17b4225a1a4697865cef384fa9ae991f86fb0abd3ee52d9db139ba0f1114dd12f5abce1aec30fb0ea4e20f3
7
- data.tar.gz: 6a3258876b6fb9eb7963c4dd937ff909535917f642c956b1f46ac0954a916da202fc406cf4e023506c45bb4bf7821343285a8f5675bf716eb5a9ceb1e1740cee
6
+ metadata.gz: c7637adc4e70dfbacf589b0036409eed5e92b27fb9cbf9a737771adbf478a99b2cebddef95674396bebeb33dd1c9a46670b600ed455f93f40ea727847c10bd4a
7
+ data.tar.gz: 031403a533541b86a29e95b21ec6fbea2a1efd3706957a583dcd104f997424c6615aa94a5262e2504d0ec46bddfbd99a4e1bcf0894ead7870a937d8c08d3c50b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spring_onion (1.0.2)
4
+ spring_onion (1.0.3)
5
5
  activerecord
6
6
  coderay
7
7
  mysql2
@@ -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(url).to_hash
18
+ ActiveRecord::ConnectionAdapters::ConnectionSpecification::ConnectionUrlResolver.new(ENV['SPRING_ONION_DATABASE_URL']).to_hash
19
19
  )
20
20
  end
21
21
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SpringOnion
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spring_onion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel