good_job 3.15.8 → 3.15.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -1
- data/README.md +1 -1
- data/app/models/good_job/base_execution.rb +1 -1
- data/app/models/good_job/execution.rb +1 -2
- 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: 000bb49d312d0103d77ce95d27e79316b7ee66b1056e0566cc1029272442c77a
|
4
|
+
data.tar.gz: f990fccc402be6ac4dca1e2c8c8f3f57c2a73b00d5c1a065afa1d9ca6645f602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db26d83de8e6f07447d1ae866ea065a4b8beb37bd9c93d726929b8d0972ba0f862efd641128bffe35e964fcf2589459d60f57751f4b20d7ab16fc1daeb35a82e
|
7
|
+
data.tar.gz: aae23731a957a0418f13eadc9e2deab3f5378286cb3e40c00f2cf0341dd99d1a0a73f49873835f14c7e2032a4a1738310038752da8e270ac0864591c662811ad
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,49 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v3.15.10](https://github.com/bensheldon/good_job/tree/v3.15.10) (2023-05-22)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.9...v3.15.10)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Ensure migration warning for `DiscreteExecution` constant is in explicit `GoodJob::` namespace [\#963](https://github.com/bensheldon/good_job/pull/963) ([bensheldon](https://github.com/bensheldon))
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- uninitialized constant DiscreteExecution [\#962](https://github.com/bensheldon/good_job/issues/962)
|
14
|
+
|
15
|
+
## [v3.15.9](https://github.com/bensheldon/good_job/tree/v3.15.9) (2023-05-21)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.8...v3.15.9)
|
18
|
+
|
19
|
+
**Fixed bugs:**
|
20
|
+
|
21
|
+
- Fix wait and wait\_until ignored in bulk enqueue [\#960](https://github.com/bensheldon/good_job/pull/960) ([bensheldon](https://github.com/bensheldon))
|
22
|
+
|
23
|
+
**Closed issues:**
|
24
|
+
|
25
|
+
- Does Bulk enqueue respect wait? [\#959](https://github.com/bensheldon/good_job/issues/959)
|
26
|
+
- BaseExecution::discrete\_support? hardcodes the DiscreteExecution table\_name [\#957](https://github.com/bensheldon/good_job/issues/957)
|
27
|
+
|
28
|
+
**Merged pull requests:**
|
29
|
+
|
30
|
+
- Fix flaky jruby test to widen time-based range [\#961](https://github.com/bensheldon/good_job/pull/961) ([bensheldon](https://github.com/bensheldon))
|
31
|
+
- Update README.md [\#953](https://github.com/bensheldon/good_job/pull/953) ([namiwang](https://github.com/namiwang))
|
32
|
+
|
3
33
|
## [v3.15.8](https://github.com/bensheldon/good_job/tree/v3.15.8) (2023-05-19)
|
4
34
|
|
5
35
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.7...v3.15.8)
|
6
36
|
|
37
|
+
**Fixed bugs:**
|
38
|
+
|
39
|
+
- Fix hard-coded and duplicated table\_name [\#958](https://github.com/bensheldon/good_job/pull/958) ([gap777](https://github.com/gap777))
|
40
|
+
|
7
41
|
**Closed issues:**
|
8
42
|
|
9
43
|
- `active_job.enqueue` Performance Issue [\#939](https://github.com/bensheldon/good_job/issues/939)
|
10
44
|
|
11
45
|
**Merged pull requests:**
|
12
46
|
|
13
|
-
- Fix hard-coded and duplicated table\_name [\#958](https://github.com/bensheldon/good_job/pull/958) ([gap777](https://github.com/gap777))
|
14
47
|
- Bump rubocop from 1.46.0 to 1.50.2 [\#949](https://github.com/bensheldon/good_job/pull/949) ([dependabot[bot]](https://github.com/apps/dependabot))
|
15
48
|
- Bump rubocop-rails from 2.18.0 to 2.19.1 [\#947](https://github.com/bensheldon/good_job/pull/947) ([dependabot[bot]](https://github.com/apps/dependabot))
|
16
49
|
|
data/README.md
CHANGED
@@ -472,7 +472,7 @@ config.good_job.enable_cron = ENV['DYNO'] == 'worker.1' # or `true` or via $GOOD
|
|
472
472
|
|
473
473
|
# Configure cron with a hash that has a unique key for each recurring job
|
474
474
|
config.good_job.cron = {
|
475
|
-
# Every 15 minutes, enqueue `ExampleJob.set(priority: -10).perform_later(42, name: "Alice")`
|
475
|
+
# Every 15 minutes, enqueue `ExampleJob.set(priority: -10).perform_later(42, "life", name: "Alice")`
|
476
476
|
frequent_task: { # each recurring job must have a unique key
|
477
477
|
cron: "*/15 * * * *", # cron-style scheduling format by fugit gem
|
478
478
|
class: "ExampleJob", # reference the Job class with a string
|
@@ -224,9 +224,8 @@ module GoodJob
|
|
224
224
|
queue_name: active_job.queue_name.presence || DEFAULT_QUEUE_NAME,
|
225
225
|
priority: active_job.priority || DEFAULT_PRIORITY,
|
226
226
|
serialized_params: active_job.serialize,
|
227
|
-
scheduled_at: active_job.scheduled_at,
|
228
227
|
}
|
229
|
-
|
228
|
+
execution_args[:scheduled_at] = Time.zone.at(active_job.scheduled_at) if active_job.scheduled_at
|
230
229
|
execution_args[:concurrency_key] = active_job.good_job_concurrency_key if active_job.respond_to?(:good_job_concurrency_key)
|
231
230
|
|
232
231
|
reenqueued_current_execution = CurrentThread.active_job_id && CurrentThread.active_job_id == active_job.job_id
|
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.15.
|
4
|
+
version: 3.15.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Sheldon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|