From 87bde674f36ed4b590fd846be8370b9642b636fd Mon Sep 17 00:00:00 2001 From: Nick Merwin Date: Mon, 20 Apr 2015 14:26:21 -0700 Subject: [PATCH] fix overwritten api.rb line --- lib/coveralls/api.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/coveralls/api.rb b/lib/coveralls/api.rb index bc79c09e..f0be7bbf 100644 --- a/lib/coveralls/api.rb +++ b/lib/coveralls/api.rb @@ -53,8 +53,8 @@ def self.endpoint_to_url(endpoint) def self.hash_to_file(hash) file = nil - Tempfile.open(['coveralls-upload', '.json']) do |f| - f.write(MultiJson.dump hash) + Tempfile.open(['coveralls-upload', 'json']) do |f| + f.write(JSON.dump hash) file = f end File.new(file.path, 'rb')