mirror of
https://github.com/ditkrg/simplecov-json.git
synced 2026-01-22 22:06:46 +00:00
update for simplecov changes
This commit is contained in:
parent
dfdf187383
commit
3ebdd16c7b
@ -13,7 +13,7 @@ class SimpleCov::Formatter::JSONFormatter
|
||||
data[:files] << {
|
||||
filename: sourceFile.filename,
|
||||
covered_percent: sourceFile.covered_percent,
|
||||
coverage: sourceFile.coverage,
|
||||
coverage: sourceFile.coverage_data,
|
||||
covered_strength: sourceFile.covered_strength.nan? ? 0.0 : sourceFile.covered_strength,
|
||||
covered_lines: sourceFile.covered_lines.count,
|
||||
lines_of_code: sourceFile.lines_of_code,
|
||||
|
||||
@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "simplecov-json"
|
||||
s.version = '0.2'
|
||||
s.version = '0.2.1'
|
||||
s.platform = Gem::Platform::RUBY
|
||||
s.authors = ["Vicent Llongo"]
|
||||
s.email = ["villosil@gmail.com"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user