eye-patch 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/eye/patch/capistrano3.rb +10 -6
- data/lib/eye/patch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c11e3cb58243fb3fe719ad65a75f2bd53b7b7720
|
|
4
|
+
data.tar.gz: 3628d19261823cbba6983ddd349f2bcf1ee075ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c2dba7a3f09f4a8ac4f411948979b32b702d1ba16936aae64e325f04dbb5a70ccea831aaa9773035ddaf73cf15a8edaf9d888dc45893326984847f86b02b119
|
|
7
|
+
data.tar.gz: 3149a9a3e9a427bfc04c8d40765ed52fc87cd7f455077606f2971c67f46c8c143d7cc07a9472930b950473b1f7dca85a555e8fbb1acbecb6abdaa749ec1df7a8
|
|
@@ -28,7 +28,7 @@ namespace :eye do
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
desc "Restart all tasks monitored by eye"
|
|
31
|
-
task :
|
|
31
|
+
task restart: :load_config do
|
|
32
32
|
on roles(fetch(:eye_roles)) do
|
|
33
33
|
within current_path do
|
|
34
34
|
execute "#{fetch(:eye_bin)} r all"
|
|
@@ -38,9 +38,13 @@ namespace :eye do
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
if fetch(:eye_default_hooks, true)
|
|
41
|
-
after
|
|
42
|
-
after
|
|
43
|
-
|
|
44
|
-
end
|
|
41
|
+
after "deploy:stop", "eye:stop"
|
|
42
|
+
after "deploy:start", "eye:load_config"
|
|
43
|
+
after "deploy:publishing", "deploy:restart"
|
|
45
44
|
|
|
46
|
-
|
|
45
|
+
namespace :deploy do
|
|
46
|
+
task :restart do
|
|
47
|
+
invoke "eye:restart"
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
data/lib/eye/patch/version.rb
CHANGED