parallel_rspec 3.0.1 → 3.2.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: 0b71945e9fa012e980dc80e7efd2b75210340aba3655e79c694c8a0ac8b3d152
4
+ data.tar.gz: d32d7ccbcb5fa3787c7ce9bb243371e07d41068ed4c2b9ab648c40c1deb99658
5
5
  SHA512:
6
- metadata.gz: 1fa63512acf7d08f00c8cbdae971a12558214a8ab3fd85a5698fbc81c900d6bf9e7b314227dea2bd76daf055398b8a13cebe49b8b26c3768c29d967eac7df501
7
- data.tar.gz: a03409838a0a7fcb24b9b999187c48a7e1bd4215b0f08e113a162d49dd0a76de1d1381caa13b71287b3b234eaf36404ecc1d8a44f112dc15edbb16eff0df18ac
6
+ metadata.gz: 4ccc21d152827a78ed1b5a98b3331675a29f45047d9616093586a03ac886a6bd1fe36aadf53f5a429732548fd22a9bab6c533327424fe491ab9edea14b00b18e
7
+ data.tar.gz: 2aa9510c353a4d1bf4f314efa5b76de915398b68d8c8c4a3faea546dd21c8e34630713b14db453b47ffb60086545372c3d186c23f5dcad21da25a265cdf2a09e
data/CHANGES.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.2.0
4
+
5
+ * Ensure errors outside of examples return a non-zero exit status when using `--only-failures`. Thanks @UserNotFound.
6
+
7
+ ## 3.1.0
8
+
9
+ * Fix example groups with context hooks not being run if any example groups without context hooks failed. Thanks @h-lame.
10
+
3
11
  ## 3.0.0
4
12
 
5
13
  * 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,8 @@ 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)
101
+ * Alex Kubacki (@UserNotFound)
100
102
 
101
103
 
102
104
  ## 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
+ exit_code(parallel_success && sequential_success)
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.2.0"
3
3
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_dependency "rake", "> 10.0"
23
- spec.add_dependency "rspec"
23
+ spec.add_dependency "rspec", ">= 3.10"
24
24
  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.2.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-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '3.10'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '3.10'
41
41
  description: This gem lets you run your RSpec examples in parallel across across your
42
42
  CPUs. Each worker automatically gets its own database to avoid conflicts. The
43
43
  optional spring-prspec gem adds support for running under Spring.