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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e668efa97480b84d6fd083fb4bba878e6b958c2
4
- data.tar.gz: 33cbb65305f543be4e1149e787869143d010f6a7
3
+ metadata.gz: 3c61db75fd7d44f386701b38f1109ff3bc2a3256
4
+ data.tar.gz: 932d7abd148df6ecdfecc1653b3582c7c6c0a180
5
5
  SHA512:
6
- metadata.gz: 550996847aaeaff5dce1cf92e87b6aa028296657b7d4d85c7e85a0f4fd23077eb43dca0149905c80eab294ecc9534fb7bc8fc30ba6aa7ef0260c006e6cde1379
7
- data.tar.gz: dc9ff39218493ffb3d628166de7d8596345be3a3c4515c10c346eb2eb9058832ec833e0cbd5e3a24a7c8a6e6583bfc040b28406ccd3600b07d9a2b80acaa5102
6
+ metadata.gz: 3b1cde5624e4e3ddabbead51a42901d1bc640466a063cdcec88ec972042270dd9fdde8909e2d772a17c5c0ebd1144bcf727da8f64f17e4de25d95a8fe22ce70b
7
+ data.tar.gz: f497157d8c1a0a8c9d67905011b747862f0cccc08d744a3b9a1c8e717c7061e3c5e544b22b878588c3995cf9ae4b0e898ba91d6d301c9eb1a1fb7fdea3727102
@@ -1,3 +1,3 @@
1
1
  module CacheStoreRedis
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_store_redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage