switchman-inst-jobs 4.0.8 → 4.0.9

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: b220157fed7508b8f0412dcb44e31af64ae36f7752d0b9740376c910be115fe6
4
- data.tar.gz: b35f1e9f59dab46393e6ff037f9c05d6b8f107bfd9a811a943865f4334785515
3
+ metadata.gz: c6453b4fb5882411028c48e458ec49ee8dd14686b6baa889053bdc44c0f43ecc
4
+ data.tar.gz: b5883129b65be01ce10acdb373bdd8bcc95c76e8a18eb4326cb2590b71ead518
5
5
  SHA512:
6
- metadata.gz: fda1eb1f28deca4430edf8a37ec4c3b10e5323aa854d5358e887aa971b5f2d4c5ff8660e8e08aee24b850358ed2084c1532d72c053dcccf4bf8f23a565038cd2
7
- data.tar.gz: abf4cf28af1cea47c438ca5215d24dd5aac4978ccd14f3d7f9d9a91f8b1f1bdce05b96c159961c238afd20d4ef9383d51ef40d198c7e9294672716d3123b3b58
6
+ metadata.gz: adc1ed9eb64a227ecbe46f98f92e6b357c595249ad681a4dd3b649fade15b5848ebb4cf15feca35b49ca2c312abe31ef3357941f666be11ad554a1f5cc37892c
7
+ data.tar.gz: f0d8cd82e01d15b698f57417f2b2d88cb0263bbd47cfba167a812158f89a5110e653590b3e125f65c5555e3f580f346bbf5f1de9b0a58cc8f951bd326d348e9e
@@ -35,8 +35,10 @@ module SwitchmanInstJobs
35
35
  enqueue_options[:next_in_strand] = false
36
36
  end
37
37
 
38
- current_job_shard.activate(::Delayed::Backend::ActiveRecord::AbstractJob) do
39
- enqueue_job.call
38
+ current_shard.activate do
39
+ current_job_shard.activate(::Delayed::Backend::ActiveRecord::AbstractJob) do
40
+ enqueue_job.call
41
+ end
40
42
  end
41
43
  end
42
44
  end
@@ -1,3 +1,3 @@
1
1
  module SwitchmanInstJobs
2
- VERSION = '4.0.8'.freeze
2
+ VERSION = '4.0.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman-inst-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.8
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Petty
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2022-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inst-jobs
@@ -288,7 +288,7 @@ dependencies:
288
288
  - - "~>"
289
289
  - !ruby/object:Gem::Version
290
290
  version: '0.21'
291
- description:
291
+ description:
292
292
  email:
293
293
  - bpetty@instructure.com
294
294
  executables: []
@@ -367,7 +367,7 @@ licenses:
367
367
  metadata:
368
368
  allowed_push_host: https://rubygems.org
369
369
  rubygems_mfa_required: 'true'
370
- post_install_message:
370
+ post_install_message:
371
371
  rdoc_options: []
372
372
  require_paths:
373
373
  - lib
@@ -383,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
383
  version: '0'
384
384
  requirements: []
385
385
  rubygems_version: 3.1.6
386
- signing_key:
386
+ signing_key:
387
387
  specification_version: 4
388
388
  summary: Switchman and Instructure Jobs compatibility gem.
389
389
  test_files: []