jetstream_bridge 7.0.5 → 7.0.6
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d405fd265deca0547e5ce7384b99c5c229cff755859981171fbc0a24cb9bea96
|
|
4
|
+
data.tar.gz: 458d7ecc088dde7691be9e2b0f0c00b1a185539ec6456eadc66579639089728a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1da0a56666a6bb35c892dbd1f3fcacba77a1428a3ce09d9fa74de2fbe2ac309325b2f9b3a42360d500fa4f74ad3b180a3581f521fab3df5ba6fa4cbe3d076fcf
|
|
7
|
+
data.tar.gz: 82efe7aace08352be950b7b7389bde00d0eb603041445af90e810c86567884139db6ce716873aadecbd15251e3f5d033b58a1f9acfa451d579b5f8d13eb3d588
|
|
@@ -40,10 +40,11 @@ module JetstreamBridge
|
|
|
40
40
|
# Prefer the Rails application configuration which is available
|
|
41
41
|
# without hitting ActiveRecord's dynamic matchers (that would raise
|
|
42
42
|
# when no connection is established).
|
|
43
|
-
if defined?(Rails) &&
|
|
44
|
-
Rails.application &&
|
|
45
|
-
Rails.application
|
|
46
|
-
|
|
43
|
+
if defined?(::Rails) &&
|
|
44
|
+
::Rails.respond_to?(:application) &&
|
|
45
|
+
::Rails.application &&
|
|
46
|
+
::Rails.application.config.respond_to?(:active_record)
|
|
47
|
+
ar_config = ::Rails.application.config.active_record
|
|
47
48
|
return ar_config.timestamped_migrations if ar_config.respond_to?(:timestamped_migrations)
|
|
48
49
|
end
|
|
49
50
|
|