phenix 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: d06f9c67aabcc12b5bcc69f946707721c300bdd1
4
- data.tar.gz: cea000f8802461f4e74c7e570bac1dc019276d2c
3
+ metadata.gz: 81c4943e9dba3f20d4235b48c51591d815cebe8c
4
+ data.tar.gz: 3edbc9630ea3fff246534143f6a4f94c382339d3
5
5
  SHA512:
6
- metadata.gz: 7d703ecd56aec74b5614e8ad9b6f30f08adb91d2f507ffad3513bc2a506074a4397214c41612747816c1df91886d95156a230e278d38cdcfe70aacb7e93b8bc6
7
- data.tar.gz: b24beb8e739f32dec960a06ec2f2b3b5ab1decec035d1baf4786e4ab4c3a8cc9ddeedfc7eb21fb5cec2e1c02282d16ae949502d74af1c78c53d2c05a702c58a4
6
+ metadata.gz: ff6734fb4457dde177334ce4c815793769e5477795fe949eac9776742e49a759938bfe37f84d769c10da0f2a72ab6f30d98c048ddcca30d6ee900efe1a0cb515
7
+ data.tar.gz: e148db5446d212736e3769da620a7bfe2ad1dae52f0c14a3201adb014c9b4247341c15343b3b1182cc24993221544efe2d8e62fbe4641b5d3c5105bfeb28d521
@@ -53,7 +53,7 @@ module Phenix
53
53
  end
54
54
 
55
55
  def for_each_database
56
- Phenix.current_configuration.each do |name, conf|
56
+ ActiveRecord::Base.configurations.each do |name, conf|
57
57
  next if conf['database'].nil?
58
58
  next if Phenix.skip_database.call(name, conf)
59
59
  yield(name, conf)
@@ -1,3 +1,3 @@
1
1
  module Phenix
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phenix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Schambacher