simplecov-html 0.3.2 → 0.13.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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +108 -0
- data/LICENSE +1 -1
- data/README.md +30 -0
- data/Rakefile +44 -30
- data/lib/simplecov-html/version.rb +9 -0
- data/lib/simplecov-html.rb +160 -103
- data/public/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/public/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/public/DataTables-1.10.20/images/sort_both.png +0 -0
- data/public/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/public/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/public/application.css +1 -0
- data/public/application.js +7 -0
- data/public/colorbox/border.png +0 -0
- data/public/colorbox/controls.png +0 -0
- data/public/colorbox/loading.gif +0 -0
- data/public/colorbox/loading_background.png +0 -0
- data/public/favicon_green.png +0 -0
- data/public/favicon_red.png +0 -0
- data/public/favicon_yellow.png +0 -0
- data/views/covered_percent.erb +3 -0
- data/views/file_list.erb +74 -32
- data/views/layout.erb +13 -15
- data/views/source_file.erb +56 -32
- metadata +64 -133
- data/.gitignore +0 -24
- data/README.rdoc +0 -26
- data/VERSION +0 -1
- data/assets/app.js +0 -48
- data/assets/fancybox/blank.gif +0 -0
- data/assets/fancybox/fancy_close.png +0 -0
- data/assets/fancybox/fancy_loading.png +0 -0
- data/assets/fancybox/fancy_nav_left.png +0 -0
- data/assets/fancybox/fancy_nav_right.png +0 -0
- data/assets/fancybox/fancy_shadow_e.png +0 -0
- data/assets/fancybox/fancy_shadow_n.png +0 -0
- data/assets/fancybox/fancy_shadow_ne.png +0 -0
- data/assets/fancybox/fancy_shadow_nw.png +0 -0
- data/assets/fancybox/fancy_shadow_s.png +0 -0
- data/assets/fancybox/fancy_shadow_se.png +0 -0
- data/assets/fancybox/fancy_shadow_sw.png +0 -0
- data/assets/fancybox/fancy_shadow_w.png +0 -0
- data/assets/fancybox/fancy_title_left.png +0 -0
- data/assets/fancybox/fancy_title_main.png +0 -0
- data/assets/fancybox/fancy_title_over.png +0 -0
- data/assets/fancybox/fancy_title_right.png +0 -0
- data/assets/fancybox/fancybox-x.png +0 -0
- data/assets/fancybox/fancybox-y.png +0 -0
- data/assets/fancybox/fancybox.png +0 -0
- data/assets/fancybox/jquery.fancybox-1.3.1.css +0 -363
- data/assets/fancybox/jquery.fancybox-1.3.1.pack.js +0 -44
- data/assets/jquery-1.4.2.min.js +0 -155
- data/assets/jquery.dataTables.min.js +0 -152
- data/assets/jquery.timeago.js +0 -141
- data/assets/smoothness/jquery-ui-1.8.4.custom.css +0 -295
- data/assets/stylesheet.css +0 -341
- data/simplecov-html.gemspec +0 -103
- data/test/helper.rb +0 -10
- data/test/test_simple_cov-html.rb +0 -7
- /data/{assets/smoothness → public}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- /data/{assets/smoothness → public}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- /data/{assets/smoothness → public}/images/ui-icons_222222_256x240.png +0 -0
- /data/{assets/smoothness → public}/images/ui-icons_2e83ff_256x240.png +0 -0
- /data/{assets/smoothness → public}/images/ui-icons_454545_256x240.png +0 -0
- /data/{assets/smoothness → public}/images/ui-icons_888888_256x240.png +0 -0
- /data/{assets/smoothness → public}/images/ui-icons_cd0a0a_256x240.png +0 -0
- /data/{assets → public}/loading.gif +0 -0
- /data/{assets → public}/magnify.png +0 -0
data/views/file_list.erb
CHANGED
@@ -1,36 +1,78 @@
|
|
1
|
-
<div class="file_list_container">
|
2
|
-
<h2
|
3
|
-
|
4
|
-
(<span class="
|
1
|
+
<div class="file_list_container" id="<%= title_id %>">
|
2
|
+
<h2>
|
3
|
+
<span class="group_name"><%= title %></span>
|
4
|
+
(<span class="covered_percent">
|
5
|
+
<%= covered_percent(source_files.covered_percent) %>
|
6
|
+
</span>
|
7
|
+
covered at
|
8
|
+
<span class="covered_strength">
|
9
|
+
<span class="<%= strength_css_class(source_files.covered_strength) %>">
|
10
|
+
<%= source_files.covered_strength.round(2) %>
|
11
|
+
</span>
|
12
|
+
</span> hits/line
|
13
|
+
)
|
5
14
|
</h2>
|
15
|
+
|
16
|
+
<a name="<%= title_id %>"></a>
|
17
|
+
|
6
18
|
<div>
|
7
19
|
<b><%= source_files.length %></b> files in total.
|
8
|
-
<b><%= lines_of_code(source_files) %></b> relevant lines.
|
9
|
-
<span class="green"><b><%= lines_covered(source_files) %></b> lines covered</span> and
|
10
|
-
<span class="red"><b><%= lines_missed(source_files) %></b> lines missed </span>
|
11
20
|
</div>
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
</
|
21
|
+
|
22
|
+
<div class="t-line-summary">
|
23
|
+
<b><%= source_files.lines_of_code %></b> relevant lines,
|
24
|
+
<span class="green"><b><%= source_files.covered_lines %></b> lines covered</span> and
|
25
|
+
<span class="red"><b><%= source_files.missed_lines %></b> lines missed. </span>
|
26
|
+
(<%= covered_percent(source_files.covered_percent) %>)
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<% if branchable_result? %>
|
30
|
+
<div class="t-branch-summary">
|
31
|
+
<span><b><%= source_files.total_branches %></b> total branches, </span>
|
32
|
+
<span class="green"><b><%= source_files.covered_branches %></b> branches covered</span> and
|
33
|
+
<span class="red"><b><%= source_files.missed_branches %></b> branches missed.</span>
|
34
|
+
(<%= covered_percent(source_files.branch_covered_percent) %>)
|
35
|
+
</div>
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
<div class="file_list--responsive">
|
39
|
+
<table class="file_list">
|
40
|
+
<thead>
|
41
|
+
<tr>
|
42
|
+
<th>File</th>
|
43
|
+
<th class="cell--number">% covered</th>
|
44
|
+
<th class="cell--number">Lines</th>
|
45
|
+
<th class="cell--number">Relevant Lines</th>
|
46
|
+
<th class="cell--number">Lines covered</th>
|
47
|
+
<th class="cell--number">Lines missed</th>
|
48
|
+
<th class="cell--number">Avg. Hits / Line</th>
|
49
|
+
<% if branchable_result? %>
|
50
|
+
<th class="cell--number">Branch Coverage</th>
|
51
|
+
<th class="cell--number">Branches</th>
|
52
|
+
<th class="cell--number">Covered branches</th>
|
53
|
+
<th class="cell--number">Missed branches </th>
|
54
|
+
<% end %>
|
55
|
+
</tr>
|
56
|
+
</thead>
|
57
|
+
<tbody>
|
58
|
+
<% source_files.each do |source_file| %>
|
59
|
+
<tr class="t-file">
|
60
|
+
<td class="strong t-file__name"><%= link_to_source_file(source_file) %></td>
|
61
|
+
<td class="<%= coverage_css_class(source_file.covered_percent) %> strong cell--number t-file__coverage"><%= sprintf("%.2f", source_file.covered_percent.round(2)) %> %</td>
|
62
|
+
<td class="cell--number"><%= source_file.lines.count %></td>
|
63
|
+
<td class="cell--number"><%= source_file.covered_lines.count + source_file.missed_lines.count %></td>
|
64
|
+
<td class="cell--number"><%= source_file.covered_lines.count %></td>
|
65
|
+
<td class="cell--number"><%= source_file.missed_lines.count %></td>
|
66
|
+
<td class="cell--number"><%= sprintf("%.2f", source_file.covered_strength.round(2)) %></td>
|
67
|
+
<% if branchable_result? %>
|
68
|
+
<td class="<%= coverage_css_class(source_file.branches_coverage_percent) %> strong cell--number t-file__branch-coverage"><%= sprintf("%.2f", source_file.branches_coverage_percent.round(2)) %> %</td>
|
69
|
+
<td class="cell--number"><%= source_file.total_branches.count %></td>
|
70
|
+
<td class="cell--number"><%= source_file.covered_branches.count %></td>
|
71
|
+
<td class="cell--number"><%= source_file.missed_branches.count %></td>
|
72
|
+
<% end %>
|
73
|
+
</tr>
|
74
|
+
<% end %>
|
75
|
+
</tbody>
|
76
|
+
</table>
|
77
|
+
</div>
|
78
|
+
</div>
|
data/views/layout.erb
CHANGED
@@ -1,21 +1,18 @@
|
|
1
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html xmlns='http://www.w3.org/1999/xhtml'>
|
2
3
|
<head>
|
3
4
|
<title>Code coverage for <%= SimpleCov.project_name %></title>
|
4
|
-
<
|
5
|
-
<script src='<%= assets_path('
|
6
|
-
<
|
7
|
-
<
|
8
|
-
<script src='<%= assets_path('app.js') %>' type='text/javascript'></script>
|
9
|
-
<link href='<%= assets_path('stylesheet.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
10
|
-
<link href='<%= assets_path('fancybox/jquery.fancybox-1.3.1.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
11
|
-
<link href='<%= assets_path('smoothness/jquery-ui-1.8.4.custom.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
5
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
+
<script src='<%= assets_path('application.js') %>' type='text/javascript'></script>
|
7
|
+
<link href='<%= assets_path('application.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css' />
|
8
|
+
<link rel="icon" type="image/png" href="<%= assets_path("favicon_#{coverage_css_class(result.source_files.covered_percent)}.png") %>" />
|
12
9
|
</head>
|
13
|
-
|
14
|
-
<body
|
10
|
+
|
11
|
+
<body<%= ' data-branch-coverage=true' if branchable_result? %>>
|
15
12
|
<div id="loading">
|
16
13
|
<img src="<%= assets_path('loading.gif') %>" alt="loading"/>
|
17
14
|
</div>
|
18
|
-
<div id="wrapper"
|
15
|
+
<div id="wrapper" class="hide">
|
19
16
|
<div class="timestamp">Generated <%= timeago(Time.now) %></div>
|
20
17
|
<ul class="group_tabs"></ul>
|
21
18
|
|
@@ -26,12 +23,13 @@
|
|
26
23
|
<%= formatted_file_list(name, files) %>
|
27
24
|
<% end %>
|
28
25
|
</div>
|
29
|
-
|
26
|
+
|
30
27
|
<div id="footer">
|
31
|
-
Generated by <a href="
|
28
|
+
Generated by <a href="https://github.com/simplecov-ruby/simplecov">simplecov</a> v<%= SimpleCov::VERSION %>
|
29
|
+
and simplecov-html v<%= SimpleCov::Formatter::HTMLFormatter::VERSION %><br/>
|
32
30
|
using <%= result.command_name %>
|
33
31
|
</div>
|
34
|
-
|
32
|
+
|
35
33
|
<div class="source_files">
|
36
34
|
<% result.source_files.each do |source_file| %>
|
37
35
|
<%= formatted_source_file(source_file) %>
|
data/views/source_file.erb
CHANGED
@@ -1,33 +1,57 @@
|
|
1
1
|
<div class="source_table" id="<%= id source_file %>">
|
2
|
-
<
|
3
|
-
<
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
<
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
2
|
+
<div class="header">
|
3
|
+
<h3><%= shortened_filename source_file %></h3>
|
4
|
+
<h4>
|
5
|
+
<%= covered_percent(source_file.covered_percent) %>
|
6
|
+
lines covered
|
7
|
+
</h4>
|
8
|
+
|
9
|
+
<% if branchable_result? %>
|
10
|
+
<h4>
|
11
|
+
<%= covered_percent(source_file.branches_coverage_percent) %>
|
12
|
+
branches covered
|
13
|
+
</h4>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<div class="t-line-summary">
|
17
|
+
<b><%= source_file.lines_of_code %></b> relevant lines.
|
18
|
+
<span class="green"><b><%= source_file.covered_lines.count %></b> lines covered</span> and
|
19
|
+
<span class="red"><b><%= source_file.missed_lines.count %></b> lines missed.</span>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<% if branchable_result? %>
|
23
|
+
<div class="t-branch-summary">
|
24
|
+
<span><b><%= source_file.total_branches.count %></b> total branches, </span>
|
25
|
+
<span class="green"><b><%= source_file.covered_branches.count %></b> branches covered</span> and
|
26
|
+
<span class="red"><b><%= source_file.missed_branches.count %></b> branches missed.</span>
|
27
|
+
</div>
|
28
|
+
<% end %>
|
29
|
+
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<pre>
|
33
|
+
<ol>
|
34
|
+
<% source_file.lines.each do |line| %>
|
35
|
+
<div>
|
36
|
+
<li class="<%= line_status?(source_file, line) %>" data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
|
37
|
+
<% if line.covered? %>
|
38
|
+
<span class="hits"><%= line.coverage %></span>
|
39
|
+
<% elsif line.skipped? %>
|
40
|
+
<span class="hits">skipped</span>
|
41
|
+
<% end %>
|
42
|
+
|
43
|
+
<% if branchable_result? %>
|
44
|
+
<% source_file.branches_for_line(line.number).each do |branch_type, hit_count| %>
|
45
|
+
<span class="hits" title="<%= branch_type%> branch hit <%= hit_count %> times">
|
46
|
+
<%= branch_type %>: <%= hit_count %>
|
47
|
+
</span>
|
48
|
+
<% end %>
|
49
|
+
<% end %>
|
50
|
+
|
51
|
+
<code class="ruby"><%= CGI.escapeHTML(line.src.chomp) %></code>
|
52
|
+
</li>
|
53
|
+
</div>
|
54
|
+
<% end %>
|
55
|
+
</ol>
|
56
|
+
</pre>
|
57
|
+
</div>
|
metadata
CHANGED
@@ -1,150 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-html
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 2
|
9
|
-
version: 0.3.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.13.1
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
6
|
+
authors:
|
12
7
|
- Christoph Olszowka
|
13
|
-
autorequire:
|
14
8
|
bindir: bin
|
15
9
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
-
|
21
|
-
name: simplecov
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 3
|
31
|
-
- 0
|
32
|
-
version: 0.3.0
|
33
|
-
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: shoulda
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - "="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 10
|
46
|
-
- 3
|
47
|
-
version: 2.10.3
|
48
|
-
type: :development
|
49
|
-
version_requirements: *id002
|
50
|
-
description: HTML formatter for SimpleCov code coverage tool for ruby 1.9+
|
51
|
-
email: christoph at olszowka.de
|
10
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
11
|
+
dependencies: []
|
12
|
+
description: Default HTML formatter for SimpleCov code coverage tool for ruby 2.4+
|
13
|
+
email:
|
14
|
+
- christoph at olszowka de
|
52
15
|
executables: []
|
53
|
-
|
54
16
|
extensions: []
|
55
|
-
|
56
|
-
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- ".document"
|
20
|
+
- CHANGELOG.md
|
57
21
|
- LICENSE
|
58
|
-
- README.
|
59
|
-
files:
|
60
|
-
- .document
|
61
|
-
- .gitignore
|
62
|
-
- LICENSE
|
63
|
-
- README.rdoc
|
22
|
+
- README.md
|
64
23
|
- Rakefile
|
65
|
-
- VERSION
|
66
|
-
- assets/app.js
|
67
|
-
- assets/fancybox/blank.gif
|
68
|
-
- assets/fancybox/fancy_close.png
|
69
|
-
- assets/fancybox/fancy_loading.png
|
70
|
-
- assets/fancybox/fancy_nav_left.png
|
71
|
-
- assets/fancybox/fancy_nav_right.png
|
72
|
-
- assets/fancybox/fancy_shadow_e.png
|
73
|
-
- assets/fancybox/fancy_shadow_n.png
|
74
|
-
- assets/fancybox/fancy_shadow_ne.png
|
75
|
-
- assets/fancybox/fancy_shadow_nw.png
|
76
|
-
- assets/fancybox/fancy_shadow_s.png
|
77
|
-
- assets/fancybox/fancy_shadow_se.png
|
78
|
-
- assets/fancybox/fancy_shadow_sw.png
|
79
|
-
- assets/fancybox/fancy_shadow_w.png
|
80
|
-
- assets/fancybox/fancy_title_left.png
|
81
|
-
- assets/fancybox/fancy_title_main.png
|
82
|
-
- assets/fancybox/fancy_title_over.png
|
83
|
-
- assets/fancybox/fancy_title_right.png
|
84
|
-
- assets/fancybox/fancybox-x.png
|
85
|
-
- assets/fancybox/fancybox-y.png
|
86
|
-
- assets/fancybox/fancybox.png
|
87
|
-
- assets/fancybox/jquery.fancybox-1.3.1.css
|
88
|
-
- assets/fancybox/jquery.fancybox-1.3.1.pack.js
|
89
|
-
- assets/jquery-1.4.2.min.js
|
90
|
-
- assets/jquery.dataTables.min.js
|
91
|
-
- assets/jquery.timeago.js
|
92
|
-
- assets/loading.gif
|
93
|
-
- assets/magnify.png
|
94
|
-
- assets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
95
|
-
- assets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
96
|
-
- assets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
97
|
-
- assets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
98
|
-
- assets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
99
|
-
- assets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
100
|
-
- assets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
101
|
-
- assets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
102
|
-
- assets/smoothness/images/ui-icons_222222_256x240.png
|
103
|
-
- assets/smoothness/images/ui-icons_2e83ff_256x240.png
|
104
|
-
- assets/smoothness/images/ui-icons_454545_256x240.png
|
105
|
-
- assets/smoothness/images/ui-icons_888888_256x240.png
|
106
|
-
- assets/smoothness/images/ui-icons_cd0a0a_256x240.png
|
107
|
-
- assets/smoothness/jquery-ui-1.8.4.custom.css
|
108
|
-
- assets/stylesheet.css
|
109
24
|
- lib/simplecov-html.rb
|
110
|
-
- simplecov-html.
|
111
|
-
-
|
112
|
-
-
|
25
|
+
- lib/simplecov-html/version.rb
|
26
|
+
- public/DataTables-1.10.20/images/sort_asc.png
|
27
|
+
- public/DataTables-1.10.20/images/sort_asc_disabled.png
|
28
|
+
- public/DataTables-1.10.20/images/sort_both.png
|
29
|
+
- public/DataTables-1.10.20/images/sort_desc.png
|
30
|
+
- public/DataTables-1.10.20/images/sort_desc_disabled.png
|
31
|
+
- public/application.css
|
32
|
+
- public/application.js
|
33
|
+
- public/colorbox/border.png
|
34
|
+
- public/colorbox/controls.png
|
35
|
+
- public/colorbox/loading.gif
|
36
|
+
- public/colorbox/loading_background.png
|
37
|
+
- public/favicon_green.png
|
38
|
+
- public/favicon_red.png
|
39
|
+
- public/favicon_yellow.png
|
40
|
+
- public/images/ui-bg_flat_0_aaaaaa_40x100.png
|
41
|
+
- public/images/ui-bg_flat_75_ffffff_40x100.png
|
42
|
+
- public/images/ui-bg_glass_55_fbf9ee_1x400.png
|
43
|
+
- public/images/ui-bg_glass_65_ffffff_1x400.png
|
44
|
+
- public/images/ui-bg_glass_75_dadada_1x400.png
|
45
|
+
- public/images/ui-bg_glass_75_e6e6e6_1x400.png
|
46
|
+
- public/images/ui-bg_glass_95_fef1ec_1x400.png
|
47
|
+
- public/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
48
|
+
- public/images/ui-icons_222222_256x240.png
|
49
|
+
- public/images/ui-icons_2e83ff_256x240.png
|
50
|
+
- public/images/ui-icons_454545_256x240.png
|
51
|
+
- public/images/ui-icons_888888_256x240.png
|
52
|
+
- public/images/ui-icons_cd0a0a_256x240.png
|
53
|
+
- public/loading.gif
|
54
|
+
- public/magnify.png
|
55
|
+
- views/covered_percent.erb
|
113
56
|
- views/file_list.erb
|
114
57
|
- views/layout.erb
|
115
58
|
- views/source_file.erb
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
rdoc_options:
|
122
|
-
|
123
|
-
require_paths:
|
59
|
+
homepage: https://github.com/simplecov-ruby/simplecov-html
|
60
|
+
licenses:
|
61
|
+
- MIT
|
62
|
+
metadata:
|
63
|
+
rubygems_mfa_required: 'true'
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
124
66
|
- lib
|
125
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
-
|
127
|
-
requirements:
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
128
69
|
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
|
-
requirements:
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '2.4'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
136
74
|
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
|
139
|
-
- 0
|
140
|
-
version: "0"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
141
77
|
requirements: []
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
specification_version: 3
|
147
|
-
summary: HTML formatter for SimpleCov code coverage tool for ruby 1.9+
|
148
|
-
test_files:
|
149
|
-
- test/helper.rb
|
150
|
-
- test/test_simple_cov-html.rb
|
78
|
+
rubygems_version: 3.6.0.dev
|
79
|
+
specification_version: 4
|
80
|
+
summary: Default HTML formatter for SimpleCov code coverage tool for ruby 2.4+
|
81
|
+
test_files: []
|
data/.gitignore
DELETED
data/README.rdoc
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
= HTML formatter for SimpleCov
|
2
|
-
|
3
|
-
Note: To learn more about SimpleCov, check out the main repo at http://github.com/colszowka/simplecov
|
4
|
-
|
5
|
-
Generates a nice HTML overview of your SimpleCov coverage results.
|
6
|
-
|
7
|
-
To use, add this to your Bundler Gemfile:
|
8
|
-
|
9
|
-
gem 'simplecov-html', '>= 0.1.0'
|
10
|
-
|
11
|
-
The html formatter will be used automatically. The HTML is put into the 'coverage' subdirectory of the
|
12
|
-
current working directory (supposedly the main dir of your project)
|
13
|
-
|
14
|
-
== Note on Patches/Pull Requests
|
15
|
-
|
16
|
-
* Fork the project.
|
17
|
-
* Make your feature addition or bug fix.
|
18
|
-
* Add tests for it. This is important so I don't break it in a
|
19
|
-
future version unintentionally.
|
20
|
-
* Commit, do not mess with rakefile, version, or history.
|
21
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
22
|
-
* Send me a pull request. Bonus points for topic branches.
|
23
|
-
|
24
|
-
== Copyright
|
25
|
-
|
26
|
-
Copyright (c) 2010 Christoph Olszowka. See LICENSE for details.
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.3.2
|
data/assets/app.js
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
$(document).ready(function() {
|
2
|
-
$('.file_list').dataTable({
|
3
|
-
"aaSorting": [[ 1, "asc" ]],
|
4
|
-
"bPaginate": false,
|
5
|
-
"bJQueryUI": true,
|
6
|
-
"aoColumns": [
|
7
|
-
null,
|
8
|
-
{ "sType": "percent" },
|
9
|
-
null,
|
10
|
-
null,
|
11
|
-
null,
|
12
|
-
null
|
13
|
-
]
|
14
|
-
});
|
15
|
-
|
16
|
-
$("a.src_link").fancybox({
|
17
|
-
'hideOnContentClick': true
|
18
|
-
});
|
19
|
-
|
20
|
-
$('.source_table tbody tr:odd').addClass('odd');
|
21
|
-
$('.source_table tbody tr:even').addClass('even');
|
22
|
-
|
23
|
-
$('.source_files').hide();
|
24
|
-
$('.file_list_container').hide();
|
25
|
-
|
26
|
-
$('.file_list_container h2').each(function(){
|
27
|
-
$('.group_tabs').append('<li><a href="' + $(this).attr('id') + '">' + $(this).html() + '</a></li>');
|
28
|
-
});
|
29
|
-
|
30
|
-
$('.group_tabs a').live('focus', function() {
|
31
|
-
$(this).blur();
|
32
|
-
});
|
33
|
-
$('.group_tabs a').live('click', function(){
|
34
|
-
if (!$(this).parent().hasClass('active')) {
|
35
|
-
$('.group_tabs a').parent().removeClass('active');
|
36
|
-
$(this).parent().addClass('active');
|
37
|
-
$('.file_list_container').hide();
|
38
|
-
$(".file_list_container h2#" + $(this).attr('href')).parent().show();
|
39
|
-
};
|
40
|
-
return false;
|
41
|
-
});
|
42
|
-
|
43
|
-
$('.group_tabs a:first').click();
|
44
|
-
|
45
|
-
$("abbr.timeago").timeago();
|
46
|
-
$('#loading').fadeOut();
|
47
|
-
$('#wrapper').show();
|
48
|
-
});
|
data/assets/fancybox/blank.gif
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|