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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc8af90d32189d68f067302dc716173d0b930a74479c2b1d4ea65f6e3fd91290
4
- data.tar.gz: b7d8490c48e35489ebdaf9e846ac3111e8b3e6ee65308dc22b9487f865b456bf
3
+ metadata.gz: da02372c664cd6450f33925a3d84be129572092aaed7152719252989ebdc5810
4
+ data.tar.gz: 1d315f9b38ca659dc902e1a95d150d1b23bb2c8c11e48596654ca84a98c970fd
5
5
  SHA512:
6
- metadata.gz: 0f46b899b129f9681237c16785959b6007a00bd96c70d6d4d6414ba68e8f480cd303d0599ad6a0f1ab3f21b4931c0b09f43034e73df409754d41fb8c0aa10101
7
- data.tar.gz: cae2b6f451810b6ac3f5162d0594bd8934b3d5237c1c25894de5adf506b8a9e84cf8fa4934813104758e9a743c8c4082aefd19c615e94a1b093b45cee037cd3f
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
@@ -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.1
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-04 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.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.104.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.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