rails-quality-assurance 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rails_quality_assurance/version.rb +1 -1
- data/lib/tasks/quality_assurance.rake +6 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6fd8b4e24827c02402a79389c7d5145bfdaaf45f4cd2741120338abce8f33768
|
|
4
|
+
data.tar.gz: 3d34a7b3c87250ca1414dbf16c17a1434413ce1b2dbebf1943f55f5a2c34a077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18c9bc787b10fca54d6f221e44b8c5b9cd7b6f4b62d0e868470f3d1fba5833e7b1dcbee933d823a32db94a35a0c11d12b7b74096ac16ec80f759ac73d21eed6b
|
|
7
|
+
data.tar.gz: a625ad921d56d63990a4daa1628c2b4bb64d940c533a8a157eb034db93fc8c5e40d0fb11e8d43c7cb6751e93b2ed0139a7f68f5c3c00ccc1d16b68452608e9d7
|
|
@@ -85,8 +85,11 @@ namespace :spec do
|
|
|
85
85
|
|
|
86
86
|
options = "--isolate --single spec/system/ --isolate-n #{isolate_tasks}"
|
|
87
87
|
options << " --test-options=\"#{test_options}\"" if test_options
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
|
|
89
|
+
# Each phase runs in its own rake process: parallel_tests shells out to `$0`
|
|
90
|
+
# to load a schema per worker, which only works when `$0` is a rake runner.
|
|
91
|
+
sh "bundle exec rake parallel:create[#{parallel_tasks}]"
|
|
92
|
+
sh "bundle exec rake parallel:load_schema[#{parallel_tasks}]"
|
|
93
|
+
sh "bundle exec parallel_rspec spec/ -n #{parallel_tasks} #{options}"
|
|
91
94
|
end
|
|
92
95
|
end
|