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.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +108 -0
  3. data/LICENSE +1 -1
  4. data/README.md +30 -0
  5. data/Rakefile +44 -30
  6. data/lib/simplecov-html/version.rb +9 -0
  7. data/lib/simplecov-html.rb +160 -103
  8. data/public/DataTables-1.10.20/images/sort_asc.png +0 -0
  9. data/public/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  10. data/public/DataTables-1.10.20/images/sort_both.png +0 -0
  11. data/public/DataTables-1.10.20/images/sort_desc.png +0 -0
  12. data/public/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  13. data/public/application.css +1 -0
  14. data/public/application.js +7 -0
  15. data/public/colorbox/border.png +0 -0
  16. data/public/colorbox/controls.png +0 -0
  17. data/public/colorbox/loading.gif +0 -0
  18. data/public/colorbox/loading_background.png +0 -0
  19. data/public/favicon_green.png +0 -0
  20. data/public/favicon_red.png +0 -0
  21. data/public/favicon_yellow.png +0 -0
  22. data/views/covered_percent.erb +3 -0
  23. data/views/file_list.erb +74 -32
  24. data/views/layout.erb +13 -15
  25. data/views/source_file.erb +56 -32
  26. metadata +64 -133
  27. data/.gitignore +0 -24
  28. data/README.rdoc +0 -26
  29. data/VERSION +0 -1
  30. data/assets/app.js +0 -48
  31. data/assets/fancybox/blank.gif +0 -0
  32. data/assets/fancybox/fancy_close.png +0 -0
  33. data/assets/fancybox/fancy_loading.png +0 -0
  34. data/assets/fancybox/fancy_nav_left.png +0 -0
  35. data/assets/fancybox/fancy_nav_right.png +0 -0
  36. data/assets/fancybox/fancy_shadow_e.png +0 -0
  37. data/assets/fancybox/fancy_shadow_n.png +0 -0
  38. data/assets/fancybox/fancy_shadow_ne.png +0 -0
  39. data/assets/fancybox/fancy_shadow_nw.png +0 -0
  40. data/assets/fancybox/fancy_shadow_s.png +0 -0
  41. data/assets/fancybox/fancy_shadow_se.png +0 -0
  42. data/assets/fancybox/fancy_shadow_sw.png +0 -0
  43. data/assets/fancybox/fancy_shadow_w.png +0 -0
  44. data/assets/fancybox/fancy_title_left.png +0 -0
  45. data/assets/fancybox/fancy_title_main.png +0 -0
  46. data/assets/fancybox/fancy_title_over.png +0 -0
  47. data/assets/fancybox/fancy_title_right.png +0 -0
  48. data/assets/fancybox/fancybox-x.png +0 -0
  49. data/assets/fancybox/fancybox-y.png +0 -0
  50. data/assets/fancybox/fancybox.png +0 -0
  51. data/assets/fancybox/jquery.fancybox-1.3.1.css +0 -363
  52. data/assets/fancybox/jquery.fancybox-1.3.1.pack.js +0 -44
  53. data/assets/jquery-1.4.2.min.js +0 -155
  54. data/assets/jquery.dataTables.min.js +0 -152
  55. data/assets/jquery.timeago.js +0 -141
  56. data/assets/smoothness/jquery-ui-1.8.4.custom.css +0 -295
  57. data/assets/stylesheet.css +0 -341
  58. data/simplecov-html.gemspec +0 -103
  59. data/test/helper.rb +0 -10
  60. data/test/test_simple_cov-html.rb +0 -7
  61. /data/{assets/smoothness → public}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  62. /data/{assets/smoothness → public}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  63. /data/{assets/smoothness → public}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  64. /data/{assets/smoothness → public}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  65. /data/{assets/smoothness → public}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  66. /data/{assets/smoothness → public}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  67. /data/{assets/smoothness → public}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  68. /data/{assets/smoothness → public}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  69. /data/{assets/smoothness → public}/images/ui-icons_222222_256x240.png +0 -0
  70. /data/{assets/smoothness → public}/images/ui-icons_2e83ff_256x240.png +0 -0
  71. /data/{assets/smoothness → public}/images/ui-icons_454545_256x240.png +0 -0
  72. /data/{assets/smoothness → public}/images/ui-icons_888888_256x240.png +0 -0
  73. /data/{assets/smoothness → public}/images/ui-icons_cd0a0a_256x240.png +0 -0
  74. /data/{assets → public}/loading.gif +0 -0
  75. /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 id="<%= title.gsub(/[^a-zA-Z]/, '') %>">
