lib/zold/copies.rb in zold-0.11.14 vs lib/zold/copies.rb in zold-0.11.15

- old
+ new

@@ -92,9 +92,11 @@ def all load.group_by { |s| s[:name] }.map do |name, scores| { name: name, + host: scores[0][:host], + port: scores[0][:port], path: File.join(@dir, name), score: scores.select { |s| s[:time] > Time.now - 24 * 60 * 60 } .map { |s| s[:score] } .inject(&:+) || 0 }