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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c154e6f0ef3f070a3d568e085cdbfb53fbc53ae
4
- data.tar.gz: 7dfa22d8ed91e04376c0619d2c0590ce41a6d2e5
3
+ metadata.gz: 81dabd74adba78b4ea06071f16f574b6c227f38b
4
+ data.tar.gz: 308331005d799052e2acd79c158d3f379db42afc
5
5
  SHA512:
6
- metadata.gz: c0dd5f7bdcfb17f873f83595ef3498a8ed82d1def442539a67dec64730f557efc3e6e06f0929a3722964bd948bafbf8d3a536975377934578ac04b0320a25558
7
- data.tar.gz: 866856ab4b86d5b3dac964500873410d05275cc46960952a7a42f14f7d8f0823111c96a95fd0fb36f5bd9b5897e8ab5d62f205706396ee2dfe6c47c83cde7d07
6
+ metadata.gz: f5b03557d335abb303379858dd0a86b684d4874924bbabdd4909f6d436cb5fd01c6bfe0ff33098f6d609b0ef89ad5c5cab917da4abc9f1693d1d2322a9d889c0
7
+ data.tar.gz: 8570e42cc6e45e479c16b3d29b2cdf6a3ec84437730010141b5265d96575e5ba42e1a328876fa289eece56a547204c77d0ce7df2ebe46c441c42a2541bbf93e7
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: single_cov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser