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 +4 -4
- data/lib/cache_utils/model.rb +1 -1
- data/lib/cache_utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cb71c3577b5e0aa5633da1c79df13a4205277a9
|
4
|
+
data.tar.gz: fda8671970e4380949c212985ea2a588e9348e9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8a3079d71583ad2977891f421533f3f062795ce2332943e3c713d0d2e01b7f2be6b3b81e0434afd837c0f854a93973b6721b813fcdc7f29c72e67489a5cf12c
|
7
|
+
data.tar.gz: c05379911f0cc986c45fad3e21f97e736248f0e72792afcd1dd747f17d18a45543b260038457f66e4cb2c2d4131e32782a8bb3927520e92adfae61cd975a164b
|
data/lib/cache_utils/model.rb
CHANGED
@@ -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
|
data/lib/cache_utils/version.rb
CHANGED