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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdfedb35d24a596db8d4e573cad271b526af96bd2035ba33701d628f477f39a0
4
- data.tar.gz: 55c81e97220b325cdaccc73910401829f8d6ec5171f8caebb312a0ad171dbfb7
3
+ metadata.gz: 03ae7abd4f2eb1653e061f80e705247e364810583aed4aac7a24501f1296588c
4
+ data.tar.gz: c94ca1a3cfe2cfa28411a6f3e20ff1e606fef67b86aa3fa0090ae5e0162b4ad4
5
5
  SHA512:
6
- metadata.gz: 1fa63512acf7d08f00c8cbdae971a12558214a8ab3fd85a5698fbc81c900d6bf9e7b314227dea2bd76daf055398b8a13cebe49b8b26c3768c29d967eac7df501
7
- data.tar.gz: a03409838a0a7fcb24b9b999187c48a7e1bd4215b0f08e113a162d49dd0a76de1d1381caa13b71287b3b234eaf36404ecc1d8a44f112dc15edbb16eff0df18ac
6
+ metadata.gz: db386405db7c8cf3e00461d0745848df43dd5c5dc52fb7b453fbc325f277acae7469c789408342bd0cfe61623e610d9d7161a646b0f207513e2dabd50dd12b2f
7
+ data.tar.gz: d9b49206218078386bb59638d5a8a0e6877a7831506151c5dafb90e6cb906a2cb31f88c4768beea09fba91c3788f85c30e8030b5badd3eb3fd555b4ca0327e2a
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.0
4
+
5
+ * Fix example groups with context hooks not being run if any example groups without context hooks failed. Thanks @h-lame.
6
+
3
7
  ## 3.0.0
4
8
 
5
9
  * Fix reporting of `aggregate_failures` errors.
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.12.
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
- success = run_in_parallel(without_context_hooks, reporter)
65
- success &&= with_context_hooks.map { |g| g.run(reporter) }.all?
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
- success ? 0 : @configuration.failure_exit_code
69
+ (parallel_success && sequential_success) ? 0 : @configuration.failure_exit_code
70
70
  end
71
71
  end
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module ParallelRSpec
2
- VERSION = "3.0.1"
2
+ VERSION = "3.1.0"
3
3
  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.1
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-04-19 00:00:00.000000000 Z
11
+ date: 2026-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake