lib/ezid/status.rb in ezid-client-0.7.0 vs lib/ezid/status.rb in ezid-client-0.8.0

- old
+ new

@@ -13,10 +13,10 @@ define_method(s) { subsystems[s] || "not checked" } end def subsystems return {} unless content[1] - content[1].split(/\r?\n/).each_with_object({}) do |line, memo| + content[1].split(/\r?\n/).each_with_object({}) do |line, memo| subsystem, status = line.split(": ", 2) memo[subsystem] = status end end