specwrk 0.21.3 → 0.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82780e6ddeb47d5bc80b841b15de243dee0419cf5b60e4d93412053384936dab
4
- data.tar.gz: 82b3ae57d195ddb56544f240825e132eb95c251bbb160463d7afe2d03c4c3713
3
+ metadata.gz: 794dba7b09d0dcf664f9188a6c79274cd7dcaa7eb513cf002c6f610cc110313a
4
+ data.tar.gz: cc8e64d775de00bb49eb90f18de7a87f55a62b7b043fb95545b8151e6e0484b6
5
5
  SHA512:
6
- metadata.gz: e684e17c0a0678993dac9632bb0a2d1c5821d0d9eb0ed9153e78eb03b682455f29f159101456348c91af5be6ebccf1816f7f1d956a75d1bf1d2f6b375daf08d1
7
- data.tar.gz: 98f18857a73b0fe7162b7ca357fd82cc0a47e769e683f68256b51d4a103e2eb086a523256f74a13a876b2b89b04bbb9166c01c12776b50ceb824521cb9886922
6
+ metadata.gz: c98f4269ee9bdea9a2798d1b98474c430569f656eefe8b30f573f0a221e7e39258bad53904ce2c9994ab0064fdf27c3e0b0b022cfd114297fc0b1325a2b6ba66
7
+ data.tar.gz: feef8c77b996f164ee491630efe426e3735b6f72616df6ac881af4c21e6ecc796aa0990c405e4060990d1b6e479dffc2f0c8079a2641d4e1ff94ccc2c5ef2bcd
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # Changelog
2
2
 
3
3
  ## Unreleased
4
- [Compare](https://github.com/danielwestendorf/specwrk/compare/v0.21.3...main)
4
+ [Compare](https://github.com/danielwestendorf/specwrk/compare/v0.21.4...main)
5
+
6
+ ## v0.21.4 — 2026-10-12
7
+ [Compare](https://github.com/danielwestendorf/specwrk/compare/v0.21.3...v0.21.4)
8
+ - Return a Rack-compliant empty response when the worker queue is empty — [#199](https://github.com/danielwestendorf/specwrk/pull/199) by [@danielwestendorf](https://github.com/danielwestendorf)
5
9
 
6
10
  ## v0.21.3 — 2026-10-11
7
11
  [Compare](https://github.com/danielwestendorf/specwrk/compare/v0.21.2...v0.21.3)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Specwrk
4
- VERSION = "0.21.3"
4
+ VERSION = "0.21.4"
5
5
  end
@@ -12,7 +12,7 @@ module Specwrk
12
12
  if examples.any?
13
13
  [200, {"content-type" => "application/json"}, [JSON.generate(examples)]]
14
14
  elsif pending.empty? && processing.empty? && completed.empty?
15
- [204, {"content-type" => "text/plain"}, ["Waiting for sample to be seeded."]]
15
+ [204, {}, []]
16
16
  elsif completed.any? && processing.empty?
17
17
  [410, {"content-type" => "text/plain"}, ["That's a good lad. Run along now and go home."]]
18
18
  elsif expired_examples.length.positive?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specwrk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.3
4
+ version: 0.21.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Westendorf