rspec-mergify 2026.11.8 → 2026.11.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ace343de80f55f7aed46968d459b0df76643410822f557e1f8aa823461cfd5ac
4
- data.tar.gz: da8ded075f8236a1b129ff306f8dcd1cb8affd16383c7db5cf0139136c8a6a4b
3
+ metadata.gz: 5a9f1f4af321fb3ac49694b5006b2ad378553186d58121d17c55239eedc6d5c8
4
+ data.tar.gz: 33fec59c4d7e96f6a1cf77893febc737d5eb488760b64ccdcc4d726af09d5c62
5
5
  SHA512:
6
- metadata.gz: 50613caf2087374f5d93211c29fdd07b2842d100fba3e6e07e38a1832ec5e4de1fceffc4af0f6655810a19933c00d5560ed0cb4365bcb37debae11158ab6a177
7
- data.tar.gz: af987db8186840146f8c7bf055245fbab5ee2d3752cf2fbd9d1ea433c3fa31e0f95a1b5d0b84c0f06dde5cb9e36f4bc138a5ed37b7cc2e5b4b9c9ca01d9b411f
6
+ metadata.gz: 88b479bfeb72c1d5151a5fec9f0b0bfbf3c75c859b789fd58d49eabe5bf3a73938fd354455999b3e434cbd60cb8b90483584c5b0f4bfb14b8b378a87da0f3c7b
7
+ data.tar.gz: bbf134045e426993f95873881e56ad32f3bc55bce0a604993dfd767c1fe73472bca6a928f19ad1f2f226fd5117b04252b60f63fd3bd0d21cb9d7850f76924f82
data/THIRD_PARTY_LICENSES CHANGED
@@ -8,7 +8,7 @@ The source code of each component is available from the repository listed
8
8
  next to it, as the Mozilla Public License 2.0 requires for the components
9
9
  under it.
10
10
 
11
- Apache License 2.0 (246)
11
+ Apache License 2.0 (247)
12
12
  MIT License (75)
13
13
  Unicode License v3 (19)
14
14
  BSD 3-Clause "New" or "Revised" License (5)
@@ -4886,6 +4886,7 @@ Used by:
4886
4886
  - async-signal 0.2.14 (https://github.com/smol-rs/async-signal)
4887
4887
  - async-task 4.7.1 (https://github.com/smol-rs/async-task)
4888
4888
  - atomic-waker 1.1.2 (https://github.com/smol-rs/atomic-waker)
4889
+ - base64 0.22.1 (https://github.com/marshallpierce/rust-base64)
4889
4890
  - base64 0.23.1 (https://github.com/marshallpierce/rust-base64)
4890
4891
  - bitflags 2.13.1 (https://github.com/bitflags/bitflags)
4891
4892
  - blocking 1.7.0 (https://github.com/smol-rs/blocking)
@@ -170,11 +170,8 @@ module Mergify
170
170
  retrier = test_run.test_retrier
171
171
  retrier = nil unless retrier&.answers_for?(name)
172
172
  tries = run_first(example, name, test_run, detector, retrier)
173
- if detector&.rerunning_test?(name)
174
- detect_flakiness(example, name, detector, retrier, tries)
175
- elsif retrier
176
- retry_failure(example, name, retrier, tries)
177
- end
173
+ detect_flakiness(example, name, detector, retrier, tries) if detector&.rerunning_test?(name)
174
+ retry_failure(example, name, retrier, tries) if retrier
178
175
  end
179
176
 
180
177
  # Flaky detection reruns the example, within its budget. Where test
@@ -197,7 +194,9 @@ module Mergify
197
194
  # Test retry runs the failed example again, each time the session grants
198
195
  # one more attempt, until one passes: the example then passes, as a pass
199
196
  # of a retry plugin's would. Otherwise its first run's failure stands.
200
- # Each attempt is one try, as flaky detection's reruns are.
197
+ # Each attempt is one try, as flaky detection's reruns are. The session
198
+ # grants none for an example flaky detection reran, whose reruns
199
+ # answered for it.
201
200
  def retry_failure(example, name, retrier, tries)
202
201
  failure = example.exception
203
202
  return unless failure
@@ -8,6 +8,6 @@ module Mergify
8
8
  # which resolved against whatever repository happened to be the working
9
9
  # directory at load time -- the monorepo's namespaced tags here, the user's
10
10
  # own tags once the gem was installed.
11
- VERSION = '2026.11.8'
11
+ VERSION = '2026.11.9'
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-mergify
3
3
  version: !ruby/object:Gem::Version
4
- version: 2026.11.8
4
+ version: 2026.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mergify
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 2026.11.8
32
+ version: 2026.11.9
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 2026.11.8
39
+ version: 2026.11.9
40
40
  description: 'RSpec integration for Mergify Test Engine: OpenTelemetry tracing, flaky
41
41
  test detection, and test quarantine. Requires a Mergify account (set MERGIFY_TOKEN
42
42
  in CI); free for open source.'