card-mod-delayed_job 0.11.5 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- metadata +15 -16
- data/config/initializers/delayed_job_config.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 658991f387b93af68b2935c8c103d1466445af37f32fc47376b2047e810d40a9
|
4
|
+
data.tar.gz: 277e73c66c7a8771528945396f48434e9537a828f88b81be11b87fbb59c64dc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47e82d6d8ddc5c421695ce9b5dcd7be1a2628910ec117f2d83352d205fa2aff2cca01b5449219701f1f7397dc2d6ebac3e780f23bef54f1896d20b5b391f3706
|
7
|
+
data.tar.gz: 766113fd2283fad5245c646cc824ecd1c4d2f35224f86aa4ad447122960c4e05df229a8ce95fb8151e4ed817a4faf0594215aeb45db05a70049e46092273a65b
|
data/README.md
CHANGED
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.13.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-08-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.103.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.103.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: daemons
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '1.4'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '1.4'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: delayed_job_active_record
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '4.1'
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - "
|
54
|
+
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '4.1'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: delayed_job_web
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '1.4'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '1.4'
|
71
71
|
description: ''
|
72
72
|
email:
|
73
73
|
- info@decko.org
|
@@ -76,7 +76,6 @@ extensions: []
|
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
78
|
- README.md
|
79
|
-
- config/initializers/delayed_job_config.rb
|
80
79
|
- lib/card/mod/delayed_job.rb
|
81
80
|
- lib/cardio/delayed_job.rb
|
82
81
|
homepage: https://decko.org
|
@@ -104,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
103
|
- !ruby/object:Gem::Version
|
105
104
|
version: '0'
|
106
105
|
requirements: []
|
107
|
-
rubygems_version: 3.1.
|
106
|
+
rubygems_version: 3.1.6
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Background processing with Delayed Job
|
@@ -1,13 +0,0 @@
|
|
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
|