capistrano-nodejs 0.2.0 → 0.2.1
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/capistrano/nodejs/version.rb +1 -1
- data/lib/capistrano/tasks/nodejs.rake +3 -0
- 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: 22fc2c8788fe9653360b2d7fc3a24916d01f5fa4
|
4
|
+
data.tar.gz: 8dbe668415e7835a6e077607ff02100ed22fc453
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c317fbf3a8912ab9f56a6affc620fe2054d3cacdffcd21dcef99b75f2a4eb0dada6240f9cb2c6808bf0037309c9cef1ebaec50a5fd2a14a9e7132d0bac9b8d
|
7
|
+
data.tar.gz: 76b5623c1896c59925e16def6ac028b1f728ba8877ae6fb78c10c7083b8e55f9543aad0dc9455ab82a004b8febfec8102a97b3256d22759e9deb33d80c1af4bf
|
@@ -47,6 +47,7 @@ end
|
|
47
47
|
|
48
48
|
namespace :deploy do
|
49
49
|
task :start do
|
50
|
+
invoke 'config:set_paths'
|
50
51
|
on roles(:app) do
|
51
52
|
within release_path do
|
52
53
|
execute :forever, "start #{fetch(:forever_script, "./config/forever.json")}"
|
@@ -54,6 +55,7 @@ namespace :deploy do
|
|
54
55
|
end
|
55
56
|
end
|
56
57
|
task :stop do
|
58
|
+
invoke 'config:set_paths'
|
57
59
|
on roles(:app) do
|
58
60
|
within release_path do
|
59
61
|
execute :forever, "stop #{fetch(:forever_script, "./config/forever.json")}"
|
@@ -61,6 +63,7 @@ namespace :deploy do
|
|
61
63
|
end
|
62
64
|
end
|
63
65
|
task :restart do
|
66
|
+
invoke 'config:set_paths'
|
64
67
|
on roles(:app), in: :sequence, wait: 5 do
|
65
68
|
within release_path do
|
66
69
|
execute :forever, "restart #{fetch(:forever_script, "./config/forever.json")}"
|