switchman-inst-jobs 3.0.0 → 3.0.1

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: 7d0284b8288ca18b825002cb7df51b1f4f6469f3f62202d997934a42507f91f4
4
- data.tar.gz: 7a4c11dca853c6d5aad2731f5aa9bc0e0af19cb2be149f9c22e57ebc6fd6e4b9
3
+ metadata.gz: 6b6e79d2594fb10a1337878b1abc8264e532eefdb9d5f9bc100afd91a13c0c56
4
+ data.tar.gz: ca9b4809608570e162fb3882ae26925b8b3524da2a92d4075cefc80bf4b1ec80
5
5
  SHA512:
6
- metadata.gz: e9a126073f7a1904eadf82f265f8c052c9fd5291b05760099f5bbc12dfd8714f4c8f8b2636a9c534568897cac676430b7741b1c36685d5d7c2291568795f9c80
7
- data.tar.gz: f14a7b3ceb47de8c0e9f0b0d8f3a34e73e230259a94430c24c9b429d4be34722e4a7f96b5840c36566cbc054d164e777ed3a5d68e36fe84b184b50b34824646c
6
+ metadata.gz: 7303ce8fc805c1e3b77ba821c09ec23820aa09b2cd769071ef329084f0a2dd96818fe2466b1481991e9d5c86a5c486ecff322560beda8d4b4655bad7823c4444
7
+ data.tar.gz: 5dab7a628aeee0163b1d658581ba50c7a2a2f6295d063d789c7414fda35016835bfcc4fbd3f5515353090b1366f85c07dd18bdb0a44b0b164a329dd50a224f2c
@@ -1,8 +1,9 @@
1
1
  module SwitchmanInstJobs
2
2
  module Delayed
3
3
  module MessageSending
4
- def delay(**enqueue_args)
5
- return self if ::Switchman::DatabaseServer.creating_new_shard
4
+ def delay(public_send: nil, synchronous: false, **enqueue_args)
5
+ public_send ||= __calculate_public_send_for_delay
6
+ synchronous ||= ::Switchman::DatabaseServer.creating_new_shard
6
7
 
7
8
  super
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module SwitchmanInstJobs
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '3.0.1'.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: 3.0.0
4
+ version: 3.0.1
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-10-26 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inst-jobs
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: parallel
29
35
  requirement: !ruby/object:Gem::Requirement