single_cov 0.5.4 → 0.5.5

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: ea63cb8198feba0bbfafe44cbb3499810b6a1595
4
- data.tar.gz: 0830c6d507289d55b800f5fa1efa2025b6987828
3
+ metadata.gz: a0853e49ae0207a02a90dc984bf197ca7bf3c26a
4
+ data.tar.gz: 5f2b55c37115efe5ddaa6fc65b42000878ce751c
5
5
  SHA512:
6
- metadata.gz: f23716b380841a5d80c986a20870cee004a66d3464a4d8ee3317ef97a5ad972fd0c282a0838c31e56322bfcb795a7cf7b1043e89dc12474538d77f0c228823df
7
- data.tar.gz: f29e4220e787e5d66837f06095e70018d3f188857e52ab48e6386a70068b5350b6ce7138b628dc08725d969679b903a2299e1b4c0453284bf1e135d5554afabd
6
+ metadata.gz: 8e2ae1b55ae827cd1da1fc5372312f4c07b4c141a5fbb928f757a3dd3782279fa08459f2ab3831198c0e54b29ea4674714cf31d198ba4ad81bc5f1931d2ea58a
7
+ data.tar.gz: 71d297d98d6f7a3c3c910490370286ba5035cd1fb1c40c570b07368cd758a7919800728d4d5c77f87feb9086f9342c3f635bcba1f60a65c31d1548ff837a16e1
@@ -141,7 +141,7 @@ module SingleCov
141
141
  # do not record or verify when only running selected tests since it would be missing data
142
142
  def minitest_running_subset_of_tests?
143
143
  # via direct option (ruby test.rb -n /foo/)
144
- (ARGV & ['-n', '--name', '-l', '--line']).any? ||
144
+ (ARGV.map { |a| a.split('=', 2).first } & ['-n', '--name', '-l', '--line']).any? ||
145
145
 
146
146
  # via testrbl or mtest or rails with direct line number (mtest test.rb:123)
147
147
  (ARGV.first =~ /:\d+\Z/) ||
@@ -1,3 +1,3 @@
1
1
  module SingleCov
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  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.5.4
4
+ version: 0.5.5
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-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it