cache_utils 0.2.0 → 0.2.1

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: 34deb953ce24f42f7218a3e8a58fc93c30dbb1dc
4
- data.tar.gz: 076f808220c13e88e4c36301b0443d9624de5d70
3
+ metadata.gz: 7cb71c3577b5e0aa5633da1c79df13a4205277a9
4
+ data.tar.gz: fda8671970e4380949c212985ea2a588e9348e9c
5
5
  SHA512:
6
- metadata.gz: 1888ccefd50db738ae306fa798112bf8dc144a2f043963509b31b006c576490b2d8bbdeed50e4923c0d8b7014b8e97242434179ec670047247813cd36a52a72d
7
- data.tar.gz: f988f3f9eb0c151847f48aa95002498d7b858dde418d826eb2092de17328774f8738b92fc28fe787a60b73d5887240ac84f7351aa902ed5258a014795e5a5996
6
+ metadata.gz: a8a3079d71583ad2977891f421533f3f062795ce2332943e3c713d0d2e01b7f2be6b3b81e0434afd837c0f854a93973b6721b813fcdc7f29c72e67489a5cf12c
7
+ data.tar.gz: c05379911f0cc986c45fad3e21f97e736248f0e72792afcd1dd747f17d18a45543b260038457f66e4cb2c2d4131e32782a8bb3927520e92adfae61cd975a164b
@@ -17,7 +17,7 @@ module CacheUtils
17
17
  end
18
18
 
19
19
  def purge_cache
20
- $redis.del(*($redis.scan_each(custom_cache_key + '*') + [self.class.cache_key]))
20
+ $redis.del(*($redis.scan_each(match: custom_cache_key + '*') + [self.class.cache_key]))
21
21
  Appsignal.increment_counter('cache_purge', 1) if defined?(Appsignal)
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module CacheUtils
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michele Finotto