good_job 2.11.0 → 2.11.1

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: 4722bcae4ba953937f1e78dd730c61898ec0aa25e4c8d5fedc6163e218de4381
4
- data.tar.gz: fe659df13800eadf8f8d45a2d31b4b4dd466d0f9517addefdfd5169c351c7c76
3
+ metadata.gz: c72b452a727d8f42ffb1a261669eb55a684ae5b9643d0f5660db7585d69416af
4
+ data.tar.gz: fe50c11e3b2c5c5aca4f86dadbfc8ab8c8bf3bd3f8898fccd25e4fb8ca47a151
5
5
  SHA512:
6
- metadata.gz: 3fff2b35292aebd982e6a11fac22d9a16b2468a19bf4e50c354a3f6806831fbcb2ab07d5cbe74c4ccd6bbeeb178abeeee700da0dbfdb0281f79b173b22a2ce9a
7
- data.tar.gz: ea88184a6b3b3be56604b90af426c4c491f735dc5951854710bfeda55a1c4b930b76190845cb90b512d4e9e2f9a1f3b746478f232d10529c8a6971e448ab1419
6
+ metadata.gz: ead055bb27d8a25f3c199d731d6ad56390ac934a85dae640fb4aa2d35baae8aec0b0cb0e30354b2972591b69269caf30574df60d8ecbd3dca445170dd0e1598a
7
+ data.tar.gz: 396f2a76423df8033811186c993fad03007e25a1aaa85b3565b375d1a89b9934bcc4c42ebb7eda1fb1f5b00d89452a4315e642e155df4328a13fc25ec044f60e
data/CHANGELOG.md CHANGED
@@ -1,23 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [v2.11.1](https://github.com/bensheldon/good_job/tree/v2.11.1) (2022-03-01)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.11.0...v2.11.1)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Ensure sticky footer doesn't overlap paginater; fix polling interval to 30 seconds, not ms [\#534](https://github.com/bensheldon/good_job/pull/534) ([bensheldon](https://github.com/bensheldon))
10
+
11
+ **Closed issues:**
12
+
13
+ - Pagination buttons hidden behind footer [\#533](https://github.com/bensheldon/good_job/issues/533)
14
+
3
15
  ## [v2.11.0](https://github.com/bensheldon/good_job/tree/v2.11.0) (2022-02-27)
4
16
 
5
17
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.10.0...v2.11.0)
6
18
 
19
+ **Implemented enhancements:**
20
+
21
+ - Add support for live polling the dashboard [\#528](https://github.com/bensheldon/good_job/pull/528) ([danielwestendorf](https://github.com/danielwestendorf))
22
+
7
23
  **Closed issues:**
8
24
 
9
25
  - How do I ensure that a the same job can't run twice? \(unique job / avoid duplicates\) [\#531](https://github.com/bensheldon/good_job/issues/531)
10
26
  - Bulk reschedule and discard jobs via dashboard [\#527](https://github.com/bensheldon/good_job/issues/527)
11
27
  - "Live Poll" dashboard [\#526](https://github.com/bensheldon/good_job/issues/526)
12
28
 
13
- **Merged pull requests:**
14
-
15
- - Add support for live polling the dashboard [\#528](https://github.com/bensheldon/good_job/pull/528) ([danielwestendorf](https://github.com/danielwestendorf))
16
-
17
29
  ## [v2.10.0](https://github.com/bensheldon/good_job/tree/v2.10.0) (2022-02-18)
18
30
 
19
31
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.9.6...v2.10.0)
20
32
 
33
+ **Implemented enhancements:**
34
+
35
+ - Dashboard: update search filters and some small UI updates [\#518](https://github.com/bensheldon/good_job/pull/518) ([multiplegeorges](https://github.com/multiplegeorges))
36
+
21
37
  **Closed issues:**
22
38
 
23
39
  - Cron jobs not getting run [\#519](https://github.com/bensheldon/good_job/issues/519)
@@ -29,7 +45,6 @@
29
45
  - Fix Benchmark job throughput script [\#522](https://github.com/bensheldon/good_job/pull/522) ([douglara](https://github.com/douglara))
30
46
  - Update development Gemfile.lock [\#521](https://github.com/bensheldon/good_job/pull/521) ([bensheldon](https://github.com/bensheldon))
31
47
  - Ensure Rails 6.0 is tested against Ruby 3.0; use Ruby 3.0 in demo environment [\#520](https://github.com/bensheldon/good_job/pull/520) ([bensheldon](https://github.com/bensheldon))
32
- - Dashboard: update search filters and some small UI updates [\#518](https://github.com/bensheldon/good_job/pull/518) ([multiplegeorges](https://github.com/multiplegeorges))
33
48
  - Document safer setting for retry\_on\_unhandled\_error [\#517](https://github.com/bensheldon/good_job/pull/517) ([tamaloa](https://github.com/tamaloa))
34
49
 
35
50
  ## [v2.9.6](https://github.com/bensheldon/good_job/tree/v2.9.6) (2022-02-07)
@@ -37,13 +37,13 @@ const GoodJob = {
37
37
  // live poll interval and enablement
38
38
  if (urlParams.has('poll')) {
39
39
  const parsedInterval = (parseInt(urlParams.get('poll')) || GOOD_JOB_DEFAULT_POLL_INTERVAL_SECONDS) * 1000;
40
-
41
- GoodJob.pollEnabled = true;
42
40
  GoodJob.pollInterval = Math.max(parsedInterval, GOOD_JOB_MINIMUM_POLL_INTERVAL);
43
41
  GoodJob.setStorage('pollInterval', GoodJob.pollInterval);
42
+
43
+ GoodJob.pollEnabled = true;
44
44
  } else {
45
+ GoodJob.pollInterval = GoodJob.getStorage('pollInterval') || (GOOD_JOB_DEFAULT_POLL_INTERVAL_SECONDS * 1000);
45
46
  GoodJob.pollEnabled = GoodJob.getStorage('pollEnabled') || false;
46
- GoodJob.pollInterval = GoodJob.getStorage('pollInterval') || GOOD_JOB_DEFAULT_POLL_INTERVAL_SECONDS;
47
47
  }
48
48
 
49
49
  document.getElementById('toggle-poll').checked = GoodJob.pollEnabled;
@@ -23,3 +23,8 @@
23
23
  position: relative;
24
24
  height: 200px;
25
25
  }
26
+
27
+ body {
28
+ /* Make room for the sticky footer */
29
+ margin-bottom: 100px;
30
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '2.11.0'
4
+ VERSION = '2.11.1'
5
5
  end
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: 2.11.0
4
+ version: 2.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob