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 +4 -4
- data/CHANGELOG.md +22 -0
- data/app/views/good_job/shared/_alert.erb +2 -2
- data/app/views/good_job/shared/_filter.erb +1 -1
- data/lib/good_job/probe_server/webrick_handler.rb +11 -1
- data/lib/good_job/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26e3887930fc0f923edca0286d1d6c2fff51466f5b395eb122a56f6dd4ec9171
|
4
|
+
data.tar.gz: 79a670cab496050ddf9cee105be9eab503a4d18f4786ac4a5b04dd3f93e3814a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/good_job/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|