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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92912f23395bcb37822853d829d1858a2de4bb70fbe69d9d9462a8b34ff932bd
4
- data.tar.gz: fffc1dfa52b345ef0070953ff0d1fd30e3781ef51c9996c2ce494279b11eef5f
3
+ metadata.gz: abe0abc19ac84d0edc74f56e1d4eb46dbe4c6878c5779ac0769d3eab502e09d1
4
+ data.tar.gz: 843a22f69953a9f3e889946a91e44d940aec4048825c6d24c9b9cdfe2c04c8d4
5
5
  SHA512:
6
- metadata.gz: f10f99e183136e7bcbd1189afb12e5c5e74d5edce54559339cb1c21cbacf3a72a4c1dc629f5f491eb95ce63f685689b0220c80d7717bbc5310485802c4ee38b3
7
- data.tar.gz: cd473339e1abcdd2bcbb64d66cac99703389e7b80b48aea95c4a9c1cad34861f656af6d66d496e659c9e128c0bc5b77f4c9cd0010bd5748668233e7791fd4aa4
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
@@ -1 +1,6 @@
1
1
  require "delayed_job_active_record"
2
+
3
+ Cardio::Railtie.config.tap do |config|
4
+ config.delaying = false
5
+ config.active_job.queue_adapter = :delayed_job
6
+ end
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.14.2
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: 2022-01-08 00:00:00.000000000 Z
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.104.2
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.104.2
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
- - init/late/delayed_job_config.rb
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.2.15
108
+ rubygems_version: 3.3.11
108
109
  signing_key:
109
110
  specification_version: 4
110
111
  summary: Background processing with Delayed Job