cache_store_redis 0.5.3 → 0.5.4
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/version.rb +1 -1
- data/lib/cache_store_redis.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c61db75fd7d44f386701b38f1109ff3bc2a3256
|
4
|
+
data.tar.gz: 932d7abd148df6ecdfecc1653b3582c7c6c0a180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b1cde5624e4e3ddabbead51a42901d1bc640466a063cdcec88ec972042270dd9fdde8909e2d772a17c5c0ebd1144bcf727da8f64f17e4de25d95a8fe22ce70b
|
7
|
+
data.tar.gz: f497157d8c1a0a8c9d67905011b747862f0cccc08d744a3b9a1c8e717c7061e3c5e544b22b878588c3995cf9ae4b0e898ba91d6d301c9eb1a1fb7fdea3727102
|
data/lib/cache_store_redis.rb
CHANGED
@@ -116,7 +116,7 @@ class RedisCacheStore
|
|
116
116
|
def set(key, value, expires_in = 0)
|
117
117
|
k = build_key(key)
|
118
118
|
|
119
|
-
v = if value.nil? || (value.is_a?(String) && value.empty?)
|
119
|
+
v = if value.nil? || (value.is_a?(String) && value.strip.empty?)
|
120
120
|
nil
|
121
121
|
else
|
122
122
|
serialize(value)
|