activejob-debounce 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/CHANGELOG.md +6 -0
- data/README.md +2 -2
- data/lib/activejob/debounce/concern.rb +1 -0
- data/lib/activejob/debounce/version.rb +1 -1
- 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: 8f40ec6b49b4676e713a84da8b7264805b55f43d40187c852ba26a9d92ae03ce
|
|
4
|
+
data.tar.gz: 0e9f036e06b186d1b9574ce77b41323dbfd03d4776a195b484b9af9ec24222c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1275539d5e7bc204532ba80d7bbc873bfec298e3d45e14517eed9eb8f1b8cfd811ecc5c5278a6684bae5ab05b75e1da1421d9a4885a2221612f3d5a427a7941
|
|
7
|
+
data.tar.gz: 53b3bebbeeee33f58acc8d83956735d81fae12b0ece64065178e6272bcb2a5735a3a56c65c16007fd7c1c4322fce7e508fd2589b980704dee97b4bfce4855e05
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-07-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Preserve keyword arguments through `perform_debounce` on Ruby 3 (`ruby2_keywords`); jobs whose `perform` takes keyword arguments no longer raise `ArgumentError` on execution
|
|
12
|
+
- Repair test suite left broken by the activejob-debounce rebrand (stale `sidekiq-debouncer` require and `Sidekiq::Debouncer` configuration reset)
|
|
13
|
+
|
|
8
14
|
## [1.0.0] - 2025-01-13
|
|
9
15
|
|
|
10
16
|
### Added
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ActiveJob::Debounce
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Dispatch-time debounce for ActiveJob. One job per debounce window, atomic Redis gating, crash recovery.
|
|
4
4
|
|
|
5
5
|
Works with **any ActiveJob backend**: Sidekiq, GoodJob, Solid Queue, Resque, etc.
|
|
6
6
|
|
|
@@ -141,7 +141,7 @@ Uses Redis `GETSET` for atomic dispatch-time gating:
|
|
|
141
141
|
3. If old value is in the future → job already pending, skip
|
|
142
142
|
4. `after_perform` deletes the key → opens the window for next cycle
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
The first event triggers execution after the delay. Subsequent events during the window are dropped.
|
|
145
145
|
|
|
146
146
|
## Redis key format
|
|
147
147
|
|