single_cov 0.4.0 → 0.4.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: e94ba7994d4acf9b1f6cf8a4b047dbf27930fad5
4
- data.tar.gz: baaf1c8d556e7bf691717735fccef649c7680019
3
+ metadata.gz: 636161d1f3e826e95b96d611ca0fb79e098a28e8
4
+ data.tar.gz: ffb160bb0d4e9b7858c907b7eda89351d154f5b5
5
5
  SHA512:
6
- metadata.gz: 0f4b3803c75cf6b6aa13fb1522ee4ca502209fe3e2f46446ba4f2c27a42d122324d57f63bec09b68a408f982d8d18cdcf9cd4cd8ffedfc0948a58172e735e72b
7
- data.tar.gz: be086932ec36cfd1778731cdf96602995049a5a9c5c01868ef51b641818bdebdabeb99bf5b1b5d3ed2176f0101d458b4f525a785726591d327da8aa66fe840ba
6
+ metadata.gz: 2d5780477f7109011fad076207b3216bee488e64336397d61fdd86cc6bea5c4e7725ff55e57fc479cf3d377983d73258a5421a6b15da1487a5eba08816f99f7a
7
+ data.tar.gz: 64abf3c374589d7aa02b31d0a0f0d1521d29dd4f4ccfb246ed64ffc0753948f5c247b4f191f6e65221c2d2d6234f389a52eb2f8d8f2e0b12f6c3560e17a52812
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/lib/single_cov.rb CHANGED
@@ -109,9 +109,8 @@ module SingleCov
109
109
  end
110
110
 
111
111
  # not running rake or a whole folder
112
- # TODO make this better ...
113
112
  def running_single_file?
114
- !defined?(Rake)
113
+ COVERAGES.size == 1
115
114
  end
116
115
 
117
116
  # we cannot insert our hooks when minitest is already running
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.0
4
+ version: 0.4.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-05-23 00:00:00.000000000 Z
11
+ date: 2016-06-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it