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 +4 -4
- data/lib/sidekiq-runner.rb +4 -2
- data/lib/sidekiq-runner/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: 4ab39cb1000c541dae57dc976f97fc96002d4a57c50c00e7161f8885646ba381
|
4
|
+
data.tar.gz: 03de0934038502d732faaa2761c6b0a05bf03dc316fd0b6222f62fd021861881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68a6a2a2876e21a93007082e5ca3ba60fbf6ee71481e631d09cde639d2d6a357b36339bbcec17289123fccdb8c21297ca43d4ba6333d28b38cb0d7ce6ccf0582
|
7
|
+
data.tar.gz: bc64fedeb29a0152532bbcd6ab7bd9213a36aa812c07cf6e8b4191a699a62828c60bad442f200c0fe73797133eb4b17d4daa61056a1887bf3e25dad5164875da
|
data/lib/sidekiq-runner.rb
CHANGED
@@ -54,8 +54,10 @@ module SidekiqRunner
|
|
54
54
|
|
55
55
|
return unless god_alive?(god_config)
|
56
56
|
|
57
|
-
sidekiq_config
|
58
|
-
|
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
|
|
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.
|
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-
|
11
|
+
date: 2021-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|