redis-memo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis_memo/memoize_query/invalidation.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1f9810ab293851487a23911835eb644ce4401df360404a04236898b99e1ab64
|
4
|
+
data.tar.gz: edbd814f8e8c027207123340445f121e771e30260e7126fb91665a23139fd710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a07892d98f25a3690ee254015be04f0164053be755fcce73478598ba65e28a39a4e99b47d18b12f1ec6e89facfba06e9d1b8390dab61ac3713e291f4451b782
|
7
|
+
data.tar.gz: 47f5e0d42b7957d6422277f01446b6659f8526371e556957626a68c44635d1ba456380152d48f3682959cbd84f4d2adf333a50697be386f554b000b4edf67d1f
|
@@ -254,6 +254,8 @@ class RedisMemo::MemoizeQuery::Invalidation
|
|
254
254
|
end
|
255
255
|
|
256
256
|
def self.select_by_conflict_target_relation(model_class, relation)
|
257
|
+
return [] unless relation
|
258
|
+
|
257
259
|
RedisMemo::Tracer.trace(
|
258
260
|
'redis_memo.memoize_query.invalidation',
|
259
261
|
"#{__method__}##{model_class.name}",
|