paper_trail-association_tracking 2.4.0 → 2.4.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/paper_trail-association_tracking.rb +9 -9
- data/lib/paper_trail_association_tracking/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db930a2a677a76ab3663205f4b757c1239c99114c0e019b9c7d14a46fcbfb7d1
|
|
4
|
+
data.tar.gz: d08eee0dd5b83aa78d6b7a03cf65f37ddee1061afd4912c0ef74bf3bff372962
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2aa9352af4d2ffc3cea77e9e4b17762d6cd458044a9d136e33e5eb808af3ebc4406e845b45b1a9af75075412429232ec8013e9cc4fb17e7d31f86f8b6689ea9
|
|
7
|
+
data.tar.gz: 2ee4b693d7b1a1e352f1667d6337a1121ae2d9fb03773a7b6f72ad3343fcb8fe31f4b8308afd170f8809fa2c76b2e5ecec3c156894954ad37c94aa864a094c33
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
### Unreleased - [View Diff](https://github.com/westonganger/paper_trail-association_tracking/compare/v2.4.0...master)
|
|
4
4
|
- Nothing yet
|
|
5
5
|
|
|
6
|
+
### v2.4.1 - 2026-09-20 - [View Diff](https://github.com/westonganger/paper_trail-association_tracking/compare/v2.4.0...v2.4.1)
|
|
7
|
+
- [#60](https://github.com/westonganger/paper_trail-association_tracking/pull/60) - Fix initialization errors for non-Rails ActiveRecord only integrations
|
|
8
|
+
|
|
6
9
|
### v2.4.0 - 2026-09-16 - [View Diff](https://github.com/westonganger/paper_trail-association_tracking/compare/v2.3.0...v2.4.0)
|
|
7
10
|
- [#59](https://github.com/westonganger/paper_trail-association_tracking/pull/59) - Pass the version object when saving `belongs_to` association rows, so `VersionAssociation` no longer loads the parent version before each INSERT under `belongs_to_required_by_default`
|
|
8
11
|
- [#56](https://github.com/westonganger/paper_trail-association_tracking/pull/56) - Defer inclusion until after active record has fully loaded
|
|
@@ -8,15 +8,6 @@ require "paper_trail_association_tracking/record_trail"
|
|
|
8
8
|
require "paper_trail_association_tracking/request"
|
|
9
9
|
require "paper_trail_association_tracking/paper_trail"
|
|
10
10
|
|
|
11
|
-
if defined?(Rails)
|
|
12
|
-
require "paper_trail_association_tracking/frameworks/rails/railtie"
|
|
13
|
-
else
|
|
14
|
-
ActiveSupport.on_load(:active_record) do
|
|
15
|
-
require "paper_trail/frameworks/active_record"
|
|
16
|
-
require "paper_trail_association_tracking/frameworks/active_record"
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
|
|
20
11
|
module PaperTrailAssociationTracking
|
|
21
12
|
def self.version
|
|
22
13
|
VERSION
|
|
@@ -56,3 +47,12 @@ module PaperTrail
|
|
|
56
47
|
end
|
|
57
48
|
end
|
|
58
49
|
end
|
|
50
|
+
|
|
51
|
+
if defined?(Rails)
|
|
52
|
+
require "paper_trail_association_tracking/frameworks/rails/railtie"
|
|
53
|
+
else
|
|
54
|
+
ActiveSupport.on_load(:active_record) do
|
|
55
|
+
require "paper_trail/frameworks/active_record"
|
|
56
|
+
require "paper_trail_association_tracking/frameworks/active_record"
|
|
57
|
+
end
|
|
58
|
+
end
|