lib/gizzard/commands.rb in gizzmo-0.8.0 vs lib/gizzard/commands.rb in gizzmo-0.8.1

- old
+ new

@@ -420,10 +420,10 @@ [prefix] + parse(obj.values.first, id, depth + 1, sub) when String host, prefix = obj.split("/") host = "db" if host != "localhost" && sub id ||= prefix[/\w+ward_\d+_\d+/] - prefix = (" " * depth) + host + "/" + (sub ? prefix.sub(id, "[ID]") : prefix) + prefix = (" " * depth) + host + "/" + ((sub && id) ? prefix.sub(id, "[ID]") : prefix) [id, prefix] when Array obj.map do |e| parse e, id, depth, sub end