single_cov 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/single_cov.rb +3 -1
- data/lib/single_cov/version.rb +1 -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: e94ba7994d4acf9b1f6cf8a4b047dbf27930fad5
|
|
4
|
+
data.tar.gz: baaf1c8d556e7bf691717735fccef649c7680019
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f4b3803c75cf6b6aa13fb1522ee4ca502209fe3e2f46446ba4f2c27a42d122324d57f63bec09b68a408f982d8d18cdcf9cd4cd8ffedfc0948a58172e735e72b
|
|
7
|
+
data.tar.gz: be086932ec36cfd1778731cdf96602995049a5a9c5c01868ef51b641818bdebdabeb99bf5b1b5d3ed2176f0101d458b4f525a785726591d327da8aa66fe840ba
|
data/lib/single_cov.rb
CHANGED
|
@@ -122,8 +122,10 @@ module SingleCov
|
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
# do not record or verify when only running selected tests since it would be missing data
|
|
125
|
+
# either via option or via rails test runner which takes file:line
|
|
125
126
|
def minitest_running_subset_of_tests?
|
|
126
|
-
(ARGV & ['-n', '--name', '-l', '--line']).any?
|
|
127
|
+
(ARGV & ['-n', '--name', '-l', '--line']).any? ||
|
|
128
|
+
ARGV.first =~ /:\d+\Z/
|
|
127
129
|
end
|
|
128
130
|
|
|
129
131
|
def rspec_running_subset_of_tests?
|
data/lib/single_cov/version.rb
CHANGED
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.4.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: 2016-05-
|
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: michael@grosser.it
|