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 +4 -4
- data/lib/specbandit/version.rb +1 -1
- data/lib/specbandit/worker.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9444599b748d46d177475926a3b5f3740a6534c54a0e540c7663ee4eb4208d40
|
|
4
|
+
data.tar.gz: f7e5787ee93b270c2ba121d7edae8a2ccac5881f1bc873d65e5afcb481958e35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 147b0eb446363ece19f086bbdedc375f6f6a15afc8d128628cdb64881396bd7c0ad01b8fc04b2af72b8db47aa89d83af0b48c86772ea57615582e412ec80a0d6
|
|
7
|
+
data.tar.gz: ae4357cd2cfcb1a12f539c5a7f43dacfa838a5810540ca41270c8e8fb1efb672189d898d0b4182106bb2719308b0f0ecf74495aade0f904f25d7253c48c96ed9
|
data/lib/specbandit/version.rb
CHANGED
data/lib/specbandit/worker.rb
CHANGED
|
@@ -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.
|