specbandit 1.0.0 → 1.0.1

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: 89e101cef42f9c643d1c651261efff4a5d28c640761dc3f025ce133c78b1446d
4
- data.tar.gz: 5e93530207fb1fb476fca6c2b373581cc22ba070efd3cd7f30b6a637fc1804c2
3
+ metadata.gz: 9444599b748d46d177475926a3b5f3740a6534c54a0e540c7663ee4eb4208d40
4
+ data.tar.gz: f7e5787ee93b270c2ba121d7edae8a2ccac5881f1bc873d65e5afcb481958e35
5
5
  SHA512:
6
- metadata.gz: 164896ab49dd19b6309e4edc567b87fe31aa9bfe81a6837e5e945a46c2e38694aac1ae68ee99469160d02cea79d6e64d3ce5a4ea4edb88ef48b61977cd0142a9
7
- data.tar.gz: 01047ed0fc228b16c70c93f49644379a8bddff86be657a1599cbc83196e54fd7e0722fccf3bb64529911297834464ee107a7c5f875e645c0c42d49597c1f09d6
6
+ metadata.gz: 147b0eb446363ece19f086bbdedc375f6f6a15afc8d128628cdb64881396bd7c0ad01b8fc04b2af72b8db47aa89d83af0b48c86772ea57615582e412ec80a0d6
7
+ data.tar.gz: ae4357cd2cfcb1a12f539c5a7f43dacfa838a5810540ca41270c8e8fb1efb672189d898d0b4182106bb2719308b0f0ecf74495aade0f904f25d7253c48c96ed9
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Specbandit
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
@@ -224,6 +224,10 @@ module Specbandit
224
224
  return if failed_files.empty?
225
225
 
226
226
  queue.push(key_failed, failed_files, ttl: key_ttl)
227
+ # The failed key is later consumed by a retry `work` pass, which refuses to
228
+ # run any key without a published marker. `push` alone doesn't set it, so
229
+ # mark it here -- otherwise the retry crashes with "was never published".
230
+ queue.mark_published(key_failed, ttl: key_ttl)
227
231
  end
228
232
 
229
233
  # Extract individual failed file paths from an RspecBatchResult's JSON output.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specbandit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ferran Basora