coveralls 0.6.8 → 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb459e184a87487cec1e9365bfbed5a4b2e85890
4
- data.tar.gz: cb1c3e0a7429a1df758cadacbbb901e899272ec7
3
+ metadata.gz: 751680a4a00bd9050a1fd32c10d1ae1fb16c9575
4
+ data.tar.gz: e01c5f98d05aadbee38bf723d9b986fed8e4a48a
5
5
  SHA512:
6
- metadata.gz: 0e3fb3fca099134d348cffe18ef846b53b396156ede97da46444646a637d3ee563bcb62bccde43155a0551c9d0d4abc5b001a44f6bfb2bf94dfd1451d88d4e9c
7
- data.tar.gz: 088a7e7112eed4fc0a1957de1d339a49c20115ce9580f2ce5bcc4d354bc4c243f760fc04476dacc2552e61c9e9deaf537d44dc7a4d1576189f70852712d51d0e
6
+ metadata.gz: 3ad45611e81128afdc44feec71d0d041d1c12230fd3fb35992163259ac2003ce809778af7cdcd5f2de5e2535d258723c94dee19b9963c5ca3623dffae7dbf8a4
7
+ data.tar.gz: 1d7456169096246cbcc3f818aedb764305fe840a33c94a03752aa5512e5cd8debaa4175468804cf342859fceda9b44b9a3b5820c6228422f7e344c8d33e60211
@@ -1 +1 @@
1
- 1.9.3-p448
1
+ 2.0.0-p0
@@ -59,8 +59,8 @@ module Coveralls
59
59
  config = Coveralls::Configuration.configuration
60
60
  if ENV['CI'] || ENV['COVERALLS_DEBUG'] || Coveralls.testing
61
61
  Coveralls::Output.puts "[Coveralls] Submiting with config:", :color => "yellow"
62
- Coveralls::Output.puts MultiJson.dump(config, :pretty => true)
63
- .gsub(/"repo_token": "(.*?)"/,'"repo_token": "[secure]"'), :color => "yellow"
62
+ output = MultiJson.dump(config, :pretty => true).gsub(/"repo_token": "(.*?)"/,'"repo_token": "[secure]"')
63
+ Coveralls::Output.puts output, :color => "yellow"
64
64
  end
65
65
  hash.merge(config)
66
66
  end
@@ -92,7 +92,7 @@ module Coveralls
92
92
  end
93
93
 
94
94
  def output_message(result)
95
- "Coverage is at #{result.covered_percent.round(2)}%.\nCoverage report sent to Coveralls."
95
+ "Coverage is at #{result.covered_percent.round(2) rescue result.covered_percent.round}%.\nCoverage report sent to Coveralls."
96
96
  end
97
97
 
98
98
  def short_filename(filename)
@@ -1,3 +1,3 @@
1
1
  module Coveralls
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.9"
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.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Merwin
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  requirements: []
199
199
  rubyforge_project:
200
- rubygems_version: 2.0.3
200
+ rubygems_version: 2.0.0
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: A Ruby implementation of the Coveralls API.