simplecov-rcov 0.3.1 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simplecov-rcov/version.rb +1 -1
- data/lib/simplecov-rcov.rb +1 -3
- 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: 40bfaf52cee81fb2aac947becdeab9fc90ea830d02af41b40bfce67f9908fc7a
|
4
|
+
data.tar.gz: 5f0f2365bde5ccb97791393f430d784efed97b0d1bd3855cc569fb0b645fc216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2aeb0e8afc25a89dfbf6aba7ac439c01ee780300655ceca3129e31d20df017adec28a4275bf57eaf5abf50e818fdb688d692a26ff24f2e8d5e1055d6551f54d
|
7
|
+
data.tar.gz: 67be3a146d97fdaa2a203c967b5f5b2d0f5f5066229f55672736b02053c56de381dcf47084e0e1a9d041132f0f228750bced24243584cd7d4ba8faffe80e5280
|
data/lib/simplecov-rcov.rb
CHANGED
@@ -22,8 +22,6 @@ 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
|
-
|
27
25
|
@files = result.files
|
28
26
|
|
29
27
|
@total_lines = result.files.map { |e| e.lines.count }.inject(:+)
|
@@ -54,7 +52,7 @@ class SimpleCov::Formatter::RcovFormatter
|
|
54
52
|
end
|
55
53
|
|
56
54
|
def template(name)
|
57
|
-
ERB.new(File.read(File.join(File.dirname(__FILE__), '../views/', "#{name}.erb")),
|
55
|
+
ERB.new(File.read(File.join(File.dirname(__FILE__), '../views/', "#{name}.erb")), trim_mode: '-')
|
58
56
|
end
|
59
57
|
|
60
58
|
def lines(file_list)
|
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.5
|
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:
|
13
|
+
date: 2024-01-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: simplecov
|