rspec-loop 0.1.0 → 0.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/CHANGELOG.md +4 -0
- data/lib/rspec/loop/version.rb +1 -1
- data/lib/rspec/loop.rb +10 -1
- metadata +2 -6
- data/gemfiles/rspec_3.10.gemfile.lock +0 -83
- data/gemfiles/rspec_3.11.gemfile.lock +0 -83
- data/gemfiles/rspec_3.12.gemfile.lock +0 -83
- data/gemfiles/rspec_3.13.gemfile.lock +0 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8667d1825205e831c4814925c75c4b3a04bab53a1ca677974ef2bce571244649
|
4
|
+
data.tar.gz: 9bcef5be4f00e17644174eeab35a1832eb491db3d8f701dc90abd8653f883983
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1c2b8f30dd8e01a1e6b6e871f06f8f8d19c3469660e45c6656bb313d63e12b9b92939f134882146dc81e49feb125b6beec335561b637a7f87b1d34c5e4236b
|
7
|
+
data.tar.gz: b1150c5c626c960fe8d02fa83f6887de401ef389b7f55b9864af44388c82fa4984d3ebde3d3026bc0fa6b5f8ef22dccb8d22096253f0c6e2f8cd4f626ccef7cb
|
data/CHANGELOG.md
CHANGED
data/lib/rspec/loop/version.rb
CHANGED
data/lib/rspec/loop.rb
CHANGED
@@ -54,7 +54,7 @@ module RSpec
|
|
54
54
|
@procsy.reporter.notify(:example_iteration_finished, RSpec::Core::Notifications::ExampleNotification.for(@procsy))
|
55
55
|
end
|
56
56
|
|
57
|
-
@procsy.exception = loop_results
|
57
|
+
@procsy.exception = summarize_exceptions(loop_results)
|
58
58
|
pending_message = loop_results.map(&:pending_message).compact.first
|
59
59
|
|
60
60
|
@procsy.execution_result.status = (@procsy.exception && :failed) || (pending_message && :pending) || :passed
|
@@ -64,6 +64,15 @@ module RSpec
|
|
64
64
|
@procsy.execution_result.finished_at = loop_results.last.finished_at
|
65
65
|
@procsy.execution_result.run_time = @procsy.execution_result.finished_at - @procsy.execution_result.started_at
|
66
66
|
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
def summarize_exceptions(results)
|
71
|
+
exceptions = results.map(&:exception).compact
|
72
|
+
return exceptions&.first if exceptions.count <= 1
|
73
|
+
|
74
|
+
RSpec::Core::MultipleExceptionError.new(*exceptions)
|
75
|
+
end
|
67
76
|
end
|
68
77
|
end
|
69
78
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-loop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kcboschert
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
@@ -109,13 +109,9 @@ files:
|
|
109
109
|
- README.md
|
110
110
|
- Rakefile
|
111
111
|
- gemfiles/rspec_3.10.gemfile
|
112
|
-
- gemfiles/rspec_3.10.gemfile.lock
|
113
112
|
- gemfiles/rspec_3.11.gemfile
|
114
|
-
- gemfiles/rspec_3.11.gemfile.lock
|
115
113
|
- gemfiles/rspec_3.12.gemfile
|
116
|
-
- gemfiles/rspec_3.12.gemfile.lock
|
117
114
|
- gemfiles/rspec_3.13.gemfile
|
118
|
-
- gemfiles/rspec_3.13.gemfile.lock
|
119
115
|
- lib/rspec/core/example.rb
|
120
116
|
- lib/rspec/loop.rb
|
121
117
|
- lib/rspec/loop/formatter.rb
|
@@ -1,83 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
rspec-loop (0.1.0)
|
5
|
-
rspec-core (~> 3.10)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (2.5.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
thor (>= 0.14.0)
|
14
|
-
ast (2.4.3)
|
15
|
-
byebug (12.0.0)
|
16
|
-
coderay (1.1.3)
|
17
|
-
diff-lcs (1.6.2)
|
18
|
-
json (2.12.2)
|
19
|
-
language_server-protocol (3.17.0.5)
|
20
|
-
lint_roller (1.1.0)
|
21
|
-
method_source (1.1.0)
|
22
|
-
parallel (1.27.0)
|
23
|
-
parser (3.3.8.0)
|
24
|
-
ast (~> 2.4.1)
|
25
|
-
racc
|
26
|
-
prism (1.4.0)
|
27
|
-
pry (0.15.2)
|
28
|
-
coderay (~> 1.1)
|
29
|
-
method_source (~> 1.0)
|
30
|
-
pry-byebug (3.11.0)
|
31
|
-
byebug (~> 12.0)
|
32
|
-
pry (>= 0.13, < 0.16)
|
33
|
-
racc (1.8.1)
|
34
|
-
rainbow (3.1.1)
|
35
|
-
rake (13.3.0)
|
36
|
-
regexp_parser (2.10.0)
|
37
|
-
rspec (3.10.0)
|
38
|
-
rspec-core (~> 3.10.0)
|
39
|
-
rspec-expectations (~> 3.10.0)
|
40
|
-
rspec-mocks (~> 3.10.0)
|
41
|
-
rspec-core (3.10.2)
|
42
|
-
rspec-support (~> 3.10.0)
|
43
|
-
rspec-expectations (3.10.2)
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.10.0)
|
46
|
-
rspec-mocks (3.10.3)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.10.0)
|
49
|
-
rspec-support (3.10.3)
|
50
|
-
rubocop (1.78.0)
|
51
|
-
json (~> 2.3)
|
52
|
-
language_server-protocol (~> 3.17.0.2)
|
53
|
-
lint_roller (~> 1.1.0)
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 3.3.0.2)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
58
|
-
rubocop-ast (>= 1.45.1, < 2.0)
|
59
|
-
ruby-progressbar (~> 1.7)
|
60
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
61
|
-
rubocop-ast (1.45.1)
|
62
|
-
parser (>= 3.3.7.2)
|
63
|
-
prism (~> 1.4)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
thor (1.3.2)
|
66
|
-
unicode-display_width (3.1.4)
|
67
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
68
|
-
unicode-emoji (4.0.4)
|
69
|
-
|
70
|
-
PLATFORMS
|
71
|
-
ruby
|
72
|
-
x86_64-linux
|
73
|
-
|
74
|
-
DEPENDENCIES
|
75
|
-
appraisal
|
76
|
-
pry-byebug
|
77
|
-
rake (~> 13.0)
|
78
|
-
rspec (~> 3.10.0)
|
79
|
-
rspec-loop!
|
80
|
-
rubocop (~> 1.21)
|
81
|
-
|
82
|
-
BUNDLED WITH
|
83
|
-
2.6.7
|
@@ -1,83 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
rspec-loop (0.1.0)
|
5
|
-
rspec-core (~> 3.10)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (2.5.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
thor (>= 0.14.0)
|
14
|
-
ast (2.4.3)
|
15
|
-
byebug (12.0.0)
|
16
|
-
coderay (1.1.3)
|
17
|
-
diff-lcs (1.6.2)
|
18
|
-
json (2.12.2)
|
19
|
-
language_server-protocol (3.17.0.5)
|
20
|
-
lint_roller (1.1.0)
|
21
|
-
method_source (1.1.0)
|
22
|
-
parallel (1.27.0)
|
23
|
-
parser (3.3.8.0)
|
24
|
-
ast (~> 2.4.1)
|
25
|
-
racc
|
26
|
-
prism (1.4.0)
|
27
|
-
pry (0.15.2)
|
28
|
-
coderay (~> 1.1)
|
29
|
-
method_source (~> 1.0)
|
30
|
-
pry-byebug (3.11.0)
|
31
|
-
byebug (~> 12.0)
|
32
|
-
pry (>= 0.13, < 0.16)
|
33
|
-
racc (1.8.1)
|
34
|
-
rainbow (3.1.1)
|
35
|
-
rake (13.3.0)
|
36
|
-
regexp_parser (2.10.0)
|
37
|
-
rspec (3.11.0)
|
38
|
-
rspec-core (~> 3.11.0)
|
39
|
-
rspec-expectations (~> 3.11.0)
|
40
|
-
rspec-mocks (~> 3.11.0)
|
41
|
-
rspec-core (3.11.0)
|
42
|
-
rspec-support (~> 3.11.0)
|
43
|
-
rspec-expectations (3.11.1)
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.11.0)
|
46
|
-
rspec-mocks (3.11.2)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.11.0)
|
49
|
-
rspec-support (3.11.1)
|
50
|
-
rubocop (1.78.0)
|
51
|
-
json (~> 2.3)
|
52
|
-
language_server-protocol (~> 3.17.0.2)
|
53
|
-
lint_roller (~> 1.1.0)
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 3.3.0.2)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
58
|
-
rubocop-ast (>= 1.45.1, < 2.0)
|
59
|
-
ruby-progressbar (~> 1.7)
|
60
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
61
|
-
rubocop-ast (1.45.1)
|
62
|
-
parser (>= 3.3.7.2)
|
63
|
-
prism (~> 1.4)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
thor (1.3.2)
|
66
|
-
unicode-display_width (3.1.4)
|
67
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
68
|
-
unicode-emoji (4.0.4)
|
69
|
-
|
70
|
-
PLATFORMS
|
71
|
-
ruby
|
72
|
-
x86_64-linux
|
73
|
-
|
74
|
-
DEPENDENCIES
|
75
|
-
appraisal
|
76
|
-
pry-byebug
|
77
|
-
rake (~> 13.0)
|
78
|
-
rspec (~> 3.11.0)
|
79
|
-
rspec-loop!
|
80
|
-
rubocop (~> 1.21)
|
81
|
-
|
82
|
-
BUNDLED WITH
|
83
|
-
2.6.7
|
@@ -1,83 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
rspec-loop (0.1.0)
|
5
|
-
rspec-core (~> 3.10)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (2.5.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
thor (>= 0.14.0)
|
14
|
-
ast (2.4.3)
|
15
|
-
byebug (12.0.0)
|
16
|
-
coderay (1.1.3)
|
17
|
-
diff-lcs (1.6.2)
|
18
|
-
json (2.12.2)
|
19
|
-
language_server-protocol (3.17.0.5)
|
20
|
-
lint_roller (1.1.0)
|
21
|
-
method_source (1.1.0)
|
22
|
-
parallel (1.27.0)
|
23
|
-
parser (3.3.8.0)
|
24
|
-
ast (~> 2.4.1)
|
25
|
-
racc
|
26
|
-
prism (1.4.0)
|
27
|
-
pry (0.15.2)
|
28
|
-
coderay (~> 1.1)
|
29
|
-
method_source (~> 1.0)
|
30
|
-
pry-byebug (3.11.0)
|
31
|
-
byebug (~> 12.0)
|
32
|
-
pry (>= 0.13, < 0.16)
|
33
|
-
racc (1.8.1)
|
34
|
-
rainbow (3.1.1)
|
35
|
-
rake (13.3.0)
|
36
|
-
regexp_parser (2.10.0)
|
37
|
-
rspec (3.12.0)
|
38
|
-
rspec-core (~> 3.12.0)
|
39
|
-
rspec-expectations (~> 3.12.0)
|
40
|
-
rspec-mocks (~> 3.12.0)
|
41
|
-
rspec-core (3.12.3)
|
42
|
-
rspec-support (~> 3.12.0)
|
43
|
-
rspec-expectations (3.12.4)
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.12.0)
|
46
|
-
rspec-mocks (3.12.7)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.12.0)
|
49
|
-
rspec-support (3.12.2)
|
50
|
-
rubocop (1.78.0)
|
51
|
-
json (~> 2.3)
|
52
|
-
language_server-protocol (~> 3.17.0.2)
|
53
|
-
lint_roller (~> 1.1.0)
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 3.3.0.2)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
58
|
-
rubocop-ast (>= 1.45.1, < 2.0)
|
59
|
-
ruby-progressbar (~> 1.7)
|
60
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
61
|
-
rubocop-ast (1.45.1)
|
62
|
-
parser (>= 3.3.7.2)
|
63
|
-
prism (~> 1.4)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
thor (1.3.2)
|
66
|
-
unicode-display_width (3.1.4)
|
67
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
68
|
-
unicode-emoji (4.0.4)
|
69
|
-
|
70
|
-
PLATFORMS
|
71
|
-
ruby
|
72
|
-
x86_64-linux
|
73
|
-
|
74
|
-
DEPENDENCIES
|
75
|
-
appraisal
|
76
|
-
pry-byebug
|
77
|
-
rake (~> 13.0)
|
78
|
-
rspec (~> 3.12.0)
|
79
|
-
rspec-loop!
|
80
|
-
rubocop (~> 1.21)
|
81
|
-
|
82
|
-
BUNDLED WITH
|
83
|
-
2.6.7
|
@@ -1,83 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
rspec-loop (0.1.0)
|
5
|
-
rspec-core (~> 3.10)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (2.5.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
thor (>= 0.14.0)
|
14
|
-
ast (2.4.3)
|
15
|
-
byebug (12.0.0)
|
16
|
-
coderay (1.1.3)
|
17
|
-
diff-lcs (1.6.2)
|
18
|
-
json (2.12.2)
|
19
|
-
language_server-protocol (3.17.0.5)
|
20
|
-
lint_roller (1.1.0)
|
21
|
-
method_source (1.1.0)
|
22
|
-
parallel (1.27.0)
|
23
|
-
parser (3.3.8.0)
|
24
|
-
ast (~> 2.4.1)
|
25
|
-
racc
|
26
|
-
prism (1.4.0)
|
27
|
-
pry (0.15.2)
|
28
|
-
coderay (~> 1.1)
|
29
|
-
method_source (~> 1.0)
|
30
|
-
pry-byebug (3.11.0)
|
31
|
-
byebug (~> 12.0)
|
32
|
-
pry (>= 0.13, < 0.16)
|
33
|
-
racc (1.8.1)
|
34
|
-
rainbow (3.1.1)
|
35
|
-
rake (13.3.0)
|
36
|
-
regexp_parser (2.10.0)
|
37
|
-
rspec (3.13.1)
|
38
|
-
rspec-core (~> 3.13.0)
|
39
|
-
rspec-expectations (~> 3.13.0)
|
40
|
-
rspec-mocks (~> 3.13.0)
|
41
|
-
rspec-core (3.13.5)
|
42
|
-
rspec-support (~> 3.13.0)
|
43
|
-
rspec-expectations (3.13.5)
|
44
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.13.0)
|
46
|
-
rspec-mocks (3.13.5)
|
47
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
-
rspec-support (~> 3.13.0)
|
49
|
-
rspec-support (3.13.4)
|
50
|
-
rubocop (1.78.0)
|
51
|
-
json (~> 2.3)
|
52
|
-
language_server-protocol (~> 3.17.0.2)
|
53
|
-
lint_roller (~> 1.1.0)
|
54
|
-
parallel (~> 1.10)
|
55
|
-
parser (>= 3.3.0.2)
|
56
|
-
rainbow (>= 2.2.2, < 4.0)
|
57
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
58
|
-
rubocop-ast (>= 1.45.1, < 2.0)
|
59
|
-
ruby-progressbar (~> 1.7)
|
60
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
61
|
-
rubocop-ast (1.45.1)
|
62
|
-
parser (>= 3.3.7.2)
|
63
|
-
prism (~> 1.4)
|
64
|
-
ruby-progressbar (1.13.0)
|
65
|
-
thor (1.3.2)
|
66
|
-
unicode-display_width (3.1.4)
|
67
|
-
unicode-emoji (~> 4.0, >= 4.0.4)
|
68
|
-
unicode-emoji (4.0.4)
|
69
|
-
|
70
|
-
PLATFORMS
|
71
|
-
ruby
|
72
|
-
x86_64-linux
|
73
|
-
|
74
|
-
DEPENDENCIES
|
75
|
-
appraisal
|
76
|
-
pry-byebug
|
77
|
-
rake (~> 13.0)
|
78
|
-
rspec (~> 3.13.0)
|
79
|
-
rspec-loop!
|
80
|
-
rubocop (~> 1.21)
|
81
|
-
|
82
|
-
BUNDLED WITH
|
83
|
-
2.6.7
|