ar_after_transaction 0.13.0 → 1.0.0

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: 5fc6cd7ed336bb72db43fb0bf73923cf021693999f2867947039b25f316dde91
4
- data.tar.gz: 1954616ed93343931b1063af780200b38d2927683574bfd5db75b9683928fd56
3
+ metadata.gz: 8a161ea97060bf4d65356b0efaae913428c64e42cb4e770ba13555fdec764925
4
+ data.tar.gz: 2924da8e38ffa9d3133b467a18cf8a99587a88d22d8d37c2f86c3b948246f878
5
5
  SHA512:
6
- metadata.gz: b4370170bb1f2fc651bd92d40e60172d32e2a233f68616e734e15b81bc0625d7b9723b0f698315ccef3dc822d4906073eb2393ab1ccd1fcf10b1477a6b1024f4
7
- data.tar.gz: a279c30528244c0617ff36ccb31cc1eb84d01f6689e82cbb429c8a31e624d7a3eeea58d4c9f82bc3769eaa60744dd7977687dc67e284eaea68c9bc3330bdd349
6
+ metadata.gz: 9438138b702f45ffe042a1410f08e9d36c68fb9621cd4a9d257f88dcc2a4bc0d9bf6f9af44fe0da9b8d0bcfac99cffc81639e6c39b2d84e9b51344cd10cda482
7
+ data.tar.gz: f8f83336e0256d7a91ce75993a08280724bd5d9f2d3397f3daf8765d6ab6729e6172d6bb46f7e57e40691e70bc3eac999d451ebaefb041a227392bb32f239e3d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ARAfterTransaction
4
- VERSION = '0.13.0'
4
+ VERSION = '1.0.0'
5
5
  end
@@ -83,6 +83,8 @@ module ARAfterTransactionConnection
83
83
  end
84
84
  end
85
85
 
86
- ActiveRecord::Base.extend ARAfterTransaction::ClassMethods
87
- ActiveRecord::Base.include ARAfterTransaction::InstanceMethods
86
+ ActiveSupport.on_load(:active_record) do
87
+ ActiveRecord::Base.extend ARAfterTransaction::ClassMethods
88
+ ActiveRecord::Base.include ARAfterTransaction::InstanceMethods
89
+ end
88
90
  ActiveRecord::ConnectionAdapters::AbstractAdapter.include ARAfterTransactionConnection
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_after_transaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
11
+ date: 2025-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord