single_cov 1.8.1 → 1.8.2
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: b8844c5efacc57e84cf175a369a2a950800275ef5f2c239f1c1f36f287c3b203
|
4
|
+
data.tar.gz: a521cbb94e444d0d8dd5c5dac776e82990a36c4b3c8c9ed90440c703fb146dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16ada1719d539dba5b9e723179e4cdbc51ebe5513f964538f3f0c4a2d822aa7b167a4d9bfe16846218ab1bb7289ad0cdc4f12edeb257d20dd6b92df2e8cd0674
|
7
|
+
data.tar.gz: b2fa27ac56d427e4905489fe3196c6dc25068a57c8a1133a4fbd6a5b56b7f2ef4d9514cb556fa499aa9c00654d62a56fe8540aa55e1bb932161e5324f56a8198
|
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.select { |file| File.read(file) =~ /SingleCov.covered!(?:(?!uncovered).)*(\s*|\s*\#.*)$/ }
|
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.2
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|