single_cov 0.6.0 → 0.6.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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81dabd74adba78b4ea06071f16f574b6c227f38b
|
4
|
+
data.tar.gz: 308331005d799052e2acd79c158d3f379db42afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b03557d335abb303379858dd0a86b684d4874924bbabdd4909f6d436cb5fd01c6bfe0ff33098f6d609b0ef89ad5c5cab917da4abc9f1693d1d2322a9d889c0
|
7
|
+
data.tar.gz: 8570e42cc6e45e479c16b3d29b2cdf6a3ec84437730010141b5265d96575e5ba42e1a328876fa289eece56a547204c77d0ce7df2ebe46c441c42a2541bbf93e7
|
data/lib/single_cov/version.rb
CHANGED
data/lib/single_cov.rb
CHANGED
@@ -78,7 +78,7 @@ module SingleCov
|
|
78
78
|
start_coverage_recording
|
79
79
|
|
80
80
|
override_at_exit do |status, _exception|
|
81
|
-
exit 1 if !@disabled && status == 0 && !SingleCov.all_covered?(coverage_results)
|
81
|
+
exit 1 if (!defined?(@disabled) || !@disabled) && status == 0 && !SingleCov.all_covered?(coverage_results)
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|