cache_utils 0.2.1 → 0.2.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: 7cb71c3577b5e0aa5633da1c79df13a4205277a9
4
- data.tar.gz: fda8671970e4380949c212985ea2a588e9348e9c
3
+ metadata.gz: d9a6c25fdbb65163d578dcefc7110e6785358f7d
4
+ data.tar.gz: ddcac381586fcff4cf6126fd799066a3e8af2aec
5
5
  SHA512:
6
- metadata.gz: a8a3079d71583ad2977891f421533f3f062795ce2332943e3c713d0d2e01b7f2be6b3b81e0434afd837c0f854a93973b6721b813fcdc7f29c72e67489a5cf12c
7
- data.tar.gz: c05379911f0cc986c45fad3e21f97e736248f0e72792afcd1dd747f17d18a45543b260038457f66e4cb2c2d4131e32782a8bb3927520e92adfae61cd975a164b
6
+ metadata.gz: 8318298669f27232bcb78297ee7403277cc1d7c268109552c323c2a99c2e5bd81d69d204c04b89e5cde438bc15e65481a18905bde99709b7e0e1212c790aabf4
7
+ data.tar.gz: ea3781550309502dfc8236240577e2c36237d93a9a5d67f8df73f613f45abf400b1e2003f18d2531975cf4d58e6e27cad6ca526b12841dfb6f6d55e99b6a4eb1
@@ -17,7 +17,7 @@ module CacheUtils
17
17
  end
18
18
 
19
19
  def purge_cache
20
- $redis.del(*($redis.scan_each(match: custom_cache_key + '*') + [self.class.cache_key]))
20
+ $redis.del(*($redis.scan_each(match: custom_cache_key + '*').to_a + [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.1'.freeze
2
+ VERSION = '0.2.2'.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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michele Finotto