card-mod-delayed_job 0.14.2 → 0.15.0

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: da02372c664cd6450f33925a3d84be129572092aaed7152719252989ebdc5810
4
+ data.tar.gz: 1d315f9b38ca659dc902e1a95d150d1b23bb2c8c11e48596654ca84a98c970fd
5
5
  SHA512:
6
- metadata.gz: f10f99e183136e7bcbd1189afb12e5c5e74d5edce54559339cb1c21cbacf3a72a4c1dc629f5f491eb95ce63f685689b0220c80d7717bbc5310485802c4ee38b3
7
- data.tar.gz: cd473339e1abcdd2bcbb64d66cac99703389e7b80b48aea95c4a9c1cad34861f656af6d66d496e659c9e128c0bc5b77f4c9cd0010bd5748668233e7791fd4aa4
6
+ metadata.gz: 001743a408d877f76628b17e3e6905c69513256682c54749693422f2ff644139f0d33b80e167dd276a4c246875b98d07391dc5e373d7d50aa8d427ae3534689e
7
+ data.tar.gz: 64e897154caa846c710f6a0bc04eb99589fd593f02c805566bcd2f29ace5def9c8324ee0f037b5088ff8f0cb788d9e15bdcd2b7a9545c1da633cce215ae91923
@@ -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.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: 2022-01-08 00:00:00.000000000 Z
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.104.2
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.104.2
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.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