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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 464fe8415569d7b3a2e09f1ae95052ae8349969cb9086ee56e85d7d02a161de8
4
- data.tar.gz: 9c1dd45dc3e99d9ed218a7123a38ab6f106ebf8b93871af86655d5ee9cf3a64f
3
+ metadata.gz: a3393f8a982a0d97722270c3c564db24bb73f173efeaf36495609e40bc21a495
4
+ data.tar.gz: fef9ab12503e8d81126811246a3f35aecf5c64808cc1fb0b0aefab76f91a556b
5
5
  SHA512:
6
- metadata.gz: 2270c9d1fdd9c0b953f921ac873ffed572270907ce1d99cbb92b1ddb63b9afa979603af20aacbd2b01745b4e76743966d5851ab1a742f60fcb29258aaef5cae9
7
- data.tar.gz: 62802abd14cd93633bc7667bf42b74cbeb7bb420de6a85f3dd0fa7e93aad63eb0714f52976d80b527152bd6e7746a231a17fd46a15f8674ec7e90149df410b05
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)
@@ -524,7 +524,10 @@ module GoodJob
524
524
  current_thread.retry_now = true
525
525
 
526
526
  transaction do
527
- new_active_job = active_job.retry_job(wait: 0, error: error)
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  module GoodJob
4
4
  # GoodJob gem version.
5
- VERSION = '4.10.0'
5
+ VERSION = '4.10.1'
6
6
 
7
7
  # GoodJob version as Gem::Version object
8
8
  GEM_VERSION = Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.10.0
4
+ version: 4.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon