single_cov 0.1.0 → 0.1.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: fc4bd21262f4b962189d8bb21f2032e5f32c6b42
4
- data.tar.gz: 96832f5c76759152715afc37a7250037e054e7ae
3
+ metadata.gz: a9e8a11c52f830a25453d51d1f97fc354c026945
4
+ data.tar.gz: ead9442c09b3f8e02653b9dab4d8ab9c91e9e60b
5
5
  SHA512:
6
- metadata.gz: 949aa6f89ff4d1cfe868fdee4b778f686971b1bca13092b5c099abdf6b282fa7465bb97a00f56daba40082a62348d48c693be3fed117b4ce582991228421b252
7
- data.tar.gz: 6971f210c32e0e54e13bf8e3adc9980056d66ef3368cec0b1894620691197f32834681094a46b557615f5cb71327e77604ce20882dbef647d24ae1bff7dece5c
6
+ metadata.gz: f53febf48cfbb5a78737dd78fb8c5dbd64fa6345d67738b18fc8b34fec8f77623f2ccd20d189ed6b940290a427ef458f81de0958ce6f535d143af9cd017617f1
7
+ data.tar.gz: 384b50a88ccbe47f975cb7f36e021ad9dd2377cb9eba09610730a7b6c80803b33ed51370d08097bfe6fbb6148a5c88301046d25621164022855608f6dbfb4af7
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/single_cov.rb CHANGED
@@ -101,7 +101,7 @@ module SingleCov
101
101
 
102
102
  # we cannot insert our hooks when minitest is already running
103
103
  def minitest_should_not_be_running!
104
- if defined?(Minitest) && Minitest.class_variable_get(:@@installed_at_exit)
104
+ if defined?(Minitest) && Minitest.class_variable_defined?(:@@installed_at_exit) && Minitest.class_variable_get(:@@installed_at_exit)
105
105
  raise "Load minitest after setting up SingleCov"
106
106
  end
107
107
  end
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.1.0
4
+ version: 0.1.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: 2016-04-17 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it