procodile-capistrano 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/procodile/capistrano2.rb +3 -3
- 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: 5466d4a7f16f28fba2d4d0c2251c755892c03898
|
4
|
+
data.tar.gz: 8d732831bb9129332b94e3574c63b7616d545283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfe97e936ebc08156646ebcd73e438487abdf584e9a919a42bf6b37214534277cc9df99e0e487e3e6b6899c4c5185d3dd85c9915851c31b9f9a5428dd7b38415
|
7
|
+
data.tar.gz: 10ab504077d9656e40abb406f2e1091997bf7152409ca91863791b136d135ae5ef4775c92952410b29742ebafb84da603ba2ded52caaa14817adbe21c32c76b9
|
@@ -3,7 +3,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
3
3
|
namespace :procodile do
|
4
4
|
|
5
5
|
task :start, :roles => fetch(:procodile_roles, [:app]) do
|
6
|
-
run procodile_command('start')
|
6
|
+
run procodile_command('start', "--tag #{current_release.split('/').last}")
|
7
7
|
end
|
8
8
|
|
9
9
|
task :stop, :roles => fetch(:procodile_roles, [:app]) do
|
@@ -11,7 +11,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
task :restart, :roles => fetch(:procodile_roles, [:app]) do
|
14
|
-
run procodile_command('restart')
|
14
|
+
run procodile_command('restart', "--tag #{current_release.split('/').last}")
|
15
15
|
end
|
16
16
|
|
17
17
|
task :status, :roles => fetch(:procodile_roles, [:app]) do
|
@@ -27,7 +27,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
27
27
|
if processes = fetch(:processes, nil)
|
28
28
|
options = "-p #{processes} " + options
|
29
29
|
end
|
30
|
-
command = "#{binary} #{command}
|
30
|
+
command = "#{binary} #{command} --root #{current_path} #{options}"
|
31
31
|
if user = fetch(:procodile_user, nil)
|
32
32
|
"sudo -u #{user} #{command}"
|
33
33
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: procodile-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Cooke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Capistrano scripts for deploying applications with Procodile.
|
14
14
|
email:
|