mutant-rspec 0.12.2 → 0.12.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce2c69be457abfe1641df4f565bcc8a60045af572e5e6c9b337e550a55cdfb50
4
- data.tar.gz: 9bb8a8fb91787631a2f85d16d389ebd0229f5c60ac4a20e349e09a2c393d77a1
3
+ metadata.gz: 84d97f21752cd3b592c02b1b3ab512011a05647b268a727f2a67abd8bbd0dcc6
4
+ data.tar.gz: 6293c89c9518af9f24539f681fa74b47a92a3b0f2f3dd7e5be8bf2b26a40d983
5
5
  SHA512:
6
- metadata.gz: bb344114e9dd1285fb5408c9e8550b3c83d3585165260fd92a070ae979d89e740f464b14a93aab5e0bf399b90143d871e54138de5e4bb1dcebd57a4335b126bf
7
- data.tar.gz: 2d784da3932fbaf6dd72e0132b9c66741be1cbeadf85d7a2c7051651e5770a7e596d7d2ae44f5df798cb07b12ec660a7d96b6fa6ff38e76451228380ecc05ba3
6
+ metadata.gz: f129965153987e84ce65072ab809dc6eaa319d86f76e640bfecc13208f870f75ea496b945044c5633da8579f3d4ad7f55202d62f75b1205759aeafe11e08a6dd
7
+ data.tar.gz: 21820336cdadb1fab59e8083e6cae84a0038d5e92ae70e98adddf66978aa43626d6d271e8c34847a4bcb0a5f075867c75449f6be098e4cdc9f85ebcc2ee98279
@@ -31,7 +31,7 @@ module Mutant
31
31
  private_constant(*constants(false))
32
32
 
33
33
  def freeze
34
- super() if @setup_elapsed
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: 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: 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: id
147
+ id:
148
148
  )
149
149
  end
150
150
 
@@ -172,8 +172,8 @@ module Mutant
172
172
  end
173
173
  end
174
174
 
175
- def parse_expression(input, &default)
176
- expression_parser.call(input).from_right(&default)
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.2
4
+ version: 0.12.3
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-09 00:00:00.000000000 Z
11
+ date: 2024-06-10 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.2
19
+ version: 0.12.3
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.2
26
+ version: 0.12.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -67,14 +67,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: '3.0'
70
+ version: '3.1'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
- rubygems_version: 3.5.9
77
+ rubygems_version: 3.3.26
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Rspec integration for mutant