good_job 4.10.1 → 4.10.2

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: a3393f8a982a0d97722270c3c564db24bb73f173efeaf36495609e40bc21a495
4
- data.tar.gz: fef9ab12503e8d81126811246a3f35aecf5c64808cc1fb0b0aefab76f91a556b
3
+ metadata.gz: e0d6a590e473a36f203da135a4aa2445783fcd5ba370be41db80683f5a6fc1da
4
+ data.tar.gz: 28c4ddb21bc9b3039682a046f4c1f06c720fd291049cdb75a56445ad22295c48
5
5
  SHA512:
6
- metadata.gz: f543c672d6d24b8b70c4e23180f15fc01d3c51e484815c9e87d2f296040d4c56213f3a2b82a13bfc6600dd395a2db1fda02278a6e1252c874f7d21fb940ec549
7
- data.tar.gz: 9e22965243e674f6429beb718423e3d19cfcd26442d0190e352497fb59e884df937f92f14ec8576ab1d9129d98977259f898d8e6f7acdd9144d9c90390bb5f5e
6
+ metadata.gz: 54e8a9fe882b2b78aa1530ce409a19d429a3b46a895fad218412a05e66266680cd294ca1ab64474b8e43f55a0e3e3012e3e5faed9d9655654270b09c760ed10b
7
+ data.tar.gz: 4b504486b0e28279ec048188d3d956543327eac00d03f59a5d585a2960185d232da1d2d435c7d749a2eadf7feb365a1d1175528222de9962e1c01dc33f8c22c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [v4.10.2](https://github.com/bensheldon/good_job/tree/v4.10.2) (2025-05-29)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v4.10.1...v4.10.2)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fix Dashboard retries by wrapping in original/application locale [\#1643](https://github.com/bensheldon/good_job/pull/1643) ([bensheldon](https://github.com/bensheldon))
10
+
11
+ **Closed issues:**
12
+
13
+ - I18n::InvalidLocale in GoodJob::JobsController\#mass\_update [\#1641](https://github.com/bensheldon/good_job/issues/1641)
14
+
15
+ **Merged pull requests:**
16
+
17
+ - Fix the path for the extended dashboard views in README.md [\#1638](https://github.com/bensheldon/good_job/pull/1638) ([zarembas](https://github.com/zarembas))
18
+
3
19
  ## [v4.10.1](https://github.com/bensheldon/good_job/tree/v4.10.1) (2025-05-20)
4
20
 
5
21
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v4.10.0...v4.10.1)
data/README.md CHANGED
@@ -470,8 +470,8 @@ The Dashboard can be set to automatically refresh by checking "Live Poll" in the
470
470
 
471
471
  GoodJob exposes some views that are intended to be overriden by placing views in your application:
472
472
 
473
- - [`app/views/good_job/jobs/_custom_job_details.html.erb`](app/views/good_job/_custom_job_details.html.erb): content added to this partial will be displayed above the argument list on the good_job/jobs#show page.
474
- - [`app/views/good_job/jobs/_custom_execution_details.html.erb`](app/views/good_job/_custom_execution_details.html.erb): content added to this partial will be displayed above each execution on the good_job/jobs#show page.
473
+ - [`app/views/good_job/_custom_job_details.html.erb`](app/views/good_job/_custom_job_details.html.erb): content added to this partial will be displayed above the argument list on the good_job/jobs#show page.
474
+ - [`app/views/good_job/_custom_execution_details.html.erb`](app/views/good_job/_custom_execution_details.html.erb): content added to this partial will be displayed above each execution on the good_job/jobs#show page.
475
475
 
476
476
  **Warning:** these partials expose classes (such as `GoodJob::Job`) that are considered internal implementation details of GoodJob. You should always test your custom partials after upgrading GoodJob.
477
477
 
@@ -38,7 +38,7 @@ module GoodJob
38
38
  when :reschedule
39
39
  job.reschedule_job
40
40
  when :retry
41
- job.retry_job
41
+ use_original_locale { job.retry_job }
42
42
  when :destroy
43
43
  job.destroy_job
44
44
  end
@@ -84,7 +84,7 @@ module GoodJob
84
84
 
85
85
  def retry
86
86
  @job = Job.find(params[:id])
87
- @job.retry_job
87
+ use_original_locale { @job.retry_job }
88
88
  redirect_back(fallback_location: jobs_path, notice: t(".notice"))
89
89
  end
90
90
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module GoodJob
4
4
  # GoodJob gem version.
5
- VERSION = '4.10.1'
5
+ VERSION = '4.10.2'
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.1
4
+ version: 4.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon