forking_test_runner 1.2.0 → 1.3.0

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
- SHA1:
3
- metadata.gz: 20b5dbbcbf7a0eccd84759792ee55fc23df3f532
4
- data.tar.gz: 60bb004e09edc70351417d004c48a744c4ffae5c
2
+ SHA256:
3
+ metadata.gz: 35c1dd9e2075a744fbfbe951b2b44aec7e51b4430940d83f8c60d7f59d8be850
4
+ data.tar.gz: beb9db29204e45334f6afcfdf1670bb2a3f72b8bf11d4a4c9560c9d6bb65ceef
5
5
  SHA512:
6
- metadata.gz: 9805ac39da7d1a475e56c7b3054534d3258509e11d1938c1c2b3a788a822221cd5339124f80348bf0700ddfb7ef809e69d6d6a8995531227ead0185d245b5210
7
- data.tar.gz: 3e7e2728ed1603e89765e112bd275480364051b88ef080ba5bb45a89958fa7aed1ce90bc491ffead1a1b0c67d3a4230e5faa43e8774ca073138bc5d2002256a9
6
+ metadata.gz: 2363db14074a420e0bea88030f609206143d94c961c89a25536a4962d1231266a2afae1841b53602a0bd36c3d4b686616b48eb54b464fe6a317cbccde63fe0f4
7
+ data.tar.gz: b953fe2dc415c51c72d5126467bb90bcec0236aaa9edb3ce573601942be4524ac74c8050b24c72d74c0b4e57ffd9050935737029fd2a354d422f344f9156ae4e
@@ -1,5 +1,6 @@
1
1
  require 'benchmark'
2
2
  require 'optparse'
3
+ require 'forking_test_runner/version'
3
4
 
4
5
  module ForkingTestRunner
5
6
  CLEAR = "------"
@@ -305,7 +306,7 @@ module ForkingTestRunner
305
306
  end
306
307
 
307
308
  def ar?
308
- defined?(ActiveRecord::Base)
309
+ !@options.fetch(:no_ar) && defined?(ActiveRecord::Base)
309
310
  end
310
311
 
311
312
  def minitest_class
@@ -357,6 +358,7 @@ module ForkingTestRunner
357
358
  [:helper, "--helper", "Helper file to load before tests start", String],
358
359
  [:quiet, "--quiet", "Quiet"],
359
360
  [:no_fixtures, "--no-fixtures", "Do not load fixtures"],
361
+ [:no_ar, "--no-ar", "Disable ActiveRecord logic"],
360
362
  [:merge_coverage, "--merge-coverage", "Merge base code coverage into indvidual files coverage, great for SingleCov"],
361
363
  [
362
364
  :record_runtime,
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
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: 1.2.0
4
+ version: 1.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: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.6.14
142
+ rubygems_version: 2.7.6
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Run every test in a fork to avoid pollution and get clean output per test