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 +4 -4
- data/CHANGES.md +8 -0
- data/README.md +3 -1
- data/lib/parallel_rspec/runner.rb +3 -3
- data/lib/parallel_rspec/version.rb +1 -1
- data/parallel_rspec.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b71945e9fa012e980dc80e7efd2b75210340aba3655e79c694c8a0ac8b3d152
|
|
4
|
+
data.tar.gz: d32d7ccbcb5fa3787c7ce9bb243371e07d41068ed4c2b9ab648c40c1deb99658
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
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
|
+
exit_code(parallel_success && sequential_success)
|
|
70
70
|
end
|
|
71
71
|
end
|
|
72
72
|
end
|
data/parallel_rspec.gemspec
CHANGED
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.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-
|
|
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: '
|
|
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: '
|
|
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.
|