relevance-rcov 0.8.3.0 → 0.8.3.1
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.
- data/bin/rcov +2 -6
- data/lib/rcov/formatters/html_coverage.rb +1 -3
- data/lib/rcov/templates/screen.css +1 -0
- data/lib/rcov/version.rb +1 -1
- data/test/assets/sample_05.rb +4 -0
- metadata +1 -1
data/bin/rcov
CHANGED
@@ -45,7 +45,6 @@ options.diff_cmd = "diff"
|
|
45
45
|
options.report_cov_bug_for = nil
|
46
46
|
options.aggregate_file = nil
|
47
47
|
options.gcc_output = false
|
48
|
-
options.show_validator_links = true
|
49
48
|
options.charset = nil
|
50
49
|
|
51
50
|
EXTRA_HELP = <<-EOF
|
@@ -222,14 +221,12 @@ EOF
|
|
222
221
|
end
|
223
222
|
options.output_threshold = threshold
|
224
223
|
end
|
224
|
+
|
225
225
|
opts.on("--charset CHARSET",
|
226
226
|
"Charset used in Content-Type declaration of HTML reports.") do |c|
|
227
227
|
options.charset = c
|
228
228
|
end
|
229
|
-
|
230
|
-
"(default: true)") do |show_validator_links|
|
231
|
-
options.show_validator_links = show_validator_links
|
232
|
-
end
|
229
|
+
|
233
230
|
opts.on("--only-uncovered", "Same as --threshold 100") do
|
234
231
|
options.output_threshold = 100
|
235
232
|
end
|
@@ -360,7 +357,6 @@ make_formatter = lambda do |klass|
|
|
360
357
|
:diff_cmd => options.diff_cmd,
|
361
358
|
:comments_run_by_default => options.comments_run_by_default,
|
362
359
|
:gcc_output => options.gcc_output,
|
363
|
-
:validator_links => options.show_validator_links,
|
364
360
|
:charset => options.charset
|
365
361
|
)
|
366
362
|
end
|
@@ -5,8 +5,7 @@ module Rcov
|
|
5
5
|
|
6
6
|
DEFAULT_OPTS = {:color => false, :fsr => 30, :destdir => "coverage",
|
7
7
|
:callsites => false, :cross_references => false,
|
8
|
-
:
|
9
|
-
}
|
8
|
+
:charset => nil }
|
10
9
|
|
11
10
|
def initialize(opts = {})
|
12
11
|
options = DEFAULT_OPTS.clone.update(opts)
|
@@ -17,7 +16,6 @@ module Rcov
|
|
17
16
|
@do_callsites = options[:callsites]
|
18
17
|
@do_cross_references = options[:cross_references]
|
19
18
|
@span_class_index = 0
|
20
|
-
@show_validator_links = options[:validator_links]
|
21
19
|
@charset = options[:charset]
|
22
20
|
end
|
23
21
|
|
data/lib/rcov/version.rb
CHANGED
data/test/assets/sample_05.rb
CHANGED