philiprehberger-task_queue 0.2.3 → 0.2.5

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: '088f95205b874279733ad703f517d81cb5f7694e7fc9ed2248c481869384e423'
4
- data.tar.gz: 9d3940ad0849cd7ecbeaa7f5cb7afa3c1a19e49d95ce3ca7cd4ce2b23afd4679
3
+ metadata.gz: d30fa57ee8116747dcb93a9b4b090f26d3a2e6651cf53f5c99421e66ec3e936b
4
+ data.tar.gz: c1fe49e7832ea9b83d8630c7ba78470f61830532527f89b382b5550509f75884
5
5
  SHA512:
6
- metadata.gz: d8043a08aebd40789f3da64d6d88aa65342dee25cbc70aa4cadaae94400a60ba23158fcab58eb822916d04af4ce596645f6b018b57df16b77fef57a7be8b5da7
7
- data.tar.gz: f4b653d153a61fb6f8126969aa0763e8f0d22c4694dffcb352d82120b53e81a85de924b7ee1b0fc6a1983a7cf60ad0b4035a83513c5344f561dd51b6847ddd65
6
+ metadata.gz: 640ae80256361d5aee9c03d8d56ebea2c9e84dde2cdc2d56a740318b6cdd986c96b077ec9b38cf88a465e39cd43f73a8266a413dc57716703c25b308cfdab031
7
+ data.tar.gz: 9dadde31ccec2e71b05b68bc241292f62ef5dc9dacadd2e38860ae5cc2bcb6204747680d8b2fac50eb0d00473f42e8eacd15940b71456d504f27f18d9f1226e7
data/CHANGELOG.md CHANGED
@@ -1,27 +1,41 @@
1
1
  # Changelog
2
2
 
3
+ All notable changes to this gem will be documented in this file.
4
+
5
+ ## [Unreleased]
6
+
7
+ ## [0.2.5] - 2026-03-22
8
+
9
+ ### Changed
10
+ - Expand test coverage
11
+
12
+ ## [0.2.4] - 2026-03-20
13
+
14
+ ### Fixed
15
+ - Fix README description trailing period
16
+ - Fix CHANGELOG header wording
17
+
3
18
  ## [0.2.3] - 2026-03-20
4
19
 
5
20
  ### Changed
6
21
  - Expand README with detailed API documentation and usage examples
7
22
 
8
- ## 0.2.2
23
+ ## [0.2.2] - 2026-03-18
9
24
 
25
+ ### Fixed
10
26
  - Fix RuboCop Style/StringLiterals violations in gemspec
11
27
 
12
- ## 0.2.1
28
+ ## [0.2.1] - 2026-03-16
13
29
 
30
+ ### Added
14
31
  - Add License badge to README
15
32
  - Add bug_tracker_uri to gemspec
16
33
  - Add Development section to README
17
34
  - Add Requirements section to README
18
35
 
19
- All notable changes to this project will be documented in this file.
20
-
21
36
  ## [0.2.0] - 2026-03-12
22
37
 
23
38
  ### Added
24
-
25
39
  - `on_error` callback for handling task failures
26
40
  - `stats` method returning completed, failed, and pending task counts
27
41
  - `drain(timeout:)` method to wait for task completion without shutting down
@@ -29,7 +43,6 @@ All notable changes to this project will be documented in this file.
29
43
  ## [0.1.0] - 2026-03-10
30
44
 
31
45
  ### Added
32
-
33
46
  - Initial release
34
47
  - In-process async job queue with configurable concurrency
35
48
  - Thread-safe task enqueuing with `push` / `<<`
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # philiprehberger-task_queue
2
2
 
3
+ [![Tests](https://github.com/philiprehberger/rb-task-queue/actions/workflows/ci.yml/badge.svg)](https://github.com/philiprehberger/rb-task-queue/actions/workflows/ci.yml)
3
4
  [![Gem Version](https://badge.fury.io/rb/philiprehberger-task_queue.svg)](https://rubygems.org/gems/philiprehberger-task_queue)
4
- [![CI](https://github.com/philiprehberger/rb-task-queue/actions/workflows/ci.yml/badge.svg)](https://github.com/philiprehberger/rb-task-queue/actions/workflows/ci.yml)
5
5
  [![License](https://img.shields.io/github/license/philiprehberger/rb-task-queue)](LICENSE)
6
6
 
7
- In-process async job queue with concurrency control for Ruby.
7
+ In-process async job queue with concurrency control for Ruby
8
8
 
9
9
  ## Requirements
10
10
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "worker"
3
+ require_relative 'worker'
4
4
 
5
5
  module Philiprehberger
6
6
  module TaskQueue
@@ -67,10 +67,10 @@ module Philiprehberger
67
67
  # @return [self]
68
68
  def push(callable = nil, &block)
69
69
  task = block || callable
70
- raise ArgumentError, "a block is required" unless task
70
+ raise ArgumentError, 'a block is required' unless task
71
71
 
72
72
  @mutex.synchronize do
73
- raise "queue is shut down" unless @running
73
+ raise 'queue is shut down' unless @running
74
74
 
75
75
  start_workers unless @started
76
76
  @tasks << task
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Philiprehberger
4
4
  module TaskQueue
5
- VERSION = "0.2.3"
5
+ VERSION = '0.2.5'
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "task_queue/version"
4
- require_relative "task_queue/queue"
3
+ require_relative 'task_queue/version'
4
+ require_relative 'task_queue/queue'
5
5
 
6
6
  module Philiprehberger
7
7
  module TaskQueue
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.2.3
4
+ version: 0.2.5
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-03-20 00:00:00.000000000 Z
11
+ date: 2026-03-22 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.