3
- <%= title %>
4
- (<span class="<%= coverage_css_class(coverage(source_files)) %>"><%= coverage(source_files).round(2) %>%</span>)
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
- <table class="file_list">
13
- <thead>
14
- <tr>
15
- <th>File</th>
16
- <th>% covered</th>
17
- <th>Lines</th>
18
- <th>Relevant Lines</th>
19
- <th>Lines covered</th>
20
- <th>Lines missed</th>
21
- </tr>
22
- </thead>
23
- <tbody>
24
- <% source_files.each do |source_file| %>
25
- <tr>
26
- <td><%= link_to_source_file(source_file) %></td>
27
- <td class="<%= coverage_css_class(source_file.covered_percent) %>"><%= source_file.covered_percent.round(2).to_s %> %</td>
28
- <td><%= source_file.lines.count %></td>
29
- <td><%= source_file.covered_lines.count + source_file.missed_lines.count %></td>
30
- <td><%= source_file.covered_lines.count %></td>
31
- <td><%= source_file.missed_lines.count %></td>
32
- </tr>
33
- <% end %>
34
- </tbody>
35
- </table>
36
- </div>
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
- <html>
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
- <script src='<%= assets_path('jquery-1.4.2.min.js') %>' type='text/javascript'></script>
5
- <script src='<%= assets_path('jquery.dataTables.min.js') %>' type='text/javascript'></script>
6
- <script src='<%= assets_path('fancybox/jquery.fancybox-1.3.1.pack.js') %>' type='text/javascript'></script>
7
- <script src='<%= assets_path('jquery.timeago.js') %>' type='text/javascript'></script>
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" style="display:none;">
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="http://github.com/colszowka/simple_cov">SimpleCov</a> v<%= SimpleCov::VERSION %><br/>
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) %>
@@ -1,33 +1,57 @@
1
1
  <div class="source_table" id="<%= id source_file %>">
2
- <table>
3
- <thead>
4
- <tr>
5
- <td colspan="3">
6
- <h3><%= shortened_filename source_file %></h3>
7
- <h4><span class="<%= coverage_css_class(source_file.covered_percent) %>"><%= source_file.covered_percent.round(2).to_s %> %</span> covered</h4>
8
- </td>
9
- </tr>
10
- <tr>
11
- <th>#</th>
12
- <th></th>
13
- <th>Hits</th>
14
- </tr>
15
- </thead>
16
- <tbody>
17
- <% source_file.lines.each do |line| %>
18
- <% classname = line.coverage ? (line.coverage > 0 ? 'hit' : 'miss') : 'never' %>
19
- <tr class="<%= classname %>" <%= line.coverage ? "data-hits=\"#{line.coverage}\"" : '' %>>
20
- <td class="line_number">
21
- <pre><%= line.number %></pre>
22
- </td>
23
- <td>
24
- <pre><%= line.src.chomp %></pre>
25
- </td>
26
- <td class="hits">
27
- <%= line.coverage %>
28
- </td>
29
- </tr>
30
- <% end %>
31
- </tbody>
32
- </table>
33
- </div>
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
- prerelease: false
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
- date: 2010-08-23 00:00:00 +02:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
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
- extra_rdoc_files:
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".document"
20
+ - CHANGELOG.md
57
21
  - LICENSE
58
- - README.rdoc
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.gemspec
111
- - test/helper.rb
112
- - test/test_simple_cov-html.rb
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
- has_rdoc: true
117
- homepage: http://github.com/colszowka/simplecov-html
118
- licenses: []
119
-
120
- post_install_message:
121
- rdoc_options:
122
- - --charset=UTF-8
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
- none: false
127
- requirements:
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
128
69
  - - ">="
129
- - !ruby/object:Gem::Version
130
- segments:
131
- - 0
132
- version: "0"
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
- segments:
139
- - 0
140
- version: "0"
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
141
77
  requirements: []
142
-
143
- rubyforge_project:
144
- rubygems_version: 1.3.7
145
- signing_key:
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
@@ -1,24 +0,0 @@
1
- .rvmrc
2
- .bundle
3
-
4
- ## MAC OS
5
- .DS_Store
6
-
7
- ## TEXTMATE
8
- *.tmproj
9
- tmtags
10
-
11
- ## EMACS
12
- *~
13
- \#*
14
- .\#*
15
-
16
- ## VIM
17
- *.swp
18
-
19
- ## PROJECT::GENERAL
20
- coverage
21
- rdoc
22
- pkg
23
-
24
- ## PROJECT::SPECIFIC
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
- });
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