philiprehberger-task_queue 0.7.0 → 0.7.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: e39241a1442d74c80e1e1588468bd8ad95353479568b0be9ccf31084bd755585
4
- data.tar.gz: b00310624003336ce97b36fe9931f4a11e5f4081814c3c30d2364c4f4619c527
3
+ metadata.gz: 5bd60112f6cfee945ef38be345d06ee98eb67f8cf41c58130d878806512f6459
4
+ data.tar.gz: 0def7843e02bfa558090f72aa9deee01c9383f5dbc2bbdfa7d8864f3b0e41cef
5
5
  SHA512:
6
- metadata.gz: 2c6ebf43fccdbbd00158f78859cdd79e4767e4148a82a55d81179a4be71b9346274c8ab419af1daf0a58ebd2214080bbc9b5d7b77a19267d2beefbe54b57fbf5
7
- data.tar.gz: a08587cc8f79fdfcb11e3076d411225098596ad64a0b17e0c3f86e55ec142582a5018dc6832b622c77ff0bcc2bc97b55116ee3cd2384fe17bbce1fe6d4d6011c
6
+ metadata.gz: e80d762e3fb12eed38918bc931c8b057052800938746ac83d35b86343e129e1aec1ab41a6f85f971ddf7f96fdcba181fd0e9d69971e347cc2b50ee371bb25340
7
+ data.tar.gz: 882bd1d57135f0e52e55dea6bc6a8660e443c4061e0e629dba35ae0ffff9ea43e0ce61848c2c939d4267452def0be6a546584a79219b1102dedf208f9216843d
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.7.1] - 2026-06-14
11
+
12
+ ### Changed
13
+ - Added package card image to README
14
+ - Added YARD doc comments to Worker public methods
15
+ - Cleaned up CHANGELOG formatting
16
+
10
17
  ## [0.7.0] - 2026-05-13
11
18
 
12
19
  ### Added
@@ -62,7 +69,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
62
69
  - Fix License section format
63
70
  - Sync gemspec summary with README
64
71
 
65
-
66
72
  ## [0.2.8] - 2026-03-24
67
73
 
68
74
  ### Fixed
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/philiprehberger-task_queue.svg)](https://rubygems.org/gems/philiprehberger-task_queue)
5
5
  [![Last updated](https://img.shields.io/github/last-commit/philiprehberger/rb-task-queue)](https://github.com/philiprehberger/rb-task-queue/commits/main)
6
6
 
7
+ ![philiprehberger-task_queue](https://raw.githubusercontent.com/philiprehberger/rb-task-queue/main/package-card.webp)
8
+
7
9
  In-process async job queue with concurrency control
8
10
 
9
11
  ## Requirements
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Philiprehberger
4
4
  module TaskQueue
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  end
@@ -20,10 +20,17 @@ module Philiprehberger
20
20
  @thread = Thread.new { run }
21
21
  end
22
22
 
23
+ # Signal the worker to stop after its current task completes.
24
+ #
25
+ # @return [void]
23
26
  def stop
24
27
  @running = false
28
+ nil
25
29
  end
26
30
 
31
+ # Whether the underlying worker thread is still alive.
32
+ #
33
+ # @return [Boolean]
27
34
  def alive?
28
35
  @thread&.alive? || false
29
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philiprehberger-task_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Rehberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-14 00:00:00.000000000 Z
11
+ date: 2026-06-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A lightweight, zero-dependency, thread-safe in-process async job queue
14
14
  with configurable concurrency for Ruby applications.