single_cov 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/single_cov/version.rb +1 -1
- data/lib/single_cov.rb +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: 338f545eff8f811fa678800cf39ea59209b2211ae8b6b5b49bc9f219a63ed5cd
|
4
|
+
data.tar.gz: 3d2d927abde1eba8f900da08920119a94c2afa6bb856bd032215564438027147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 929684db9f9de5a13489ffe531ecde7115cb9e9102d3f70ae81a6d95e2baa7d10134e232f78c9d94a084f6e1432ab4790910ad10fe23940c4224c4b8e78a7975
|
7
|
+
data.tar.gz: ca7b7d0d607ac27d16e9cf97d80c7c3f6d5c591232f2bfb2fdf576cab62ee7c66ebb7d9e1cba88b49262a54bf82ec347c7f57df3c6d78a171bc2369b9c647ed9
|
data/lib/single_cov/version.rb
CHANGED
data/lib/single_cov.rb
CHANGED
@@ -78,7 +78,7 @@ module SingleCov
|
|
78
78
|
|
79
79
|
def assert_full_coverage(tests: default_tests, currently_complete: [], location: nil)
|
80
80
|
location ||= caller(0..1)[1].split(':in').first
|
81
|
-
complete = tests.
|
81
|
+
complete = tests.reject { |file| File.read(file) =~ /SingleCov.covered!(.*)uncovered:(.*)$/ }
|
82
82
|
missing_complete = currently_complete - complete
|
83
83
|
newly_complete = complete - currently_complete
|
84
84
|
errors = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: single_cov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|