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: 7d7a08f0c887494700158188558b2e686d7a55fe773d20d2716f13741f92de67
4
- data.tar.gz: 6ebea4aecaeefdb2b03d07445313dd7faba8a09cc5b51c2a1cb2ab60a8a4f86a
3
+ metadata.gz: d405fd265deca0547e5ce7384b99c5c229cff755859981171fbc0a24cb9bea96
4
+ data.tar.gz: 458d7ecc088dde7691be9e2b0f0c00b1a185539ec6456eadc66579639089728a
5
5
  SHA512:
6
- metadata.gz: 661aefd62030b960a4d370226145406c1429391ac0f8be94b6c1c93dd8e575f095227efe8469b7a9bf4c9d9c086ff65574182a47c28371dd1c7a290dbccdcb66
7
- data.tar.gz: efff08f8624bf540027b0ce5a049c839db02e4c041ddf33d131f3fb6e69cd9a92187ecde3e6ee04afd435bcbd5ec26d5efd72e7aec8a639f779fa3fab2f03e17
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.config.respond_to?(:active_record)
46
- ar_config = Rails.application.config.active_record
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
 
@@ -4,5 +4,5 @@
4
4
  #
5
5
  # Version constant for the gem.
6
6
  module JetstreamBridge
7
- VERSION = '7.0.5'
7
+ VERSION = '7.0.6'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetstream_bridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.5
4
+ version: 7.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Attara