card-mod-delayed_job 0.14.2 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{init → config}/late/delayed_job_config.rb +6 -0
- data/lib/card/mod/delayed_job.rb +5 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe0abc19ac84d0edc74f56e1d4eb46dbe4c6878c5779ac0769d3eab502e09d1
|
4
|
+
data.tar.gz: 843a22f69953a9f3e889946a91e44d940aec4048825c6d24c9b9cdfe2c04c8d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b419eb14f655b3a30040aba2708c7c10b0f118047a2b4f5a3e004ccc8e9b715f69c059758b2813e11da8f59244a2b5fe545dc99e544fee5c44127ac7795e2f2
|
7
|
+
data.tar.gz: 5d563ecd407cbc4cd5f1c2eba5e0527aa850e32338dbb5bc93d7b1b94809614d1c6f2ac5b885c68f832be0bcea308d982d720c735ad3111c80cd74a9119faae5
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require "delayed_job_active_record"
|
2
|
+
require "delayed_job_web"
|
2
3
|
|
3
4
|
Cardio.config.tap do |cc|
|
4
5
|
Delayed::Worker.tap do |dw|
|
@@ -9,3 +10,8 @@ Cardio.config.tap do |cc|
|
|
9
10
|
end
|
10
11
|
|
11
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.1
|
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-03-29 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.1
|
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.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: daemons
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ extensions: []
|
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
78
|
- README.md
|
79
|
-
-
|
79
|
+
- config/late/delayed_job_config.rb
|
80
80
|
- lib/card/mod/delayed_job.rb
|
81
81
|
- lib/cardio/delayed_job.rb
|
82
82
|
homepage: https://decko.org
|
@@ -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
|