forking_test_runner 0.4.2 → 0.4.3
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 +1 -0
- 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: ca543e43fc5208eac8a9cf89aaf0f9d710c52eaf
|
4
|
+
data.tar.gz: 3ccbbbbcfd4526bd1cfeb8e34fd83bbf3d2dd874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91093d4a2a4e188e89a326247800dc23d3701aea6b1e80efecc08fb7201810a224fedc1f9091415bccd1fd2c6ab1e183d2f38013f9894b4c6b371fd6555406c5
|
7
|
+
data.tar.gz: fb41bab9ba29430f494c2e83ae7dc42c389e91287257b1f5cb3b217e825028d4180045d67fe6806d324555c04b7de2db76c4dfaea6181badfdf7a2a129a85d8d
|
data/lib/forking_test_runner.rb
CHANGED
@@ -146,6 +146,7 @@ module ForkingTestRunner
|
|
146
146
|
end
|
147
147
|
change_program_name_to file do
|
148
148
|
child = fork do
|
149
|
+
SimpleCov.pid = Process.pid if defined?(SimpleCov) && SimpleCov.respond_to?(:pid=) # trick simplecov into reporting in this fork
|
149
150
|
if ar?
|
150
151
|
key = (ActiveRecord::VERSION::STRING >= "4.1.0" ? :test : "test")
|
151
152
|
ActiveRecord::Base.establish_connection key
|
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.
|
4
|
+
version: 0.4.3
|
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-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|