lib/scout/server.rb in scout-5.6.0.alpha vs lib/scout/server.rb in scout-5.6.0.alpha.2

- old
+ new

@@ -89,10 +89,10 @@ if refresh? url = urlify(:plan) info "Fetching plan from server at #{url}..." headers = {"x-scout-tty" => ($stdin.tty? ? 'true' : 'false')} - headers["x-scout-roles"] = @roles + headers["x-scout-roles"] = @roles || "" get(url, "Could not retrieve plan from server.", headers) do |res| begin body = res.body if res["Content-Encoding"] == "gzip" and body and not body.empty?