capistrano-websocket-rails 0.1.6 → 0.1.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f7e444133334b48a289f5d88c9d301a7c7c1874
|
4
|
+
data.tar.gz: f35fe7b1da19807d17c9a369d699893377c0d6ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2f5463331c52e0d8aa4342b03b5d302110b5b13947f8a3e518ec7e1a5e329cc48d650489014a19902de57a8addd921ada4c18537c089ef63c5d4fbe7628006e
|
7
|
+
data.tar.gz: f4a40fd5ec39442ec17daf7df8c3d1c970f8cb47f98a53d7df2edb7be9b7dbdf64e64144d5f24f0872bb7bef66c3e8d8a9d324f8e1c80a5744952ac3c096b3bd
|
@@ -6,9 +6,9 @@ namespace :load do
|
|
6
6
|
end
|
7
7
|
|
8
8
|
namespace :deploy do
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
before :starting, :check_websocket_rails_hooks do
|
10
|
+
invoke 'websocket_rails:add_default_hooks' if fetch(:websocket_rails_default_hooks)
|
11
|
+
end
|
12
12
|
after :publishing, :restart_websocket_rails_server do
|
13
13
|
invoke 'websocket_rails:restart_server' if fetch(:websocket_rails_default_hooks)
|
14
14
|
end
|
@@ -38,8 +38,8 @@ namespace :websocket_rails do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
task :add_default_hooks do
|
41
|
-
after 'deploy:updated',
|
42
|
-
after 'deploy:reverted',
|
41
|
+
after 'deploy:updated', 'websocket_rails:stop_server'
|
42
|
+
after 'deploy:reverted', 'websocket_rails:stop_server'
|
43
43
|
after 'deploy:published', 'websocket_rails:start_server'
|
44
44
|
end
|
45
45
|
|