culturecode-track_changes 0.3.0 → 0.3.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/app/models/track_changes/diff.rb +2 -2
- data/app/models/track_changes/snapshot.rb +1 -1
- data/lib/track_changes/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00ce6fa02b2b7bd37bf6b62cd37078a6b5745a9408c242c4c4d7d18b6c55abca
|
|
4
|
+
data.tar.gz: 6aa29e417caaa27d7228448bf9a5d61a0928323fb6c90085138947c96cf74986
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 224d069652d59b893af6e8a999573b8eb67da5e3025c816681499595d8765313528ebafe1948c0ca76a9857612f7b15a5addc4bf820336703a681e3de82b2220
|
|
7
|
+
data.tar.gz: ad1138d04bda4901edb376f8f6fe0ea6fe3252bac242e051beb235e6866fcf849c1c12cb3394d9c2c7fc21e9e8f31cdf8f288ff4ead51b4baa9e72eefb8358c3
|
|
@@ -5,8 +5,8 @@ module TrackChanges
|
|
|
5
5
|
belongs_to :record, :polymorphic => true
|
|
6
6
|
|
|
7
7
|
if Configuration.serialize
|
|
8
|
-
serialize :from, Hash
|
|
9
|
-
serialize :to, Hash
|
|
8
|
+
serialize :from, type: Hash
|
|
9
|
+
serialize :to, type: Hash
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
# Returns changes but only those where the string representation of the value has changed
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: culturecode-track_changes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas Jakobsen, Ryan Wallace
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: rails
|
|
@@ -64,6 +65,7 @@ homepage: https://github.com/culturecode/track_changes
|
|
|
64
65
|
licenses:
|
|
65
66
|
- MIT
|
|
66
67
|
metadata: {}
|
|
68
|
+
post_install_message:
|
|
67
69
|
rdoc_options: []
|
|
68
70
|
require_paths:
|
|
69
71
|
- lib
|
|
@@ -78,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
80
|
- !ruby/object:Gem::Version
|
|
79
81
|
version: '0'
|
|
80
82
|
requirements: []
|
|
81
|
-
rubygems_version: 3.
|
|
83
|
+
rubygems_version: 3.4.1
|
|
84
|
+
signing_key:
|
|
82
85
|
specification_version: 4
|
|
83
86
|
summary: Easily track changes to various ActiveRecord models
|
|
84
87
|
test_files: []
|