switchman-inst-jobs 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/switchman_inst_jobs/switchman/shard.rb +1 -1
- data/lib/switchman_inst_jobs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7507e39f0e9a097dd11cc1389edad14b92d77b959d00deb3cd8610e43b65e042
|
4
|
+
data.tar.gz: 1d6709c61b221f6e1798dfceff1a180507f905a6b398bbd609060fd202c2e8d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e617b32fbda0fdaa7898bfda6b0d399792be12d03be8d0caa82ac9ad1a4bc9c29143dcca1b79de197eb0be637b61d91e9e06350ae264f02fb949baf4df132b3
|
7
|
+
data.tar.gz: 81b00f0665470553ae32bd88304b4e88a5a8ead5e8fc03cf728161715054a85523fb44a3796252e2a136a2cd58477d05ebb27f1cc13634390e17c3dbbee3561d
|
@@ -14,7 +14,7 @@ module SwitchmanInstJobs
|
|
14
14
|
shard = ::Switchman::Shard.lookup(delayed_jobs_shard_id)
|
15
15
|
return shard if shard
|
16
16
|
end
|
17
|
-
database_server&.delayed_jobs_shard(self)
|
17
|
+
@delayed_jobs_shard ||= database_server&.delayed_jobs_shard(self)
|
18
18
|
end
|
19
19
|
|
20
20
|
# Adapted from hold/unhold methods in base delayed jobs base
|
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: 3.0.
|
4
|
+
version: 3.0.5
|
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-11-
|
11
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inst-jobs
|