good_job 2.17.0 → 2.17.1
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 +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/good_job/version.rb +1 -1
- data/lib/good_job.rb +1 -0
- data/{app → lib}/models/good_job/active_job_job.rb +1 -1
- data/lib/{good_job → models/good_job}/base_record.rb +0 -0
- data/{app → lib}/models/good_job/execution.rb +0 -0
- data/{app → lib}/models/good_job/process.rb +0 -0
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 869350074426db7d14fdf229402edf5f86be6eccb0403c160f464e36844586dd
|
|
4
|
+
data.tar.gz: 972188f8afb342c260b3c5417988ece4a0d2a42dfcaf42da18b72a8a472f24a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e25f2531c4e6310304e3152a9e93291f0daa158ae78c2937a59d0a680abe705ba063b510cc1680cf1c856f45112789365fed8ddf9d15cf46eabb62afd5c9770d
|
|
7
|
+
data.tar.gz: d35c3de5c5bdb857af39e17376500792e017ba66dea78ab0da21c37635cf37ea1af1af36af3d6dd0bd19328d2a8fea0ff01765d841fce9c3b5ed1b9b8090a74f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v2.17.1](https://github.com/bensheldon/good_job/tree/v2.17.1) (2022-06-24)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v2.17.0...v2.17.1)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Move models out of `app` into `lib/models` [\#635](https://github.com/bensheldon/good_job/pull/635) ([bensheldon](https://github.com/bensheldon))
|
|
10
|
+
|
|
11
|
+
**Closed issues:**
|
|
12
|
+
|
|
13
|
+
- dashboard "delete all" does not work [\#630](https://github.com/bensheldon/good_job/issues/630)
|
|
14
|
+
- Concurrency controlled jobs cause infinite loops when perform\_limit is exceeded in test environments [\#609](https://github.com/bensheldon/good_job/issues/609)
|
|
15
|
+
|
|
16
|
+
**Merged pull requests:**
|
|
17
|
+
|
|
18
|
+
- Better isolate test environment: run server integration tests on port 3009 with custom pidfile; scope advisory lock counts to test database [\#632](https://github.com/bensheldon/good_job/pull/632) ([bensheldon](https://github.com/bensheldon))
|
|
19
|
+
|
|
3
20
|
## [v2.17.0](https://github.com/bensheldon/good_job/tree/v2.17.0) (2022-06-23)
|
|
4
21
|
|
|
5
22
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v2.16.1...v2.17.0)
|
data/lib/good_job/version.rb
CHANGED
data/lib/good_job.rb
CHANGED
|
@@ -26,7 +26,7 @@ module GoodJob
|
|
|
26
26
|
self.primary_key = 'active_job_id'
|
|
27
27
|
self.advisory_lockable_column = 'active_job_id'
|
|
28
28
|
|
|
29
|
-
has_many :executions, -> { order(created_at: :asc) }, class_name: 'GoodJob::Execution', foreign_key: 'active_job_id', inverse_of: :job
|
|
29
|
+
has_many :executions, -> { order(created_at: :asc) }, class_name: 'GoodJob::Execution', foreign_key: 'active_job_id', inverse_of: :job
|
|
30
30
|
|
|
31
31
|
# Only the most-recent unretried execution represents a "Job"
|
|
32
32
|
default_scope { where(retried_good_job_id: nil) }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
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.17.
|
|
4
|
+
version: 2.17.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-06-
|
|
11
|
+
date: 2022-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activejob
|
|
@@ -382,9 +382,6 @@ files:
|
|
|
382
382
|
- app/filters/good_job/base_filter.rb
|
|
383
383
|
- app/filters/good_job/jobs_filter.rb
|
|
384
384
|
- app/helpers/good_job/application_helper.rb
|
|
385
|
-
- app/models/good_job/active_job_job.rb
|
|
386
|
-
- app/models/good_job/execution.rb
|
|
387
|
-
- app/models/good_job/process.rb
|
|
388
385
|
- app/views/good_job/cron_entries/index.html.erb
|
|
389
386
|
- app/views/good_job/cron_entries/show.html.erb
|
|
390
387
|
- app/views/good_job/jobs/_executions.erb
|
|
@@ -427,7 +424,6 @@ files:
|
|
|
427
424
|
- lib/good_job/active_job_extensions/concurrency.rb
|
|
428
425
|
- lib/good_job/adapter.rb
|
|
429
426
|
- lib/good_job/assignable_connection.rb
|
|
430
|
-
- lib/good_job/base_record.rb
|
|
431
427
|
- lib/good_job/cleanup_tracker.rb
|
|
432
428
|
- lib/good_job/cli.rb
|
|
433
429
|
- lib/good_job/configuration.rb
|
|
@@ -450,6 +446,10 @@ files:
|
|
|
450
446
|
- lib/good_job/probe_server.rb
|
|
451
447
|
- lib/good_job/scheduler.rb
|
|
452
448
|
- lib/good_job/version.rb
|
|
449
|
+
- lib/models/good_job/active_job_job.rb
|
|
450
|
+
- lib/models/good_job/base_record.rb
|
|
451
|
+
- lib/models/good_job/execution.rb
|
|
452
|
+
- lib/models/good_job/process.rb
|
|
453
453
|
homepage: https://github.com/bensheldon/good_job
|
|
454
454
|
licenses:
|
|
455
455
|
- MIT
|