parallel_tests 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parallel_tests/tasks.rb +2 -2
- data/lib/parallel_tests/version.rb +1 -1
- 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: aa1605164360d162a09e2b6de878aea7883bc53c
|
4
|
+
data.tar.gz: 008db162c68745864108b89090196fc810195d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a2ff466189c962a7b1ccea35068aed12252f41fb78206733cfe599d3cadbcf54d21f61cfa916e3f4a4dd97c7d83e45892bcaf3860cb4cc6218658a7a13170ed
|
7
|
+
data.tar.gz: d395d54c46be721e6f041798f2c87dde2cac17dc7899ef84adfdf10bd567c362001dcffef29fb1c774fdd957edd28dbafbbf71253730c01f62e4a6c88a35c262
|
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -116,14 +116,14 @@ namespace :parallel do
|
|
116
116
|
# just load the schema (good for integration server <-> no development db)
|
117
117
|
desc "load dumped schema for test databases via db:schema:load --> parallel:load_schema[num_cpus]"
|
118
118
|
task :load_schema, :count do |_,args|
|
119
|
-
command = "rake #{ParallelTests::Tasks.purge_before_load} db:schema:load RAILS_ENV=#{ParallelTests::Tasks.rails_env}"
|
119
|
+
command = "rake #{ParallelTests::Tasks.purge_before_load} db:schema:load RAILS_ENV=#{ParallelTests::Tasks.rails_env} DISABLE_DATABASE_ENVIRONMENT_CHECK=1"
|
120
120
|
ParallelTests::Tasks.run_in_parallel(ParallelTests::Tasks.suppress_schema_load_output(command), args)
|
121
121
|
end
|
122
122
|
|
123
123
|
# load the structure from the structure.sql file
|
124
124
|
desc "load structure for test databases via db:structure:load --> parallel:load_structure[num_cpus]"
|
125
125
|
task :load_structure, :count do |_,args|
|
126
|
-
ParallelTests::Tasks.run_in_parallel("rake #{ParallelTests::Tasks.purge_before_load} db:structure:load RAILS_ENV=#{ParallelTests::Tasks.rails_env}", args)
|
126
|
+
ParallelTests::Tasks.run_in_parallel("rake #{ParallelTests::Tasks.purge_before_load} db:structure:load RAILS_ENV=#{ParallelTests::Tasks.rails_env} DISABLE_DATABASE_ENVIRONMENT_CHECK=1", args)
|
127
127
|
end
|
128
128
|
|
129
129
|
desc "load the seed data from db/seeds.rb via db:seed --> parallel:seed[num_cpus]"
|
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.7.
|
4
|
+
version: 2.7.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: 2016-
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|