single_cov 0.5.9 → 0.6.0
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 +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c154e6f0ef3f070a3d568e085cdbfb53fbc53ae
|
4
|
+
data.tar.gz: 7dfa22d8ed91e04376c0619d2c0590ce41a6d2e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0dd5f7bdcfb17f873f83595ef3498a8ed82d1def442539a67dec64730f557efc3e6e06f0929a3722964bd948bafbf8d3a536975377934578ac04b0320a25558
|
7
|
+
data.tar.gz: 866856ab4b86d5b3dac964500873410d05275cc46960952a7a42f14f7d8f0823111c96a95fd0fb36f5bd9b5897e8ab5d62f205706396ee2dfe6c47c83cde7d07
|
data/lib/single_cov/version.rb
CHANGED
data/lib/single_cov.rb
CHANGED
@@ -78,10 +78,15 @@ module SingleCov
|
|
78
78
|
start_coverage_recording
|
79
79
|
|
80
80
|
override_at_exit do |status, _exception|
|
81
|
-
exit 1 if status == 0 && !SingleCov.all_covered?(coverage_results)
|
81
|
+
exit 1 if !@disabled && status == 0 && !SingleCov.all_covered?(coverage_results)
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
+
# use this in forks when using rspec to silence duplicated output
|
86
|
+
def disable
|
87
|
+
@disabled = true
|
88
|
+
end
|
89
|
+
|
85
90
|
private
|
86
91
|
|
87
92
|
def default_tests
|
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: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|