capistrano-sidekiq 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/capistrano/sidekiq/version.rb +1 -1
- data/lib/capistrano/tasks/sidekiq.rake +2 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de33c4866848767330e460a97d79f5f1d893a097
|
4
|
+
data.tar.gz: 66c5d04a7c20407109c58d94f9ec753aae609f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6e2fb6a18bdeefcc701b4117f98a526f8b2480e2aa9c06aa2aa9fc8dcf593a427724a2daefe65e2eb880c2d6e15b321f9bc05cd7de5bdbda406274959499ba4
|
7
|
+
data.tar.gz: 8e03edcb511a08082e157e07622ecbb49068d205a8715b6debb019df8f757bf8ea771fc511cf239daab109a40028888bda2d09cf08eb64d90d73494edaa4977a
|
data/CHANGELOG.md
CHANGED
@@ -27,20 +27,14 @@ namespace :deploy do
|
|
27
27
|
before :starting, :check_sidekiq_hooks do
|
28
28
|
invoke 'sidekiq:add_default_hooks' if fetch(:sidekiq_default_hooks)
|
29
29
|
end
|
30
|
-
after :publishing, :restart_sidekiq do
|
31
|
-
invoke 'sidekiq:restart' if fetch(:sidekiq_default_hooks)
|
32
|
-
end
|
33
|
-
after :failed, :restart_sidekiq do
|
34
|
-
invoke 'sidekiq:restart' if fetch(:sidekiq_default_hooks)
|
35
|
-
end
|
36
30
|
end
|
37
31
|
|
38
32
|
namespace :sidekiq do
|
39
33
|
task :add_default_hooks do
|
40
34
|
after 'deploy:starting', 'sidekiq:quiet'
|
41
35
|
after 'deploy:updated', 'sidekiq:stop'
|
42
|
-
after 'deploy:reverted', 'sidekiq:stop'
|
43
36
|
after 'deploy:published', 'sidekiq:start'
|
37
|
+
after 'deploy:failed', 'sidekiq:restart'
|
44
38
|
end
|
45
39
|
|
46
40
|
desc 'Quiet sidekiq (stop fetching new tasks from Redis)'
|
@@ -104,7 +98,7 @@ namespace :sidekiq do
|
|
104
98
|
desc 'Restart sidekiq'
|
105
99
|
task :restart do
|
106
100
|
invoke! 'sidekiq:stop'
|
107
|
-
invoke 'sidekiq:start'
|
101
|
+
invoke! 'sidekiq:start'
|
108
102
|
end
|
109
103
|
|
110
104
|
desc 'Rolling-restart sidekiq'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|