cache_store_redis 1.0.0 → 1.1.0

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: be38ccc0055190deb7d7285fa68c0a82c8d5598e
4
- data.tar.gz: 43d959f9ac031653d52f717186bd3b7abddec1a5
3
+ metadata.gz: 47ced927b558a7236ec90370f7a9a8b3d51b2f29
4
+ data.tar.gz: 470596a557bcc5bc19204d609fd54f4a55f477d9
5
5
  SHA512:
6
- metadata.gz: 1f90ae3a590d10b6034df72719966252ef1caf6b0b14a1564b5fb53a22cb54c24c989f583d04a069cb3910973425cfbcf30b9d9d37f2b30a2175630485bbb87a
7
- data.tar.gz: 78a73c402e500a51c9d3aceb080de57e7daf40ef80fce5b9b6cf3166b87531ec72c58dd95c5c37fda4162164f311bd4cee3e5a239a28910daf0ce2377a62c362
6
+ metadata.gz: 6a32e4baf1d397695ee2b63cc8e629aff677d74cc1abefe3e3c674b58e3548696de85eec03329764544684882f97f3552111c2e1ffb90261ac6e4b34e38ceeef
7
+ data.tar.gz: 47779a89becb095ebd319c08205af16c5ce73eaf6cd9a40fcc4990bb46dd787cda5c57120c0678f87dc76f5d8bbef1602d679d42780c28a2105e4a01c1535424
@@ -90,6 +90,16 @@ class OptionalRedisCacheStore
90
90
  rescue => e
91
91
  @logger.error(
92
92
  "[#{self.class}] - An error occurred checking pinging the cache. " \
93
+ "Error: #{e.message} | Backtrace: #{e.backtrace}"
94
+ )
95
+ false
96
+ end
97
+
98
+ def shutdown
99
+ redis_store.shutdown
100
+ rescue => e
101
+ @logger.error(
102
+ "[#{self.class}] - An error occurred checking shutting down the connection pool. " \
93
103
  "Error: #{e.message} | Backtrace: #{e.backtrace}"
94
104
  )
95
105
  false
@@ -1,3 +1,3 @@
1
1
  module CacheStoreRedis
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
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: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage