jetstream_bridge 7.0.4 → 7.0.5

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: b5274a3beb50960035ce3e72f5d4a6f0dbb73921958cc1321c2df01f192d28a4
4
- data.tar.gz: e4cb2e3020d9b41ee0c6949d68251cf38c058b79451d03b1c65a2e8fddb5a5d5
3
+ metadata.gz: 7d7a08f0c887494700158188558b2e686d7a55fe773d20d2716f13741f92de67
4
+ data.tar.gz: 6ebea4aecaeefdb2b03d07445313dd7faba8a09cc5b51c2a1cb2ab60a8a4f86a
5
5
  SHA512:
6
- metadata.gz: 9f37289e6bbcc57c933426dbdf7feb33acd9a69dd164d8fe9805c7e9d08b6da5a1c55f6526f80f5126722a11f5ba1a9cf8cdad6f2d966588b6d9b3de6240f448
7
- data.tar.gz: df897be8ec356cec4c654b6e182539c03c4083dac42e04b54f5934ece1f7ccf9bd8e4e99775eaac5723c79097fd39a5423668f4d6a0d4f091f42686b5f127c71
6
+ metadata.gz: 661aefd62030b960a4d370226145406c1429391ac0f8be94b6c1c93dd8e575f095227efe8469b7a9bf4c9d9c086ff65574182a47c28371dd1c7a290dbccdcb66
7
+ data.tar.gz: efff08f8624bf540027b0ce5a049c839db02e4c041ddf33d131f3fb6e69cd9a92187ecde3e6ee04afd435bcbd5ec26d5efd72e7aec8a639f779fa3fab2f03e17
@@ -37,13 +37,17 @@ module JetstreamBridge
37
37
  end
38
38
 
39
39
  def self.timestamped_migrations?
40
- if ActiveRecord::Base.respond_to?(:timestamped_migrations)
41
- ActiveRecord::Base.timestamped_migrations
42
- elsif ActiveRecord::Migration.respond_to?(:timestamped_migrations)
43
- ActiveRecord::Migration.timestamped_migrations
44
- else
45
- true
40
+ # Prefer the Rails application configuration which is available
41
+ # without hitting ActiveRecord's dynamic matchers (that would raise
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
47
+ return ar_config.timestamped_migrations if ar_config.respond_to?(:timestamped_migrations)
46
48
  end
49
+
50
+ true
47
51
  end
48
52
 
49
53
  private
@@ -4,5 +4,5 @@
4
4
  #
5
5
  # Version constant for the gem.
6
6
  module JetstreamBridge
7
- VERSION = '7.0.4'
7
+ VERSION = '7.0.5'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetstream_bridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.4
4
+ version: 7.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Attara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-31 00:00:00.000000000 Z
11
+ date: 2026-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord