card-mod-delayed_job 0.13.1 → 0.13.2

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: d87e1888b4f8e0d1b6cc8140036059e80db211e7faf33ffdb19e1d87a3ff70af
4
- data.tar.gz: bdb7f4d1c3dbd444d40f01b44d4ec6d993f4cfc000a388058e87cec311ac1007
3
+ metadata.gz: 533515342bfcf1d6f9955d952886f002ae4205b0e81dc6ee88856ca1e929a947
4
+ data.tar.gz: 83c79cc8ab6e863702b661cb37459ad3b5aa576613ceda6d1dce3356da4f6415
5
5
  SHA512:
6
- metadata.gz: 64fc5c8de8d3c209844a5a7188ed0861ea5d514fd4a3e26f49423bbeedccd991bd588013b74cff2dcbd36aa31dc83f8a21ba86ae0dc6d97dcd79bdc06c6e8421
7
- data.tar.gz: 91e6e9a8b07305f929162d7580174869941e116bc7e1fd5b155218119e04e7f7611ef7c5fab666298b16629f4f575ec2b8e8a3c713494adbf106f12789b90094
6
+ metadata.gz: 1f0d89d3276d28118e95de6349ec2953737d385cfcbb4b2829d3f796adce4ac54a40b8ac0c286f4322d58f429ddc485ca541d7c4d0a2f7567b3f57c55d0c594c
7
+ data.tar.gz: 3dd4d659f31b944257b958b92d72a00fa05742a25d1011f35bbb6fb9c44e8767e97f0e9dff719a979ccda94197428a2616ebbd24146740c96a43de44b3f03aba
@@ -0,0 +1,13 @@
1
+ return unless Cardio.config.active_job.queue_adapter == :delayed_job
2
+
3
+ Cardio.config.tap do |cc|
4
+ cc.delaying = true unless cc.delaying == false
5
+
6
+ Delayed::Worker.tap do |dw|
7
+ dw.delay_jobs = cc.delaying
8
+ dw.max_attempts = 1
9
+ dw.destroy_failed_jobs = false
10
+ end
11
+ end
12
+
13
+ Cardio.extend Cardio::DelayedJob
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-delayed_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.103.1
21
+ version: 1.103.2
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.103.1
28
+ version: 1.103.2
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: daemons
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -76,6 +76,7 @@ extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
78
  - README.md
79
+ - init/late/delayed_job_config.rb
79
80
  - lib/card/mod/delayed_job.rb
80
81
  - lib/cardio/delayed_job.rb
81
82
  homepage: https://decko.org