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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5d3aff2609767e18b4fafd06836c4b80449430f803fdcb33341502d100e86af
4
- data.tar.gz: 66ac48b55b9019174df51024490940062d1f8d9a9f2ad437132dac6e2cb7baaa
3
+ metadata.gz: 6fd8b4e24827c02402a79389c7d5145bfdaaf45f4cd2741120338abce8f33768
4
+ data.tar.gz: 3d34a7b3c87250ca1414dbf16c17a1434413ce1b2dbebf1943f55f5a2c34a077
5
5
  SHA512:
6
- metadata.gz: 662d3195065986d9459b1d6c32083ed0939b098dfbdc95a4e926c89255645aa389ef625b8654660001077bc39bd5af620a411bf06805232e4554ee4e4cfb7ef6
7
- data.tar.gz: 3137af9575ae65157f7c2886e80b6f497907586087ea9aa81ce3f27aaa7cd68fe3efc71bbecf7366a0b754cc88000babb9bfe4ae7d1f772c44b1f5314f6857da
6
+ metadata.gz: 18c9bc787b10fca54d6f221e44b8c5b9cd7b6f4b62d0e868470f3d1fba5833e7b1dcbee933d823a32db94a35a0c11d12b7b74096ac16ec80f759ac73d21eed6b
7
+ data.tar.gz: a625ad921d56d63990a4daa1628c2b4bb64d940c533a8a157eb034db93fc8c5e40d0fb11e8d43c7cb6751e93b2ed0139a7f68f5c3c00ccc1d16b68452608e9d7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsQualityAssurance
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
@@ -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
- Rake::Task['parallel:create'].invoke(parallel_tasks)
89
- Rake::Task['parallel:load_schema'].invoke(parallel_tasks)
90
- Rake::Task['parallel:spec'].invoke(parallel_tasks, nil, nil, options)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-quality-assurance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Zaffari