pseudocephalopod 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -72,7 +72,7 @@ module Pseudocephalopod
|
|
72
72
|
expiry = Pseudocephalopod::Caching.cache_expires_in
|
73
73
|
hash[:expires_in] = expiry.to_i if expiry.present?
|
74
74
|
end
|
75
|
-
record.nil? ? cache.delete(key) : cache.write(key, record.id,
|
75
|
+
record.nil? ? cache.delete(key) : cache.write(key, record.id, caching_options)
|
76
76
|
end
|
77
77
|
|
78
78
|
protected
|
@@ -84,4 +84,4 @@ module Pseudocephalopod
|
|
84
84
|
end
|
85
85
|
|
86
86
|
end
|
87
|
-
end
|
87
|
+
end
|
data/pseudocephalopod.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pseudocephalopod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Darcy Laycock
|