Closed katyho closed 3 years ago
Merging #54 (b6bc8dc) into main (4b2734a) will increase coverage by
0.01%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #54 +/- ##
==========================================
+ Coverage 97.30% 97.31% +0.01%
==========================================
Files 34 34
Lines 2115 2125 +10
==========================================
+ Hits 2058 2068 +10
Misses 57 57
Impacted Files | Coverage Δ | |
---|---|---|
lib/redis_memo/memoizable/dependency.rb | 100.00% <100.00%> (ø) |
|
spec/memoizable/dependency_spec.rb | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4b2734a...b6bc8dc. Read the comment docs.
Summary
If the kill switch is on to disable all cached select queries on redis-memo, then memoize_method is never called for
connection.exec_query
, and therefore :dependency_of is never dynamically defined. This falls back to the uncached method in case:dependency_of
is not defined.Test Plan