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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40bfaf52cee81fb2aac947becdeab9fc90ea830d02af41b40bfce67f9908fc7a
4
- data.tar.gz: 5f0f2365bde5ccb97791393f430d784efed97b0d1bd3855cc569fb0b645fc216
3
+ metadata.gz: adbc93a8dcb18c658b115530b67535759c295f9f73f364ae3975a13ab75d342f
4
+ data.tar.gz: 5c105454229156aa7bc9716c19360513cdb0eb5a8fc6cd589ed9f9c69c35f7ba
5
5
  SHA512:
6
- metadata.gz: c2aeb0e8afc25a89dfbf6aba7ac439c01ee780300655ceca3129e31d20df017adec28a4275bf57eaf5abf50e818fdb688d692a26ff24f2e8d5e1055d6551f54d
7
- data.tar.gz: 67be3a146d97fdaa2a203c967b5f5b2d0f5f5066229f55672736b02053c56de381dcf47084e0e1a9d041132f0f228750bced24243584cd7d4ba8faffe80e5280
6
+ metadata.gz: 50d5d4657e286fd937c2a2f857a6e7f09d99eed6b534fc6b25cd9e1535a861554f8197e3a0960994cebf42337a190163de4c0ee84539fa0ebea23855fe87849a
7
+ data.tar.gz: 3765f0b78499f61ffdac029ac4afdea0552671e794fac967ee85272ef410abcdbd8cc332093b3d0dee75c537aedb6542503d46927da72ae40da458d8fd7f348f
data/Gemfile CHANGED
@@ -1,2 +1,2 @@
1
- source :rubygems
1
+ source "https://rubygems.org"
2
2
  gemspec
@@ -1,7 +1,7 @@
1
1
  module SimpleCov
2
2
  module Formatter
3
3
  class RcovFormatter
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.7"
5
5
  end
6
6
  end
7
7
  end
@@ -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(:+)
@@ -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.5
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-27 00:00:00.000000000 Z
13
+ date: 2024-01-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: simplecov