standalone_activerecord_boot_loader 0.2.0 → 0.3.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6480e8c275a7ca01626b3d90489eed9ac2cfec80b5a45601a1c2f2d4af2afe
|
4
|
+
data.tar.gz: d6f38032e0450e7e2d9f3d0007c9302fbe9b9ba101cb68783df441c860649c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2044e781bf73bae6b5d549bb70847794dafc3b1a6361c93075cd7b93cd599449ba727ec4bbf0eaa93b2de3c60387ec636dca35ed57802cfd0e30d525f3f701
|
7
|
+
data.tar.gz: e67a91bf9b93f9028f0f6dc971a8809193ceef24f751976b11c0c3f45c81e10db715dd48d55b1e86e27714436f5a52bbd415ffb376727ee59da1cca944cdd8f2
|
@@ -70,9 +70,9 @@ module StandaloneActiverecordBootLoader
|
|
70
70
|
end
|
71
71
|
|
72
72
|
config = ActiveRecord::DatabaseConfigurations::HashConfig.new(@env, 'primary', database_config[@env])
|
73
|
-
return
|
73
|
+
return config if config.respond_to?(:configuration_hash)
|
74
74
|
|
75
|
-
|
75
|
+
database_config[@env]
|
76
76
|
end
|
77
77
|
end
|
78
78
|
end
|