good_job 3.12.4 → 3.12.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: cbd9eea98505960c1c53863338762b4c814d2248caf2642fc5774e1fbc19fc1c
4
- data.tar.gz: 2c84f9908144e29f509355010d0d9daf2c6ebda1360c411f41328e6a25c45aad
3
+ metadata.gz: 2ab20515ae75193d46a2340d2b14b7e34217fb5eddf6e468cdd1d9d2aacb8a0d
4
+ data.tar.gz: 318bfc51ed42c853dbebcba084780d2c359b62fee526bf76482e7ccba2122ab7
5
5
  SHA512:
6
- metadata.gz: 68e5e4df608a70845510c9790c10b350f1d5bf960f5574de146278d3e9a9b95270cd96116c70428815fd3e06ecab789566e82c5eaabdb64a9fdc07f7f9555d94
7
- data.tar.gz: c56b476a28edd728c6791bb61f53e8f9c073c865301dd7a8cbf40b3f432a2eb9db5e5fe48e268b7c454b4f242f5f27c1bbcf866e2924a6150ec7f8f1a0148f58
6
+ metadata.gz: 9d78a07949afbda9ab3f45f5605cbc6411d26402c89b1e273f32584c2bbe7bccf5c48d58e201fc9b529d5b2d0dfd4874aebd82d79a4e2af72360bb0e0b61cfa1
7
+ data.tar.gz: 4b3b505b89ce9696a9f94198ba853b06e0a37adb100006ddce43e8d334b1ef05afb6ee2b37c9d33ffc05f0fc3fc60ef2a2a8a346311f3e6e2298e2228eeb062a
data/CHANGELOG.md CHANGED
@@ -1,33 +1,45 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.12.5](https://github.com/bensheldon/good_job/tree/v3.12.5) (2023-02-24)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.4...v3.12.5)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fix I18n number formatting; other Dashboard development tweaks [\#862](https://github.com/bensheldon/good_job/pull/862) ([bensheldon](https://github.com/bensheldon))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Update Development Dependencies. Use Ruby 3.2 and Rails 7.0 [\#865](https://github.com/bensheldon/good_job/pull/865) ([bensheldon](https://github.com/bensheldon))
14
+
3
15
  ## [v3.12.4](https://github.com/bensheldon/good_job/tree/v3.12.4) (2023-02-24)
4
16
 
5
17
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.3...v3.12.4)
6
18
 
19
+ **Fixed bugs:**
20
+
21
+ - Add serialize coder kwarg for Rails 7.1-alpha [\#864](https://github.com/bensheldon/good_job/pull/864) ([bensheldon](https://github.com/bensheldon))
22
+
7
23
  **Closed issues:**
8
24
 
9
25
  - Rails 7.1 - Serialized columns like a store now needs a `coder: JSON` [\#863](https://github.com/bensheldon/good_job/issues/863)
10
26
  - Does good\_job automatically retry on ActiveRecord::LockWaitTimeout? [\#860](https://github.com/bensheldon/good_job/issues/860)
11
27
  - race condition for batches callback [\#832](https://github.com/bensheldon/good_job/issues/832)
12
28
 
13
- **Merged pull requests:**
14
-
15
- - Add serialize coder kwarg for Rails 7.1-alpha [\#864](https://github.com/bensheldon/good_job/pull/864) ([bensheldon](https://github.com/bensheldon))
16
-
17
29
  ## [v3.12.3](https://github.com/bensheldon/good_job/tree/v3.12.3) (2023-02-21)
18
30
 
19
31
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.2...v3.12.3)
20
32
 
33
+ **Fixed bugs:**
34
+
35
+ - Fix bug where notification check does not use configuration [\#857](https://github.com/bensheldon/good_job/pull/857) ([mitchellhenke](https://github.com/mitchellhenke))
36
+ - Fix template for the update migrations 03 index \(\#851\) [\#852](https://github.com/bensheldon/good_job/pull/852) ([julienanne](https://github.com/julienanne))
37
+
21
38
  **Closed issues:**
22
39
 
23
40
  - \[Not Critical\] Too much space \(One\) in db/migrate/XXXXXX\_create\_index\_good\_jobs\_jobs\_on\_priority\_created\_at\_when\_unfinished.rb [\#851](https://github.com/bensheldon/good_job/issues/851)
24
41
  - Use timestamps with timezone when set as the default for postgresql. [\#668](https://github.com/bensheldon/good_job/issues/668)
25
42
 
26
- **Merged pull requests:**
27
-
28
- - Fix bug where notification check does not use configuration [\#857](https://github.com/bensheldon/good_job/pull/857) ([mitchellhenke](https://github.com/mitchellhenke))
29
- - Fix template for the update migrations 03 index \(\#851\) [\#852](https://github.com/bensheldon/good_job/pull/852) ([julienanne](https://github.com/julienanne))
30
-
31
43
  ## [v3.12.2](https://github.com/bensheldon/good_job/tree/v3.12.2) (2023-02-16)
32
44
 
33
45
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.1...v3.12.2)
@@ -15,7 +15,7 @@
15
15
  <option value="" <%= "selected='selected'" if params[:queue_name].blank? %>>All queues</option>
16
16
 
17
17
  <% filter.queues.each do |name, count| %>
18
- <option value="<%= name.to_param %>" <%= "selected='selected'" if params[:queue_name] == name %>><%= name %> (<%= number_with_delimiter(count) %>)</option>
18
+ <option value="<%= name.to_param %>" <%= "selected='selected'" if params[:queue_name] == name %>><%= name %> (<%= number_with_delimiter(count, t('good_job.number.format')) %>)</option>
19
19
  <% end %>
20
20
  </select>
21
21
  </div>
@@ -26,7 +26,7 @@
26
26
  <option value="" <%= "selected='selected'" if params[:job_class].blank? %>>All jobs</option>
27
27
 
28
28
  <% filter.job_classes.each do |name, count| %>
29
- <option value="<%= name.to_param %>" <%= "selected='selected'" if params[:job_class] == name %>><%= name %> (<%= number_with_delimiter(count) %>)</option>
29
+ <option value="<%= name.to_param %>" <%= "selected='selected'" if params[:job_class] == name %>><%= name %> (<%= number_with_delimiter(count, t('good_job.number.format')) %>)</option>
30
30
  <% end %>
31
31
  </select>
32
32
  </div>
@@ -56,7 +56,7 @@
56
56
  <li class="nav-item">
57
57
  <%= link_to filter.to_params(state: name), class: "nav-link #{"active" if params[:state] == name}" do %>
58
58
  <%= t(name, scope: 'good_job.status') %>
59
- <span class="badge bg-primary rounded-pill <%= "bg-secondary" if count == 0 %>"><%= number_with_delimiter(count) %></span>
59
+ <span class="badge bg-primary rounded-pill <%= "bg-secondary" if count == 0 %>"><%= number_with_delimiter(count, t('good_job.number.format')) %></span>
60
60
  <% end %>
61
61
  </li>
62
62
  <% end %>
@@ -11,14 +11,14 @@
11
11
  <%= link_to jobs_path, class: ["nav-link", ("active" if controller_name == 'jobs')] do %>
12
12
  <%= t(".jobs") %>
13
13
  <% jobs_count = GoodJob::Job.count %>
14
- <span class="badge bg-secondary rounded-pill"><%= number_to_human(jobs_count, unit: "good_job.number") %></span>
14
+ <span class="badge bg-secondary rounded-pill"><%= number_to_human(jobs_count, **I18n.t("good_job.number.human.decimal_units")) %></span>
15
15
  <% end %>
16
16
  </li>
17
17
  <li class="nav-item">
18
18
  <%= link_to batches_path, class: ["nav-link", ("active" if controller_name == 'batches')] do %>
19
19
  <%= "Batches" %>
20
20
  <% batches_count = GoodJob::BatchRecord.migrated? ? GoodJob::BatchRecord.all.size : 0 %>
21
- <span class="badge bg-secondary rounded-pill"><%= batches_count %></span>
21
+ <span class="badge bg-secondary rounded-pill"><%= number_to_human(batches_count, units: I18n.t("good_job.number.human.decimal_units.units"), precision: 3) %></span>
22
22
  <% end %>
23
23
  </li>
24
24
  <li class="nav-item">
@@ -52,7 +52,10 @@ en:
52
52
  separator: "."
53
53
  human:
54
54
  decimal_units:
55
+ delimiter: ","
55
56
  format: "%n%u"
57
+ precision: 3
58
+ separator: "."
56
59
  units:
57
60
  billion: B
58
61
  million: M
@@ -60,10 +63,6 @@ en:
60
63
  thousand: K
61
64
  trillion: T
62
65
  unit: ''
63
- format:
64
- delimiter: ","
65
- precision: 3
66
- separator: "."
67
66
  shared:
68
67
  footer:
69
68
  last_update_html: Last updated <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -52,7 +52,10 @@ es:
52
52
  separator: ","
53
53
  human:
54
54
  decimal_units:
55
+ delimiter: " "
55
56
  format: "%n%u"
57
+ precision: 3
58
+ separator: ","
56
59
  units:
57
60
  billion: B
58
61
  million: M
@@ -60,10 +63,6 @@ es:
60
63
  thousand: k
61
64
  trillion: T
62
65
  unit: ''
63
- format:
64
- delimiter: " "
65
- precision: 3
66
- separator: ","
67
66
  shared:
68
67
  footer:
69
68
  last_update_html: Última actualización <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -52,7 +52,10 @@ fr:
52
52
  separator: ","
53
53
  human:
54
54
  decimal_units:
55
+ delimiter: " "
55
56
  format: "%n%u"
57
+ precision: 3
58
+ separator: ","
56
59
  units:
57
60
  billion: B
58
61
  million: M
@@ -60,10 +63,6 @@ fr:
60
63
  thousand: k
61
64
  trillion: T
62
65
  unit: ''
63
- format:
64
- delimiter: " "
65
- precision: 3
66
- separator: ","
67
66
  shared:
68
67
  footer:
69
68
  last_update_html: Dernière mise à jour <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -52,7 +52,10 @@ nl:
52
52
  separator: ","
53
53
  human:
54
54
  decimal_units:
55
+ delimiter: "."
55
56
  format: "%n%u"
57
+ precision: 3
58
+ separator: ","
56
59
  units:
57
60
  billion: B
58
61
  million: M
@@ -60,10 +63,6 @@ nl:
60
63
  thousand: K
61
64
  trillion: T
62
65
  unit: ''
63
- format:
64
- delimiter: "."
65
- precision: 3
66
- separator: ","
67
66
  shared:
68
67
  footer:
69
68
  last_update_html: Laatst bijgewerkt <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -76,7 +76,10 @@ ru:
76
76
  separator: ","
77
77
  human:
78
78
  decimal_units:
79
+ delimiter: " "
79
80
  format: "%n%u"
81
+ precision: 3
82
+ separator: ","
80
83
  units:
81
84
  billion: Б
82
85
  million: М
@@ -84,10 +87,6 @@ ru:
84
87
  thousand: К
85
88
  trillion: Т
86
89
  unit: ''
87
- format:
88
- delimiter: " "
89
- precision: 3
90
- separator: ","
91
90
  shared:
92
91
  footer:
93
92
  last_update_html: Последнее обновление <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -76,7 +76,10 @@ ua:
76
76
  separator: ","
77
77
  human:
78
78
  decimal_units:
79
+ delimiter: " "
79
80
  format: "%n%u"
81
+ precision: 3
82
+ separator: ","
80
83
  units:
81
84
  billion: Блн
82
85
  million: Млн
@@ -84,10 +87,6 @@ ua:
84
87
  thousand: Тис
85
88
  trillion: Трил
86
89
  unit: ''
87
- format:
88
- delimiter: " "
89
- precision: 3
90
- separator: ","
91
90
  shared:
92
91
  footer:
93
92
  last_update_html: Оснаннє оновлення <time id="page-updated-at" datetime="%{time}">%{time}</time>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '3.12.4'
4
+ VERSION = '3.12.5'
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.4
4
+ version: 3.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2023-02-24 00:00:00.000000000 Z
@@ -436,7 +436,7 @@ metadata:
436
436
  homepage_uri: https://github.com/bensheldon/good_job
437
437
  source_code_uri: https://github.com/bensheldon/good_job
438
438
  rubygems_mfa_required: 'true'
439
- post_install_message:
439
+ post_install_message:
440
440
  rdoc_options:
441
441
  - "--title"
442
442
  - GoodJob - a multithreaded, Postgres-based ActiveJob backend for Ruby on Rails
@@ -458,8 +458,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
458
458
  - !ruby/object:Gem::Version
459
459
  version: '0'
460
460
  requirements: []
461
- rubygems_version: 3.4.5
462
- signing_key:
461
+ rubygems_version: 3.4.6
462
+ signing_key:
463
463
  specification_version: 4
464
464
  summary: A multithreaded, Postgres-based ActiveJob backend for Ruby on Rails
465
465
  test_files: []