procodile-capistrano 1.0.1 → 1.0.2

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: 5466d4a7f16f28fba2d4d0c2251c755892c03898
4
- data.tar.gz: 8d732831bb9129332b94e3574c63b7616d545283
3
+ metadata.gz: 8d5d29ace1849b58cb3e189fa5702bea5ce27bc0
4
+ data.tar.gz: babc167a8288496e714ab11a725e8a8ed8eb8ca3
5
5
  SHA512:
6
- metadata.gz: bfe97e936ebc08156646ebcd73e438487abdf584e9a919a42bf6b37214534277cc9df99e0e487e3e6b6899c4c5185d3dd85c9915851c31b9f9a5428dd7b38415
7
- data.tar.gz: 10ab504077d9656e40abb406f2e1091997bf7152409ca91863791b136d135ae5ef4775c92952410b29742ebafb84da603ba2ded52caaa14817adbe21c32c76b9
6
+ metadata.gz: 2bbbd3ac608c51a8764367d5c57a8fda83a1a5d1de4b4d4c064e9911cd7a97f2171b2a2816f96bf8fb91e61e7f08a9377147572961466b5568ac09072506fb90
7
+ data.tar.gz: 8c47d5b8d9b3771bf2c1aa7fcf9cab58885f761e083e50968ac6883b4b028cb87a321315b91a7ec645ea213206791b57201c5e4e41e92e28c24f08ce9223c54c
@@ -27,6 +27,10 @@ Capistrano::Configuration.instance(:must_exist).load do
27
27
  if processes = fetch(:processes, nil)
28
28
  options = "-p #{processes} " + options
29
29
  end
30
+
31
+ if procfile = fetch(:procodile_procfile, nil)
32
+ options = "--procfile #{procfile} " + options
33
+ end
30
34
  command = "#{binary} #{command} --root #{current_path} #{options}"
31
35
  if user = fetch(:procodile_user, nil)
32
36
  "sudo -u #{user} #{command}"
@@ -20,9 +20,7 @@ namespace :procodile do
20
20
  end
21
21
  end
22
22
 
23
- after 'deploy:start', "procodile:start"
24
- after 'deploy:stop', "procodile:stop"
25
- after 'deploy:restart', "procodile:restart"
23
+ after 'deploy:finished', "procodile:restart"
26
24
 
27
25
  def procodile_command(command, options = "")
28
26
  binary = fetch(:procodile_binary, 'procodile')
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.1
4
+ version: 1.0.2
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-20 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Capistrano scripts for deploying applications with Procodile.
14
14
  email:
@@ -44,3 +44,4 @@ signing_key:
44
44
  specification_version: 4
45
45
  summary: Capistrano scripts for deploying applications with Procodile.
46
46
  test_files: []
47
+ has_rdoc: