forking_test_runner 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forking_test_runner/version.rb +1 -1
- data/lib/forking_test_runner.rb +5 -4
- 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: 6dca3c5a7178d17e22459640f93e53fe249c32cd
|
4
|
+
data.tar.gz: 9e1eb04ccc4bc8975c0e1b54f34156791fe73482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68dee24ec2121f17c59c35cc5974fa4f4ef7febff66efd92f14e9ab373de5e515f37eb62b232d756ee77dc02c62d7682170568607c72e8fdb6ee4819dbd58293
|
7
|
+
data.tar.gz: ce852d8d6f354e0e67b2dd86fcef4edc46ebfea3aeb32fa9a234a1999948ff078cf12896c4b8599c97f9940d03bc627f1fb9eaa558226a2a7c142e97bca1c1ac
|
data/lib/forking_test_runner.rb
CHANGED
@@ -172,11 +172,12 @@ module ForkingTestRunner
|
|
172
172
|
end
|
173
173
|
|
174
174
|
def toggle_minitest_autorun(value)
|
175
|
-
|
176
|
-
|
175
|
+
gem 'minitest'
|
176
|
+
klass = if Gem.loaded_specs["minitest"].version.segments.first == 4 # 4.x
|
177
|
+
require 'minitest/unit'
|
177
178
|
MiniTest::Unit
|
178
|
-
|
179
|
-
require 'minitest
|
179
|
+
else
|
180
|
+
require 'minitest'
|
180
181
|
Minitest
|
181
182
|
end
|
182
183
|
klass.class_variable_set("@@installed_at_exit", !value)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forking_test_runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2015-
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|