cache_store_redis 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cache_store_redis.rb +5 -1
- data/lib/cache_store_redis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96ba1e835124c33e0710cece05446beee7524ce6
|
4
|
+
data.tar.gz: aaa042edd84cb9a48f31181c8e79d68155a9654a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0da0ed92584b034c17602fe8d340e208a1a488d8ab3c7049ed84f0466c4310ad0a65ce6a9d5d2f63cfcd03a5da07c525c860f69a36c1195f80381fad2c5d48d
|
7
|
+
data.tar.gz: d74dabe694ea1536f771f0fe4008503d1130de01ff8c0767c37d691a86656743b2e62768935d36814d05765d24985c7836e0a9bda8903f25036b90fab17bab9e
|
data/lib/cache_store_redis.rb
CHANGED
@@ -146,7 +146,11 @@ class RedisCacheStore
|
|
146
146
|
client.get(k)
|
147
147
|
end
|
148
148
|
|
149
|
-
|
149
|
+
if !value.nil? && value.delete('\"').strip.empty?
|
150
|
+
value = value.delete('\"')
|
151
|
+
else
|
152
|
+
value = deserialize(value) unless value.nil?
|
153
|
+
end
|
150
154
|
|
151
155
|
if value.nil? && block_given?
|
152
156
|
value = yield
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_store_redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|