lib/zold/commands/taxes.rb in zold-0.11.8 vs lib/zold/commands/taxes.rb in zold-0.11.9

- old
+ new

@@ -121,10 +121,10 @@ res = r.http.get r.assert_code(200, res) json = JSON.parse(res.body) score = Score.parse_json(json['score']) r.assert_valid_score(score) - raise "Score is too weak (<#{Score::STRENGTH}) #{score}" if score.strength < Score::STRENGTH + r.assert_score_strength(score) raise "Score is too small (<#{Tax::EXACT_SCORE})" if score.value < Tax::EXACT_SCORE @log.info("#{r}: #{Rainbow(score.value).green}") best << score end best.sort_by(&:value).reverse