mutant-rspec 0.12.2 → 0.12.4
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 -7
- 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: 37dd37f35a1c26b6a42436a1930666fc09cb573bb3f9949c657beaa556c1afc6
|
4
|
+
data.tar.gz: 48c0949a628522610b389171e739ac1f38118445084fabb2e5b38e83ef1e7c5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '049fb32533e971e87dbe647cf546e70013236817edcbe1fe5d46af5d8847b677a19d5c565f0effba11671cb15938d5a345b677915973f93f4eefb1ed6eb570cb'
|
7
|
+
data.tar.gz: f40a4dc7afe00f299d4ea6a4b0e45fed8c3158f6c774857c98db2a7df31b07fc3653b296d49e4538fe9c62a39830639bd5d8cfac378bdace111f948c891cf07e
|
@@ -31,7 +31,7 @@ module Mutant
|
|
31
31
|
private_constant(*constants(false))
|
32
32
|
|
33
33
|
def freeze
|
34
|
-
super
|
34
|
+
super if @setup_elapsed
|
35
35
|
self
|
36
36
|
end
|
37
37
|
|
@@ -79,7 +79,7 @@ module Mutant
|
|
79
79
|
Result::Test.new(
|
80
80
|
job_index: nil,
|
81
81
|
output: '',
|
82
|
-
passed
|
82
|
+
passed:,
|
83
83
|
runtime: timer.now - start
|
84
84
|
)
|
85
85
|
end
|
@@ -137,14 +137,14 @@ module Mutant
|
|
137
137
|
metadata = example.metadata
|
138
138
|
|
139
139
|
id = TEST_ID_FORMAT % {
|
140
|
-
index
|
140
|
+
index:,
|
141
141
|
location: metadata.fetch(:location),
|
142
142
|
description: metadata.fetch(:full_description)
|
143
143
|
}
|
144
144
|
|
145
145
|
Test.new(
|
146
146
|
expressions: parse_metadata(metadata),
|
147
|
-
id:
|
147
|
+
id:
|
148
148
|
)
|
149
149
|
end
|
150
150
|
|
@@ -167,13 +167,13 @@ module Mutant
|
|
167
167
|
|
168
168
|
expressions.map(&method(:parse_expression))
|
169
169
|
else
|
170
|
-
match = EXPRESSION_CANDIDATE.match(metadata.fetch(:full_description))
|
170
|
+
match = EXPRESSION_CANDIDATE.match(metadata.fetch(:full_description)) or return [ALL_EXPRESSION]
|
171
171
|
[parse_expression(Util.one(match.captures)) { ALL_EXPRESSION }]
|
172
172
|
end
|
173
173
|
end
|
174
174
|
|
175
|
-
def parse_expression(input, &
|
176
|
-
expression_parser.call(input).from_right(&
|
175
|
+
def parse_expression(input, &)
|
176
|
+
expression_parser.call(input).from_right(&)
|
177
177
|
end
|
178
178
|
|
179
179
|
def all_examples
|
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.4
|
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-06-
|
11
|
+
date: 2024-06-30 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.4
|
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.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '3.
|
70
|
+
version: '3.1'
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|