chanzuckerberg / redis-memo

A Redis-based version addressable caching system. Memoize pure functions, aggregated database queries, and 3rd party API calls.
https://rubygems.org/gems/redis-memo
MIT License
33 stars 3 forks source link

[refactor] Move errors to a separate file #72

Closed donaldong closed 3 years ago

donaldong commented 3 years ago

This moves some code around. No functionality changes.

codecov[bot] commented 3 years ago

Codecov Report

Merging #72 (10703a4) into stacked_pr/base/donaldong/refact-fa77854 (9075fb2) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@                            Coverage Diff                            @@
##           stacked_pr/base/donaldong/refact-fa77854      #72   +/-   ##
=========================================================================
  Coverage                                     97.40%   97.40%           
=========================================================================
  Files                                            38       39    +1     
  Lines                                          2232     2234    +2     
=========================================================================
+ Hits                                           2174     2176    +2     
  Misses                                           58       58           
Impacted Files Coverage Δ
lib/redis_memo.rb 97.56% <100.00%> (-0.12%) :arrow_down:
lib/redis_memo/errors.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 9075fb2...10703a4. Read the comment docs.