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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50ea91049c9d8a0c502af94535140b5dfe89474a
4
- data.tar.gz: 4fe76425edc7b68d8f4ae6e4cbf48ead3166acc9
3
+ metadata.gz: 96ba1e835124c33e0710cece05446beee7524ce6
4
+ data.tar.gz: aaa042edd84cb9a48f31181c8e79d68155a9654a
5
5
  SHA512:
6
- metadata.gz: 3ffd88228c60037764ddb13a24fa6b50af3968bd14aeeba128f6f2f88994857150f442092b3f0e49e6f03afd50f28b050660173363c336c7514d78eef325ea71
7
- data.tar.gz: 89a31cc4ba18540f782eddebff51829578ed4445ab85b2d54e8a99e63bf13163c003ab15d56cfe3b5cae17d0e996dc4ce80a749f4f46c6e5972763c695199eab
6
+ metadata.gz: d0da0ed92584b034c17602fe8d340e208a1a488d8ab3c7049ed84f0466c4310ad0a65ce6a9d5d2f63cfcd03a5da07c525c860f69a36c1195f80381fad2c5d48d
7
+ data.tar.gz: d74dabe694ea1536f771f0fe4008503d1130de01ff8c0767c37d691a86656743b2e62768935d36814d05765d24985c7836e0a9bda8903f25036b90fab17bab9e
@@ -146,7 +146,11 @@ class RedisCacheStore
146
146
  client.get(k)
147
147
  end
148
148
 
149
- value = deserialize(value) unless value.nil?
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
@@ -1,3 +1,3 @@
1
1
  module CacheStoreRedis
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
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.1
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-19 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler