identity_cache 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d664c4b120abe1a0aa9258143d60856d2da9773ac9ced3635f547de02533105
4
- data.tar.gz: 21ea5ee371633511dd2f92394ebec26daa986ac847e4c4ab8150489b1062f12b
3
+ metadata.gz: 74ac4689e3399b1aa302326508b6098665ced3f516637901e87c0a3e12005680
4
+ data.tar.gz: e4e5a009cd8820ba6110a750de6069d3f4735673f22111a09a8e86d4f7a6fd85
5
5
  SHA512:
6
- metadata.gz: 7a1059452a1a21efe5ccaf2f434290bf50dfb9326f99785f442a02b6d0c9c0005fb2019ca952ad65dbe744fda3886556fc0902f066dd4962dbfb924d2237bcfc
7
- data.tar.gz: ab0a8e434920d83e984052fb91ebd98e65caab07596a144d93159faed56e668a92003d6f7aba5c696404c6ad41b6178fa0d32deb087dd52cc17a8a849959b110
6
+ metadata.gz: 8bbe844d4a663b8de0ae1d5231687c3113a13d6922287516d70db5a0dcc11556f3e0529c9353566c06edb6dbeff77cf3f675607440dbe5f266f44c2c72f49fee
7
+ data.tar.gz: 447b2c17d61f17012f7100bbee16e063adfc0d9957a4eae0a2b117f7b81a7f5b6083fdc6ecc53bddb7a4204317acbd1a17cc04c3a95f40916df7a16995060fe0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.5.1
6
+
7
+ - Fix parent cache invalidation for custom foreign key associations
8
+
5
9
  ## 1.5.0
6
10
 
7
11
  - Require Active Record 7+
@@ -66,7 +66,7 @@ module IdentityCache
66
66
 
67
67
  def parents_to_expire_on_changes(parents_to_expire, association_name, cached_associations)
68
68
  parent_association = self.class.reflect_on_association(association_name)
69
- foreign_key = parent_association.association_foreign_key
69
+ foreign_key = parent_association.foreign_key
70
70
 
71
71
  new_parent = send(association_name)
72
72
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IdentityCache
4
- VERSION = "1.5.0"
4
+ VERSION = "1.5.1"
5
5
  CACHE_VERSION = 8
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identity_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Lopez
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2023-11-23 00:00:00.000000000 Z
17
+ date: 2023-12-04 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activerecord