edouard-metric_fu 1.0.3.7 → 1.0.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,10 @@ table tr.dark {
14
14
  background: #f9f9f9;
15
15
  }
16
16
 
17
+ table tr:hover {
18
+ background: #FFFFC0;
19
+ }
20
+
17
21
  table td, table th {
18
22
  padding: 4px;
19
23
  font-size: 11px;
@@ -7,16 +7,16 @@
7
7
  <th>Percent run</th>
8
8
  </tr>
9
9
  <% count = 0 %>
10
- <% @rcov.sort_by{|k,v| v[:percent_run]}.each do |e| %>
10
+ <% @rcov.sort_by{ |k,v| v[:percent_run] }.each do |fname, file| %>
11
11
  <tr>
12
- <td><a href="#<%= e[0].gsub(/[^a-z]+/, '_') %>"><%= e[0] %></a></td>
13
- <td><%= e[1][:percent_run] %></td>
12
+ <td><a href="#<%= fname.gsub(/[^a-z]+/, '_') %>"><%= fname %></a></td>
13
+ <td><%= file[:percent_run] %></td>
14
14
  </tr>
15
15
  <% count += 1 %>
16
16
  <% end %>
17
17
  </table>
18
18
 
19
- <% @rcov.each_pair do |fname, file| %>
19
+ <% @rcov.sort_by{ |k,v| v[:percent_run] }.each do |fname, file| %>
20
20
  <h2 id="<%= fname.gsub(/[^a-z]+/, '_') %>"> <%= fname %></h2>
21
21
  <div class="rcov_overflow">
22
22
  <table class="rcov_code">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edouard-metric_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3.7
4
+ version: 1.0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Scruggs