parallel_rspec 3.0.1 → 3.1.0
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/CHANGES.md +4 -0
- data/README.md +2 -1
- data/lib/parallel_rspec/runner.rb +3 -3
- data/lib/parallel_rspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03ae7abd4f2eb1653e061f80e705247e364810583aed4aac7a24501f1296588c
|
|
4
|
+
data.tar.gz: c94ca1a3cfe2cfa28411a6f3e20ff1e606fef67b86aa3fa0090ae5e0162b4ad4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db386405db7c8cf3e00461d0745848df43dd5c5dc52fb7b453fbc325f277acae7469c789408342bd0cfe61623e610d9d7161a646b0f207513e2dabd50dd12b2f
|
|
7
|
+
data.tar.gz: d9b49206218078386bb59638d5a8a0e6877a7831506151c5dafb90e6cb906a2cb31f88c4768beea09fba91c3788f85c30e8030b5badd3eb3fd555b4ca0327e2a
|
data/CHANGES.md
CHANGED
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ And then execute:
|
|
|
24
24
|
|
|
25
25
|
$ bundle
|
|
26
26
|
|
|
27
|
-
This version of ParallelRSpec has been tested with RSpec 3.
|
|
27
|
+
This version of ParallelRSpec has been tested with RSpec 3.13.
|
|
28
28
|
|
|
29
29
|
## Usage
|
|
30
30
|
|
|
@@ -97,6 +97,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/willbr
|
|
|
97
97
|
* Roger Nesbitt (@mogest)
|
|
98
98
|
* Erik Paasonen (@erikpaasonen)
|
|
99
99
|
* Peter Retzlaff (@peret)
|
|
100
|
+
* Murray Steele (@h-lame)
|
|
100
101
|
|
|
101
102
|
|
|
102
103
|
## License
|
|
@@ -61,12 +61,12 @@ module ParallelRSpec
|
|
|
61
61
|
@configuration.reporter.report(@world.example_count(example_groups)) do |reporter|
|
|
62
62
|
@configuration.with_suite_hooks do
|
|
63
63
|
with_context_hooks, without_context_hooks = example_groups.partition(&:any_context_hooks?)
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
parallel_success = run_in_parallel(without_context_hooks, reporter)
|
|
65
|
+
sequential_success = with_context_hooks.map { |g| g.run(reporter) }.all?
|
|
66
66
|
|
|
67
67
|
persist_example_statuses
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
(parallel_success && sequential_success) ? 0 : @configuration.failure_exit_code
|
|
70
70
|
end
|
|
71
71
|
end
|
|
72
72
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parallel_rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Will Bryant, Powershop New Zealand Ltd
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|