maxitest 3.0.0 → 3.0.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
  SHA256:
3
- metadata.gz: 5507ffddba92d47b8bc4ec4070bcd47782bbedad14e0bd44d18604bf846b35c1
4
- data.tar.gz: 9a05fb464dd4062fb9f1d1085ff82626e17bf44dbad072cdc41fef5d306172d5
3
+ metadata.gz: f6f952c9cf7c68eee89a09cd6ec5927b9af58971c2716cc42e8a82461494b1a8
4
+ data.tar.gz: 2b8ad3ae21a197c9739ceeaeb4eebf25bc34670b1db07c8ce7445d67a85e5ed9
5
5
  SHA512:
6
- metadata.gz: c989443e1f5bf3ec8ad54e9d9bb9265f04835699162c1a6039d2aa06fc7bbb9da33c4938a61f56cf1a022fd380ba5e45ed11cf210595140c6d2db1e53aff1ffe
7
- data.tar.gz: c56f5faa5678dc084007bae636b8287755f2472a49e8476060074269a254986457f7a3d5203535f557ebedb16d22721d8d96e4170a83dd0e6200d5f1c166f7a9
6
+ metadata.gz: 272d0367c9eddf761b15d5ead039b2a0953957d5c5e52ed32dfd7e2040b977dc3da9cf45d55674ad560b473c1a578c543885b4871e601b1381af677ec713bb75
7
+ data.tar.gz: 1663006543bf75ca6301f905159602d2a785b8833ed90e1198c9fa961b97152c4cfc5b4c74d413921c7160f2f4b88167f20c2dfa3a63d59fd86a9a3bac5f2592
@@ -27,8 +27,9 @@ module Maxitest
27
27
  maxitest_extra_threads.map(&:kill).map(&:join)
28
28
  end
29
29
 
30
+ # if setup crashes we do not return anything to make the initial error visible
30
31
  def maxitest_extra_threads
31
- Thread.list - @maxitest_threads_before
32
+ @maxitest_threads_before ? Thread.list - @maxitest_threads_before : []
32
33
  end
33
34
  end
34
35
  end
@@ -1,3 +1,3 @@
1
1
  module Maxitest
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.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: 2018-04-29 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest