capistrano-buildpack 0.0.12 → 0.0.13
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 +8 -8
- data/lib/capistrano-buildpack/tasks.rb +2 -1
- data/lib/capistrano-buildpack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YmI5M2E3ZTJmYjA2YzhkMzg2OGNmZDYxMGRiYTU2ZTMxOWFjMzBkNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MmU3N2Q2ZmUxNDk2NmYwZjdkOTg5N2U4N2VkYWMwNmU0NTAyNDJiYg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OGQxYmY5OWIzNmQ1MTBlMGEyYmI0M2NhM2I5YWNkMWM2OWU3ZTMwN2E5YmMx
|
|
10
|
+
Y2UyMTU2MDE4MGE1MDQyNDJkN2Q0ODZlN2IxMjYxMGE1M2RjMTAwYmVlOTIz
|
|
11
|
+
YTI5OGY2YjM3MjVlMTU2NWFiMTQwZDhhNWY4YWE5YWVhNTkxMTE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MzBhNDBmZDU2ZDdmYzA0NDBjYTVlMjUyZTA2ZDE4MmYwNTY0ZTY2ZTc5MDA5
|
|
14
|
+
YmYyZTcyZjY2ZTY4YTcwZDdhMWQ4NDA3YTUxNjc1YjkzOTliNzViNDI4ZTAx
|
|
15
|
+
N2Y0MTY0YzY0YmNhZjkyNzM3YmYzMmU3NzEwMjNhZTAwZDllNTY=
|
|
@@ -83,9 +83,10 @@ if Capistrano::Configuration.instance
|
|
|
83
83
|
_force_ssl = exists?(:force_ssl) ? "FORCE_SSL=#{force_ssl}" : ''
|
|
84
84
|
_force_domain = exists?(:force_domain) ? "FORCE_DOMAIN=#{force_domain}" : ''
|
|
85
85
|
_default_server = exists?(:default_server) ? "DEFAULT_SERVER=true" : ''
|
|
86
|
+
_listen_address = exists?(:listen_address) ? "LISTEN_ADDRESS=#{listen_address}" : ''
|
|
86
87
|
|
|
87
88
|
sudo "foreman export #{foreman_export_type} #{foreman_export_path} -d #{release_path} -l /var/log/#{application} -a #{application} -u #{app_user} -p #{base_port} -c #{concurrency}"
|
|
88
|
-
sudo "env #{_use_ssl} #{_ssl_cert_path} #{_ssl_key_path} #{_force_ssl} #{_force_domain} ADDITIONAL_DOMAINS=#{additional_domains.join(',')} #{_default_server} BASE_DOMAIN=$CAPISTRANO:HOST$ nginx-foreman export nginx #{nginx_export_path} -d #{release_path} -l /var/log/apps -a #{application} -u #{app_user} -p #{base_port} -c #{concurrency}"
|
|
89
|
+
sudo "env #{_use_ssl} #{_ssl_cert_path} #{_ssl_key_path} #{_force_ssl} #{_force_domain} #{_listen_address} ADDITIONAL_DOMAINS=#{additional_domains.join(',')} #{_default_server} BASE_DOMAIN=$CAPISTRANO:HOST$ nginx-foreman export nginx #{nginx_export_path} -d #{release_path} -l /var/log/apps -a #{application} -u #{app_user} -p #{base_port} -c #{concurrency}"
|
|
89
90
|
sudo "service #{application} restart || service #{application} start"
|
|
90
91
|
sudo "service nginx reload || service nginx start"
|
|
91
92
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-buildpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pete Keen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-08-
|
|
11
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Deploy 12-factor applications using Capistrano
|
|
14
14
|
email:
|