parallel_tests 2.14.0 → 2.14.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
  SHA1:
3
- metadata.gz: f326996fc88803c4f76b9e184aa5bf2c1150e4d4
4
- data.tar.gz: a4aa419cef3d0af3cc401082bd462028b8fbd825
3
+ metadata.gz: bb2b1f61694815117e936ab26306101e69fa4a3e
4
+ data.tar.gz: c876e3246ceec54f90d7806f32a18f1e7c95235e
5
5
  SHA512:
6
- metadata.gz: b81bfb8d8ddeb59c8383b1e5eda35ff3cddb0923d66efb38d548076d3629b7b1558029de0b8a28b27a6c071a788b56dd3d9655f1bcb44b11d4ce73c05f4263dc
7
- data.tar.gz: d8598855d1e18ee95dad3540ef49015da0ce51836a7e3f90e904d7274993ac7c4c1bb3aeaa000a46af8e4d0f383874ded46a0466dfbbf1e648743eb5ee5d077f
6
+ metadata.gz: 2a5a018d862d2db6ff2fa7644f4ada203563ace92417ceb1085053ca42474993f39a43f4b9a46a291200780645b4545d9585956d43fabe0117d491d300a18126
7
+ data.tar.gz: bb784818e038b5b9164d48827f59f2762af667f5f9d0a137d1ae2d153ce4ac8ffeb9fa8f3aa9e48e9da83238642623fc353799e5a72eac3f0a4d96975ab0a689
@@ -8,7 +8,9 @@ module ParallelTests
8
8
  end
9
9
 
10
10
  def purge_before_load
11
- "db:test:purge" if Gem::Version.new(Rails.version) > Gem::Version.new('4.2.0')
11
+ if Gem::Version.new(Rails.version) > Gem::Version.new('4.2.0')
12
+ Rake::Task.task_defined?('db:test:purge') ? 'db:test:purge' : 'app:db:test:purge'
13
+ end
12
14
  end
13
15
 
14
16
  def run_in_parallel(cmd, options={})
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.14.0'
2
+ VERSION = Version = '2.14.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.14.0
4
+ version: 2.14.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: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel