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 +5 -5
- data/lib/wcc/contentful/active_record_shim.rb +5 -1
- data/lib/wcc/contentful/version.rb +1 -1
- data/wcc-contentful.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: ec5f7d2965f0b4aa8e10ba6ac5a24f974da83a16
|
|
4
|
+
data.tar.gz: 4a6182a513f976ef021ac88fdad51bed4414e21b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
"#{
|
|
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
|
data/wcc-contentful.gemspec
CHANGED
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.
|
|
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-
|
|
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.
|
|
522
|
+
rubygems_version: 2.6.11
|
|
523
523
|
signing_key:
|
|
524
524
|
specification_version: 4
|
|
525
525
|
summary: '[](https://rubygems.org/gems/wcc-contentful)
|