good_job 4.10.0 → 4.10.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 +12 -0
- data/app/models/good_job/job.rb +4 -1
- data/lib/good_job/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: a3393f8a982a0d97722270c3c564db24bb73f173efeaf36495609e40bc21a495
|
4
|
+
data.tar.gz: fef9ab12503e8d81126811246a3f35aecf5c64808cc1fb0b0aefab76f91a556b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f543c672d6d24b8b70c4e23180f15fc01d3c51e484815c9e87d2f296040d4c56213f3a2b82a13bfc6600dd395a2db1fda02278a6e1252c874f7d21fb940ec549
|
7
|
+
data.tar.gz: 9e22965243e674f6429beb718423e3d19cfcd26442d0190e352497fb59e884df937f92f14ec8576ab1d9129d98977259f898d8e6f7acdd9144d9c90390bb5f5e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v4.10.1](https://github.com/bensheldon/good_job/tree/v4.10.1) (2025-05-20)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v4.10.0...v4.10.1)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Preserve job locale when retrying on dashboard [\#1634](https://github.com/bensheldon/good_job/pull/1634) ([Earlopain](https://github.com/Earlopain))
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- Dashboard retry overwrites original job locale — is this intended behavior? [\#1630](https://github.com/bensheldon/good_job/issues/1630)
|
14
|
+
|
3
15
|
## [v4.10.0](https://github.com/bensheldon/good_job/tree/v4.10.0) (2025-04-26)
|
4
16
|
|
5
17
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v4.9.3...v4.10.0)
|
data/app/models/good_job/job.rb
CHANGED
@@ -524,7 +524,10 @@ module GoodJob
|
|
524
524
|
current_thread.retry_now = true
|
525
525
|
|
526
526
|
transaction do
|
527
|
-
|
527
|
+
# NOTE: Required until fixed in rails https://github.com/rails/rails/pull/52121
|
528
|
+
I18n.with_locale(active_job.locale) do
|
529
|
+
new_active_job = active_job.retry_job(wait: 0, error: error)
|
530
|
+
end
|
528
531
|
self.error_event = :retried if error
|
529
532
|
save!
|
530
533
|
end
|
data/lib/good_job/version.rb
CHANGED