lib/unwrappr/ruby_gems.rb in unwrappr-0.8.0 vs lib/unwrappr/ruby_gems.rb in unwrappr-0.8.1

- old
+ new

@@ -16,20 +16,19 @@ private def parse(response, name) case response.status when 200 - JSON.parse(response.body, object_class: OpenStruct) + JSON.parse(response.body) when 404 nil else warn(error_message(response: response, name: name)) end end def error_message(response:, name:) - "Rubygems response for #{name}: "\ - "HTTP #{response.status}: #{response.body}" + "Rubygems response for #{name}: HTTP #{response.status}: #{response.body}" end end end end