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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f225f138349841629ffb3f3ed73ea90d2f014a7c
4
- data.tar.gz: 17239acf778f70cca023d8962d415bbc5b53953d
3
+ metadata.gz: ca543e43fc5208eac8a9cf89aaf0f9d710c52eaf
4
+ data.tar.gz: 3ccbbbbcfd4526bd1cfeb8e34fd83bbf3d2dd874
5
5
  SHA512:
6
- metadata.gz: adb87e6d6591baff9be1f11386ae3b9281dfc56745305be229036f0dfe404f5cb3159ac2563a9dc00c1ad0dc7f68ed41476cb8cb5d389637efeef01dc7cefa6b
7
- data.tar.gz: b47bd2d9f2ea6d706d18a1f7ac08d077ab6a95791cfe5069b5907b2b812f36bb6878bd550bea98d744c4be17a17cb9817c3df59e2beb2f9a64bed2eba7f969d7
6
+ metadata.gz: 91093d4a2a4e188e89a326247800dc23d3701aea6b1e80efecc08fb7201810a224fedc1f9091415bccd1fd2c6ab1e183d2f38013f9894b4c6b371fd6555406c5
7
+ data.tar.gz: fb41bab9ba29430f494c2e83ae7dc42c389e91287257b1f5cb3b217e825028d4180045d67fe6806d324555c04b7de2db76c4dfaea6181badfdf7a2a129a85d8d
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
@@ -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.2
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-04-26 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests