procodile-capistrano 1.0.1 → 1.0.2
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/procodile/capistrano2.rb +4 -0
- data/lib/procodile/capistrano3.rb +1 -3
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d5d29ace1849b58cb3e189fa5702bea5ce27bc0
|
|
4
|
+
data.tar.gz: babc167a8288496e714ab11a725e8a8ed8eb8ca3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|
|
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:
|
|
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:
|