sidekiq-runner 0.2.1 → 0.2.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: f1e949ab41ecd2f73ccc9e85385d55f9f3ff628fa8bb8f394e6b03adbe4c99ed
4
- data.tar.gz: 4414b3247310b053ca7794cbe904f53ede34fbc29bb57a540097e6721cbd1cc9
3
+ metadata.gz: 4ab39cb1000c541dae57dc976f97fc96002d4a57c50c00e7161f8885646ba381
4
+ data.tar.gz: 03de0934038502d732faaa2761c6b0a05bf03dc316fd0b6222f62fd021861881
5
5
  SHA512:
6
- metadata.gz: d6d2338d2396c0472603fbf456088afa8199379702e86333aa481ad07651eb4fb294248975a2c096e235e22e6bc24968e2d454423c000d1c1f620c9ed67f9c75
7
- data.tar.gz: c7b8f252bf491f272e118399bf95ae58f93293b321ce35e54dd8e7a7c894706ca0281391a9f779bad7d1de8a52157266d242eddc5cd1cff8f2c73c69163e9ed9
6
+ metadata.gz: 68a6a2a2876e21a93007082e5ca3ba60fbf6ee71481e631d09cde639d2d6a357b36339bbcec17289123fccdb8c21297ca43d4ba6333d28b38cb0d7ce6ccf0582
7
+ data.tar.gz: bc64fedeb29a0152532bbcd6ab7bd9213a36aa812c07cf6e8b4191a699a62828c60bad442f200c0fe73797133eb4b17d4daa61056a1887bf3e25dad5164875da
@@ -54,8 +54,10 @@ module SidekiqRunner
54
54
 
55
55
  return unless god_alive?(god_config)
56
56
 
57
- sidekiq_config.each_key do |name|
58
- God::CLI::Command.new('restart', god_config.options, ['', name]) if sidekiq_instances.empty? || sidekiq_instances.include?(name.to_sym)
57
+ run(:restart, sidekiq_config, god_config) do
58
+ sidekiq_config.each_key do |name|
59
+ God::CLI::Command.new('restart', god_config.options, ['', name]) if sidekiq_instances.empty? || sidekiq_instances.include?(name.to_sym)
60
+ end
59
61
  end
60
62
  end
61
63
 
@@ -1,3 +1,3 @@
1
1
  module SidekiqRunner
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FlavourSys Technology GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake