lib/lite/validators/isin_validator.rb in lite-validators-1.1.0 vs lib/lite/validators/isin_validator.rb in lite-validators-1.1.1

- old
+ new

@@ -25,10 +25,10 @@ [odd_values, even_values] end longest = longest.map { |int| int * 2 } values = longest.concat(shortest).to_s.scan(/./).map(&:to_i) - total = values.inject(&:+) + total = values.sum (10 - (total % 10)) % 10 end # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity