wcc-contentful 1.0.1 → 1.0.2

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
- SHA256:
3
- metadata.gz: f22654d250bb9d8f8011c38bb10ee5a61ccca2761e5f39f795513dd423b1265e
4
- data.tar.gz: 105f2934b5364a5fc64373bd6c34e822628cb7b9a5e80a6da09a093cd8df1340
2
+ SHA1:
3
+ metadata.gz: ec5f7d2965f0b4aa8e10ba6ac5a24f974da83a16
4
+ data.tar.gz: 4a6182a513f976ef021ac88fdad51bed4414e21b
5
5
  SHA512:
6
- metadata.gz: 894635b750b72af362dbfaf12f7421b3dced5872634a948c77721c613e9ec8d6f29d17dfadb9ae3497ff2b134f29ca5d74edd989cc42411ca5a05ea49ea17400
7
- data.tar.gz: 7a3e9a7aa7ac701a735908bb1cc8074a5625ededf16e4081b04ce34b5464b32e522c0719a5f22c7d7cc67f60ae92e62289cec40e62d7acda1c8b63c598b74064
6
+ metadata.gz: a884ebf2d5a4edf877bfec63e759c69b3059f202c409d8e3ffd42b99c5ecfc977589780f213ff62f778f8f51565e794132864423131cffc28f645b68e1ac7328
7
+ data.tar.gz: 0f787726fcb39e7dcbe633f8b5f62cc64db906ddbfc14673f7d76fe696bcf94a712ca9bb346758f839b1da3b57fd5089ec2e5ba1f7caf3c7f9e6b954c72f2268
@@ -14,7 +14,11 @@ module WCC::Contentful::ActiveRecordShim
14
14
  end
15
15
 
16
16
  def cache_key_with_version
17
- "#{self.class.model_name}/#{id}-#{cache_version}"
17
+ "#{cache_key_without_version}-#{cache_version}"
18
+ end
19
+
20
+ def cache_key_without_version
21
+ "#{self.class.model_name}/#{id}"
18
22
  end
19
23
 
20
24
  def cache_version
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Contentful
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.2'
6
6
  end
7
7
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.files =
28
28
  `git ls-files -z`.split("\x0").reject do |f|
29
- f.match(%r{^(test|spec|features)/})
29
+ f.match(%r{^(test|spec|features|Guardfile)/})
30
30
  end
31
31
 
32
32
  spec.require_paths = ['lib']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-contentful
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-06 00:00:00.000000000 Z
11
+ date: 2021-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -519,7 +519,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
519
519
  version: '0'
520
520
  requirements: []
521
521
  rubyforge_project:
522
- rubygems_version: 2.7.6.2
522
+ rubygems_version: 2.6.11
523
523
  signing_key:
524
524
  specification_version: 4
525
525
  summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://rubygems.org/gems/wcc-contentful)