coveralls 0.5.9 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,8 +32,7 @@ module Coveralls
32
32
  def self.disable_net_blockers!
33
33
  if defined?(WebMock)
34
34
  allow = WebMock::Config.instance.allow || []
35
- [*allow].push API_HOST
36
- WebMock::Config.instance.allow = allow
35
+ WebMock::Config.instance.allow = [*allow].push API_HOST
37
36
  end
38
37
 
39
38
  if defined?(VCR)
@@ -52,7 +51,7 @@ module Coveralls
52
51
  def self.hash_to_file(hash)
53
52
  file = nil
54
53
  Tempfile.open(['coveralls-upload', 'json']) do |f|
55
- f.write(hash.to_json.to_s)
54
+ f.write(MultiJson.dump hash)
56
55
  file = f
57
56
  end
58
57
  File.new(file.path, 'rb')
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.5.9"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coveralls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: