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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/procodile/capistrano2.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e3dcad918d07063d0a7834ce31ece77e5eff6aa
4
- data.tar.gz: b43747443ef1323b579d3cc3f42266bd5ebf160c
3
+ metadata.gz: 5466d4a7f16f28fba2d4d0c2251c755892c03898
4
+ data.tar.gz: 8d732831bb9129332b94e3574c63b7616d545283
5
5
  SHA512:
6
- metadata.gz: ed305e8637dccf5c75774fc395fa9ee588c6b5a34314c75b7a82f690825939990bc309d12558b3f84f40c38e294ef7ad1febb9863bb8b9a9315d950e55a58aff
7
- data.tar.gz: 27cfaf47827f99513f2626fd1211425b1233a3c8fc18f2f49c17a3704f5f69346a59293f7d723064d88f8b13643bc027c4bdc1f6b5f5cee77b4f97e4ff56d57c
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} -r #{current_path} #{options}"
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.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-18 00:00:00.000000000 Z
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: