card-mod-delayed_job 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/init/late/delayed_job_config.rb +13 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d38f224e3b5fa8decdd95dc5f104cd9d59c9fdf3a1aa4ef6960308413161cd21
|
4
|
+
data.tar.gz: 6cec5a2faef31ef0338e108fbfd3e5937cc3d8f5f79a760a3a50ddfcd2856081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf4721a4d981304f52fba14c1416d445e19258cbb7523b812929f54a0fc24ff5aca88f55c09da0e0c1ab66752ab8805616be6ad23217d61db0a2866d6e065da
|
7
|
+
data.tar.gz: 80a94ca21904a2995fb1b3d58fb7aad12c9e05a4437c7c9e53d1d9ba64f7ea620035d9a82a3f0b6d237bb626e6199aa37d3bc12700ab774f70618f5d955a47c8
|
@@ -0,0 +1,13 @@
|
|
1
|
+
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.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.104.0
|
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.
|
28
|
+
version: 1.104.0
|
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
|
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
104
|
- !ruby/object:Gem::Version
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.2.15
|
107
108
|
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: Background processing with Delayed Job
|