chained_job 0.2.0 → 0.2.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/lib/chained_job/start_chains.rb +8 -0
- data/lib/chained_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: e59d24afbe0706189e4aa949ddfd933362169d2a8e46373215d90819d45b682e
|
4
|
+
data.tar.gz: 9c8e01d6e4cb6dc4bf1b16caaa9ee05c41f918dba948869f81e4baa710da67ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8630ff6f668a721122208a3598ea62afb2d1693927997565ca35fef8dcc46a239c973cc9cfa5e164c372628486330d815b7c6dc0cacfbfd40cc15892af08c2
|
7
|
+
data.tar.gz: cf03d517b71d0896772062a7f1319b0ad66cd3b125eea56fd1a89da6f2346eb7f78798924d40eedca723f8e512cf84b94f00f38c1d64c89a2949a03e2c71ba35
|
@@ -21,6 +21,8 @@ module ChainedJob
|
|
21
21
|
# rubocop:disable Metrics/AbcSize
|
22
22
|
def run
|
23
23
|
with_hooks do
|
24
|
+
log_chained_job_cleanup
|
25
|
+
|
24
26
|
ChainedJob::CleanUpQueue.run(job_class)
|
25
27
|
|
26
28
|
next unless array_of_job_arguments.count.positive?
|
@@ -58,5 +60,11 @@ module ChainedJob
|
|
58
60
|
"processing #{array_of_job_arguments.count} items"
|
59
61
|
)
|
60
62
|
end
|
63
|
+
|
64
|
+
def log_chained_job_cleanup
|
65
|
+
ChainedJob.logger.info(
|
66
|
+
"#{job_class}:#{job_tag} cleanup"
|
67
|
+
)
|
68
|
+
end
|
61
69
|
end
|
62
70
|
end
|
data/lib/chained_job/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chained_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mantas Kūjalis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|