card-mod-delayed_job 0.14.1 → 0.15.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 +8 -0
- data/lib/card/mod/delayed_job.rb +5 -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: da02372c664cd6450f33925a3d84be129572092aaed7152719252989ebdc5810
|
4
|
+
data.tar.gz: 1d315f9b38ca659dc902e1a95d150d1b23bb2c8c11e48596654ca84a98c970fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 001743a408d877f76628b17e3e6905c69513256682c54749693422f2ff644139f0d33b80e167dd276a4c246875b98d07391dc5e373d7d50aa8d427ae3534689e
|
7
|
+
data.tar.gz: 64e897154caa846c710f6a0bc04eb99589fd593f02c805566bcd2f29ace5def9c8324ee0f037b5088ff8f0cb788d9e15bdcd2b7a9545c1da633cce215ae91923
|
@@ -1,3 +1,6 @@
|
|
1
|
+
require "delayed_job_active_record"
|
2
|
+
require "delayed_job_web"
|
3
|
+
|
1
4
|
Cardio.config.tap do |cc|
|
2
5
|
Delayed::Worker.tap do |dw|
|
3
6
|
dw.delay_jobs = cc.delaying
|
@@ -7,3 +10,8 @@ Cardio.config.tap do |cc|
|
|
7
10
|
end
|
8
11
|
|
9
12
|
Cardio.extend Cardio::DelayedJob
|
13
|
+
|
14
|
+
DelayedJobWeb.use Rack::Auth::Basic do |email, password|
|
15
|
+
account = Card::Auth.authenticate email, password
|
16
|
+
Card::Auth.admin? account&.left_id
|
17
|
+
end
|
data/lib/card/mod/delayed_job.rb
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.15.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:
|
13
|
+
date: 2023-01-04 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.105.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.105.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: daemons
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,6 +89,7 @@ metadata:
|
|
89
89
|
wiki_uri: https://decko.org
|
90
90
|
documentation_url: http://docs.decko.org/
|
91
91
|
card-mod: delayed_job
|
92
|
+
card-mod-group: gem-defaults
|
92
93
|
post_install_message:
|
93
94
|
rdoc_options: []
|
94
95
|
require_paths:
|
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
105
|
- !ruby/object:Gem::Version
|
105
106
|
version: '0'
|
106
107
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
108
|
+
rubygems_version: 3.3.11
|
108
109
|
signing_key:
|
109
110
|
specification_version: 4
|
110
111
|
summary: Background processing with Delayed Job
|