minitest-tagz 1.3.0 → 1.3.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: 149d2f07923982e3796977d1a3153ddd835971c3
4
- data.tar.gz: 37a69269c8b29c887c6a8d903473ddc71ace505a
3
+ metadata.gz: 6edfdc418e911725d3901cf655617fc6fece7432
4
+ data.tar.gz: 002273c7187c6ee7172ec16e1479b493309f4ec5
5
5
  SHA512:
6
- metadata.gz: 247eae22cbd95e61fa89dc70b5a1d4ad33a6c32a76af50edab6cb0d276e13034140acdd1b1ab047b3f352e3468b0d40ffef80020363615d12309905bf74d50e7
7
- data.tar.gz: 14aaeb31fe597504c47d3a727d3c7923169f1c1584e74427ea1cd606de223d2be2da96ae803e2d22d070ba88abb1d084a72694603d386fade420d111d6d168f2
6
+ metadata.gz: 7e53be6e5225fd7f86d154f4e9de45ba780331d616be16472a7e3e7343d57947421de004b212b2e62680c0235e4511d33427fc285dfadb72fcec0073a9cbf49a
7
+ data.tar.gz: 0298a193904050166a7c80ca29c925cd8111422babaedc6df48b822bc204bf3c4fcc9178278436feb0f2ae24240d94f571e103ed320b406eb0fe54657778fd9c
data/lib/minitest/tagz.rb CHANGED
@@ -45,7 +45,10 @@ module Minitest
45
45
  methods.all? do |m|
46
46
  serialized = MinitestRunnerStrategy.serialize(ctxt, m)
47
47
  tags = MinitestRunnerStrategy.tag_map[serialized]
48
- tags.nil? || tags.empty? || (tags & Tagz.chosen_tags).empty?
48
+ tags.nil? ||
49
+ tags.empty? ||
50
+ ((tags & Tagz.positive_tags).empty? &&
51
+ (tags & Tagz.negative_tags).empty?)
49
52
  end
50
53
  end
51
54
  if should_skip_filter
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Tagz
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-tagz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bodah
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest