good_job 3.29.3 → 3.29.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a364e0b15db11b43f23fcdca6e3679a8bd759a4193d268a19ecc4bac75ac46a8
4
- data.tar.gz: a791c739aeb74c54998b356f44016a5b2be4dc703f7278826cc208cbaf43dd46
3
+ metadata.gz: 26e3887930fc0f923edca0286d1d6c2fff51466f5b395eb122a56f6dd4ec9171
4
+ data.tar.gz: 79a670cab496050ddf9cee105be9eab503a4d18f4786ac4a5b04dd3f93e3814a
5
5
  SHA512:
6
- metadata.gz: 86c3b4dbd66ddf1a8deb56e3cdbdaad1992b429a74ae39df8216064e0b2a91a6d1f61e8a738e6dd972748eddb20bb3c6c9cd1a7514480090a8acec02c833efb3
7
- data.tar.gz: 19ff67784872068e66f8ca528375937074376aede673f4e27877534aa8020714c88a25a2e030d98cc6a951410d5b4efe49b6470d5b440eb7c2d77fb8b446de48
6
+ metadata.gz: a8f938f53fc9d1e2334b25fb9311f30abffa47fe26b9968d1d7de5f354337c1aeca217cf70fcfc2e5ab15ceba992f9a4edbc7430d5b09733a90221a970fbdebc
7
+ data.tar.gz: ad97c2abf1d88cab58898f983991e599b8b55e2f20cc5931b0b2d7ee08292ca9c20652452ebbf853a3f09e96c2134dd7167f158c5a0629390d94c48383a2b436
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.29.5](https://github.com/bensheldon/good_job/tree/v3.29.5) (2024-06-24)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.29.4...v3.29.5)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - fix: require rack/handler for rack \>= 3.1.x [\#1383](https://github.com/bensheldon/good_job/pull/1383) ([shouichi](https://github.com/shouichi))
10
+
11
+ **Closed issues:**
12
+
13
+ - Unexpected behavior of calling perform\_now inside another job [\#1379](https://github.com/bensheldon/good_job/issues/1379)
14
+ - \[BUG\] \[Dashboard\] count isn't following by the filter [\#1376](https://github.com/bensheldon/good_job/issues/1376)
15
+
16
+ ## [v3.29.4](https://github.com/bensheldon/good_job/tree/v3.29.4) (2024-06-18)
17
+
18
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.29.3...v3.29.4)
19
+
20
+ **Fixed bugs:**
21
+
22
+ - Fix display of empty array in flash messages [\#1377](https://github.com/bensheldon/good_job/pull/1377) ([andynu](https://github.com/andynu))
23
+ - Fix counts in tab links with filters [\#1373](https://github.com/bensheldon/good_job/pull/1373) ([SebouChu](https://github.com/SebouChu))
24
+
3
25
  ## [v3.29.3](https://github.com/bensheldon/good_job/tree/v3.29.3) (2024-06-06)
4
26
 
5
27
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.29.2...v3.29.3)
@@ -1,5 +1,5 @@
1
1
  <div class="toast-container position-fixed p-3 start-50 translate-middle-x">
2
- <% if notice %>
2
+ <% if notice.present? %>
3
3
  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
4
4
  <div class="toast-body d-flex align-items-center gap-2">
5
5
  <%= render_icon "check", class: "flex-shrink-0 text-success" %>
@@ -8,7 +8,7 @@
8
8
  </div>
9
9
  </div>
10
10
  <% end %>
11
- <% if alert %>
11
+ <% if alert.present? %>
12
12
  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
13
13
  <div class="toast-body d-flex align-items-center gap-2">
14
14
  <%= render_icon "exclamation", class: "flex-shrink-0 text-danger" %>
@@ -47,7 +47,7 @@
47
47
  </div>
48
48
  <% end %>
49
49
 
50
- <ul data-controller="async-values" data-async-values-url-value="<%= metrics_job_status_path %>" data-live-poll-region="filter-tabs" class="nav nav-tabs my-3">
50
+ <ul data-controller="async-values" data-async-values-url-value="<%= metrics_job_status_path(filter.to_params) %>" data-live-poll-region="filter-tabs" class="nav nav-tabs my-3">
51
51
  <li class="nav-item">
52
52
  <%= link_to t(".all"), filter.to_params(state: nil), class: "nav-link #{'active' if params[:state].blank?}" %>
53
53
  </li>
@@ -7,7 +7,17 @@ module GoodJob
7
7
  @app = app
8
8
  @port = options[:port]
9
9
  @logger = options[:logger]
10
- @handler = ::Rack::Handler.get('webrick')
10
+
11
+ # Workaround for rack >= 3.1.x as auto-loading of rack/handler was removed.
12
+ # We should move to rackup in the long run.
13
+ # See https://github.com/rack/rack/pull/1937.
14
+ @handler = begin
15
+ require 'rackup/handler'
16
+ ::Rackup::Handler.get('webrick')
17
+ rescue LoadError
18
+ require "rack/handler"
19
+ ::Rack::Handler.get('webrick')
20
+ end
11
21
  end
12
22
 
13
23
  def stop
@@ -2,7 +2,7 @@
2
2
 
3
3
  module GoodJob
4
4
  # GoodJob gem version.
5
- VERSION = '3.29.3'
5
+ VERSION = '3.29.5'
6
6
 
7
7
  # GoodJob version as Gem::Version object
8
8
  GEM_VERSION = Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.29.3
4
+ version: 3.29.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-06 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob