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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c9bb5bdbc7a137501b16be9525858c58cd8665a673f0d81616e7ea08bda7c5b
4
- data.tar.gz: 6b1b61340da3ca8e3af00f43cb8b4ed8fb634a03a5111301e9d30501258bccad
3
+ metadata.gz: 00ce6fa02b2b7bd37bf6b62cd37078a6b5745a9408c242c4c4d7d18b6c55abca
4
+ data.tar.gz: 6aa29e417caaa27d7228448bf9a5d61a0928323fb6c90085138947c96cf74986
5
5
  SHA512:
6
- metadata.gz: 458e536d0b57c406cc66b150b5be511a086aaf5b1fc6aad7e282d0aeb1d8bd4cfb1ce1296820ccfaf03098c25b6d38d6d8ddd4dbfce3195160c803666cd4b3da
7
- data.tar.gz: da6901abda1bd01c87b01b0f7cc00be43226f0f7e29a1d480790542930d6a95e86d8a7d76b5a7c0d07839e79217d29a1eb9660318de29fbaf7f840775ec0d55f
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
@@ -4,7 +4,7 @@ module TrackChanges
4
4
 
5
5
  belongs_to :record, :polymorphic => true
6
6
 
7
- serialize :state, Hash if Configuration.serialize
7
+ serialize :state, type: Hash if Configuration.serialize
8
8
 
9
9
  before_save :capture_record_state
10
10
 
@@ -1,3 +1,3 @@
1
1
  module TrackChanges
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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: 1980-01-02 00:00:00.000000000 Z
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.6.9
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: []