mutant-rspec 0.12.0 → 0.12.2
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/lib/mutant/integration/rspec.rb +7 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2c69be457abfe1641df4f565bcc8a60045af572e5e6c9b337e550a55cdfb50
|
4
|
+
data.tar.gz: 9bb8a8fb91787631a2f85d16d389ebd0229f5c60ac4a20e349e09a2c393d77a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb344114e9dd1285fb5408c9e8550b3c83d3585165260fd92a070ae979d89e740f464b14a93aab5e0bf399b90143d871e54138de5e4bb1dcebd57a4335b126bf
|
7
|
+
data.tar.gz: 2d784da3932fbaf6dd72e0132b9c66741be1cbeadf85d7a2c7051651e5770a7e596d7d2ae44f5df798cb07b12ec660a7d96b6fa6ff38e76451228380ecc05ba3
|
@@ -75,10 +75,12 @@ module Mutant
|
|
75
75
|
start = timer.now
|
76
76
|
passed = @runner.run_specs(@rspec_world.ordered_example_groups).equal?(EXIT_SUCCESS)
|
77
77
|
@runner.configuration.reset_reporter
|
78
|
+
|
78
79
|
Result::Test.new(
|
79
|
-
|
80
|
-
|
81
|
-
|
80
|
+
job_index: nil,
|
81
|
+
output: '',
|
82
|
+
passed: passed,
|
83
|
+
runtime: timer.now - start
|
82
84
|
)
|
83
85
|
end
|
84
86
|
# rubocop:enable Metrics/AbcSize
|
@@ -155,6 +157,7 @@ module Mutant
|
|
155
157
|
end
|
156
158
|
memoize :example_group_map
|
157
159
|
|
160
|
+
# mutant:disable -- 3.3 specific mutation on match.captures -> match
|
158
161
|
def parse_metadata(metadata)
|
159
162
|
if metadata.key?(:mutant_expression)
|
160
163
|
expression = metadata.fetch(:mutant_expression)
|
@@ -165,7 +168,7 @@ module Mutant
|
|
165
168
|
expressions.map(&method(:parse_expression))
|
166
169
|
else
|
167
170
|
match = EXPRESSION_CANDIDATE.match(metadata.fetch(:full_description))
|
168
|
-
[parse_expression(match.captures
|
171
|
+
[parse_expression(Util.one(match.captures)) { ALL_EXPRESSION }]
|
169
172
|
end
|
170
173
|
end
|
171
174
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutant-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mutant
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.12.
|
19
|
+
version: 0.12.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.12.
|
26
|
+
version: 0.12.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
|
-
rubygems_version: 3.5.
|
77
|
+
rubygems_version: 3.5.9
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Rspec integration for mutant
|