simplecov-html 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ unless defined?(SimpleCov)
12
12
  end
13
13
 
14
14
  # Ensure we are using an compatible version of SimpleCov
15
- if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.4.0")
15
+ if Gem::Version.new(SimpleCov::VERSION) < Gem::Version.new("0.4.2")
16
16
  raise RuntimeError, "The version of SimpleCov you are using is too old. Please update with 'gem install simplecov'"
17
17
  end
18
18
 
@@ -25,7 +25,7 @@ class SimpleCov::Formatter::HTMLFormatter
25
25
  File.open(File.join(output_path, "index.html"), "w+") do |file|
26
26
  file.puts template('layout').result(binding)
27
27
  end
28
- puts "Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_percent.round(2)}% covered."
28
+ puts "Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_lines} / #{result.total_lines} LOC (#{result.covered_percent.round(2)}%) covered."
29
29
  end
30
30
 
31
31
  private
@@ -1,7 +1,7 @@
1
1
  module SimpleCov
2
2
  module Formatter
3
3
  class HTMLFormatter
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-html
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 3
9
- version: 0.4.3
4
+ prerelease:
5
+ version: 0.4.4
10
6
  platform: ruby
11
7
  authors:
12
8
  - Christoph Olszowka
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-10 00:00:00 +01:00
13
+ date: 2011-04-02 00:00:00 +02:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,10 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - "="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 2
30
- - 10
31
- - 3
32
24
  version: 2.10.3
33
25
  type: :development
34
26
  version_requirements: *id001
@@ -115,21 +107,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
107
  requirements:
116
108
  - - ">="
117
109
  - !ruby/object:Gem::Version
118
- segments:
119
- - 0
120
110
  version: "0"
121
111
  required_rubygems_version: !ruby/object:Gem::Requirement
122
112
  none: false
123
113
  requirements:
124
114
  - - ">="
125
115
  - !ruby/object:Gem::Version
126
- segments:
127
- - 0
128
116
  version: "0"
129
117
  requirements: []
130
118
 
131
119
  rubyforge_project: simplecov-html
132
- rubygems_version: 1.3.7
120
+ rubygems_version: 1.5.3
133
121
  signing_key:
134
122
  specification_version: 3
135
123
  summary: Default HTML formatter for SimpleCov code coverage tool for ruby 1.9+