Luis Ramos
|
f357c3ff30
|
Remove require_dependency or use require
See here https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#require-dependency
|
2021-04-23 19:20:25 +01:00 |
|
Luis Ramos
|
d92f97716a
|
Extract compute_for and thus resolve the rubocop complexity issue
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
68359d4d1a
|
Remove unnecessary variable (this sum and += come from the original
spree code and is not necessary here now)
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
70432e301d
|
Early exit if max is zero to make method shorted
|
2020-07-07 17:26:24 +01:00 |
|
Luis Ramos
|
5e8438c446
|
Move all calculators outside the spree namespace
|
2020-07-07 17:26:23 +01:00 |
|