simplecov-rcov 0.3.5 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/simplecov-rcov/version.rb +1 -1
- data/lib/simplecov-rcov.rb +2 -0
- data/views/detail.html.erb +1 -1
- data/views/index.html.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adbc93a8dcb18c658b115530b67535759c295f9f73f364ae3975a13ab75d342f
|
4
|
+
data.tar.gz: 5c105454229156aa7bc9716c19360513cdb0eb5a8fc6cd589ed9f9c69c35f7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50d5d4657e286fd937c2a2f857a6e7f09d99eed6b534fc6b25cd9e1535a861554f8197e3a0960994cebf42337a190163de4c0ee84539fa0ebea23855fe87849a
|
7
|
+
data.tar.gz: 3765f0b78499f61ffdac029ac4afdea0552671e794fac967ee85272ef410abcdbd8cc332093b3d0dee75c537aedb6542503d46927da72ae40da458d8fd7f348f
|
data/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
gemspec
|
data/lib/simplecov-rcov.rb
CHANGED
@@ -22,6 +22,8 @@ class SimpleCov::Formatter::RcovFormatter
|
|
22
22
|
h[base] = Pathname.new(base).cleanpath.to_s.gsub(%r{^\w:[/\\]}, "").gsub(/\./, "_").gsub(/[\\\/]/, "-") + ".html"
|
23
23
|
}
|
24
24
|
|
25
|
+
@generated_on = Time.now
|
26
|
+
|
25
27
|
@files = result.files
|
26
28
|
|
27
29
|
@total_lines = result.files.map { |e| e.lines.count }.inject(:+)
|
data/views/detail.html.erb
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
</tbody>
|
51
51
|
</table>
|
52
52
|
|
53
|
-
<p>Generated on <%= generated_on %> with <a href="<%= SimpleCov::Formatter::RcovFormatter::UPSTREAM_URL %>">SimpleCov-RCov <%= SimpleCov::Formatter::RcovFormatter::VERSION %></a></p>
|
53
|
+
<p>Generated on <%= @generated_on %> with <a href="<%= SimpleCov::Formatter::RcovFormatter::UPSTREAM_URL %>">SimpleCov-RCov <%= SimpleCov::Formatter::RcovFormatter::VERSION %></a></p>
|
54
54
|
|
55
55
|
</body>
|
56
56
|
</html>
|
data/views/index.html.erb
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
</table>
|
67
67
|
</div>
|
68
68
|
|
69
|
-
<p>Generated on <%= generated_on %> with <a href="<%= SimpleCov::Formatter::RcovFormatter::UPSTREAM_URL %>">SimpleCov-RCov <%= SimpleCov::Formatter::RcovFormatter::VERSION %></a></p>
|
69
|
+
<p>Generated on <%= @generated_on %> with <a href="<%= SimpleCov::Formatter::RcovFormatter::UPSTREAM_URL %>">SimpleCov-RCov <%= SimpleCov::Formatter::RcovFormatter::VERSION %></a></p>
|
70
70
|
|
71
71
|
<script type="text/javascript">
|
72
72
|
$(document).ready(function(){$("#report_table").tablesorter({widgets: ['zebra'], textExtraction: 'complex'});});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-rcov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Guillen http://fernandoguillen.info
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-01-
|
13
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: simplecov
|