edouard-metric_fu 1.0.3.6 → 1.0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,16 +7,16 @@
7
7
  <th>Percent run</th>
8
8
  </tr>
9
9
  <% count = 0 %>
10
- <% @rcov.each_pair do |fname, file| %>
10
+ <% @rcov.sort_by{|k,v| v[:percent_run]}.each do |e| %>
11
11
  <tr>
12
- <td><a href="#<%= fname.gsub(/[^a-z]+/, '_') %>"><%= fname %></a></td>
13
- <td><%= file[:percent_run] %></td>
12
+ <td><a href="#<%= e[0].gsub(/[^a-z]+/, '_') %>"><%= e[0] %></a></td>
13
+ <td><%= e[1][:percent_run] %></td>
14
14
  </tr>
15
15
  <% count += 1 %>
16
16
  <% end %>
17
17
  </table>
18
18
 
19
- <% @rcov.sort_by{|k,v| v[:percent_run]}.each_pair do |fname, file| %>
19
+ <% @rcov.each_pair 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.6
4
+ version: 1.0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Scruggs