chained_job 0.2.0 → 0.2.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: 21a653ae3a0eaaf596d741a3208b4aee1a7d297700e1d506c7005bf7cd529618
4
- data.tar.gz: 03ab75c95d0610a9f192d3f6f7bfc7eeac516f641b4bbc32730ac45d1710f3bc
3
+ metadata.gz: e59d24afbe0706189e4aa949ddfd933362169d2a8e46373215d90819d45b682e
4
+ data.tar.gz: 9c8e01d6e4cb6dc4bf1b16caaa9ee05c41f918dba948869f81e4baa710da67ef
5
5
  SHA512:
6
- metadata.gz: fb6be468a09e6824fb2dd21fd8aa8029790a63c145d9f5048b5c29dea2632e85e6b6ebcfb29558e7504982a4ad48261140e6b96b3b8e4ef55726d58a18ed58c0
7
- data.tar.gz: 75a1aefe58b764b69d05514bfa47209ec4ff9d3f743379301841d132e15fc60c34f6254e0fae7dfacbca393c973f4ad2809dffcfb5a7041a42e62d3155a95857
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChainedJob
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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-07-22 00:00:00.000000000 Z
12
+ date: 2020-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler