capistrano-nodejs 0.2.0 → 0.2.1

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: be0a48fb8c7d3428f59df64f0e565ce30c84476d
4
- data.tar.gz: cc2cd3f4d8115cd23890f4932a4f25ac96f2d039
3
+ metadata.gz: 22fc2c8788fe9653360b2d7fc3a24916d01f5fa4
4
+ data.tar.gz: 8dbe668415e7835a6e077607ff02100ed22fc453
5
5
  SHA512:
6
- metadata.gz: 29accd8654c65233ec7dbe1850cab306f84b6bd5a333efce9029117263946cdfbd81acc37cf4e2d10faa3c1bd36fbbac25addc9d5739d92bd7105e6d41285cc6
7
- data.tar.gz: 45a61ad79f48468dedf3024ac4a9c95775e57e08295372f706e882809ca49c9cee47645801ac9d34725fa3069aa4de7f1d55474894554bc1de2ea2cd70d4a483
6
+ metadata.gz: a5c317fbf3a8912ab9f56a6affc620fe2054d3cacdffcd21dcef99b75f2a4eb0dada6240f9cb2c6808bf0037309c9cef1ebaec50a5fd2a14a9e7132d0bac9b8d
7
+ data.tar.gz: 76b5623c1896c59925e16def6ac028b1f728ba8877ae6fb78c10c7083b8e55f9543aad0dc9455ab82a004b8febfec8102a97b3256d22759e9deb33d80c1af4bf
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module NodeJS
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -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")}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nodejs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ranndom