switchman-inst-jobs 1.5.1 → 1.5.2

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: ce47b09551ccb65d58da3f01b597ae32423282c1f74ba28f57cdc46a47aeb9cf
4
- data.tar.gz: 137d3b0de54521971d62d94d33cfb4feaa1751cbb1520781397827f0ca8228be
3
+ metadata.gz: 99fc38ce3e38711c3ebb2d35f6e6eccb62f5d9388e6fbec9b9ba40830b3b4df7
4
+ data.tar.gz: 12501153af5a11a2c4d958cbe60d2185d684d92794081b1bbffe6f3394a6b257
5
5
  SHA512:
6
- metadata.gz: f6df832cc871c8cb2ca0fc1c40740fbda65a98b1e815b8228b1cac2ce9599846da95c0068f68eab800116258ddc4baa028f7290374a8b852a8a84a1d11298ad5
7
- data.tar.gz: ce795c604d25ad649e55acfeb3762bdd60f5418cdf48fbe3544bdd01310d7fffc6246b8146e011f4e58e94c06e130c096452add76a29c1a4210981378719849e
6
+ metadata.gz: 236773fe9bc45914fc1e78fe45ba8e16793259a93c2e58fe3a6603d04f03d4a748c8fd51171bbcb1440dd39e56a5b016bf9864668f540b8322f2b7f354ae68fa
7
+ data.tar.gz: 42d222e8d2660833010b731295cf76984e5e8cff9097c911260ab4ea0491771088685f73c0a9e05d335a38af79efdf34ad71296f7017297cdd9d382f8163f2e9
@@ -29,15 +29,15 @@ module SwitchmanInstJobs
29
29
  else
30
30
  ::Switchman::Shard.default.activate do
31
31
  current_shard = ::Switchman::Shard.lookup(current_shard.id)
32
- current_job_shard = current_shard.delayed_jobs_shard
32
+ end
33
+ current_job_shard = current_shard.delayed_jobs_shard
33
34
 
34
- if (options[:singleton] || options[:strand]) && current_shard.block_stranded
35
- enqueue_options[:next_in_strand] = false
36
- end
35
+ if (options[:singleton] || options[:strand]) && current_shard.block_stranded
36
+ enqueue_options[:next_in_strand] = false
37
+ end
37
38
 
38
- current_job_shard.activate(:delayed_jobs) do
39
- enqueue_job.call
40
- end
39
+ current_job_shard.activate(:delayed_jobs) do
40
+ enqueue_job.call
41
41
  end
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module SwitchmanInstJobs
2
- VERSION = '1.5.1'.freeze
2
+ VERSION = '1.5.2'.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: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Petty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inst-jobs