lib/zold/remotes.rb in zold-0.14.46 vs lib/zold/remotes.rb in zold-0.14.47

- old
+ new

@@ -24,11 +24,11 @@ require 'csv' require 'uri' require 'net/http' require 'time' require 'fileutils' -require_relative 'backtrace' +require 'backtrace' require_relative 'age' require_relative 'score' require_relative 'http' require_relative 'node/farm' require_relative 'atomic_file' @@ -112,10 +112,10 @@ def assert_score_strength(score) raise "Score #{score.strength} is too weak (<#{Score::STRENGTH}): #{score}" if score.strength < Score::STRENGTH end def assert_score_value(score, min) - raise "Score is too small (<#{min}): #{score}" if score.value < min + raise "Score #{score.value} is too small (<#{min}): #{score}" if score.value < min end end def all list = load