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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmI5ODlkZWIyMjc0NTk2Njk3Zjc2MTBkOGNiMGM0ZDI1N2I2OTU1Mg==
4
+ YmI5M2E3ZTJmYjA2YzhkMzg2OGNmZDYxMGRiYTU2ZTMxOWFjMzBkNQ==
5
5
  data.tar.gz: !binary |-
6
- OWIwYjMzOTg2NmQ3YmZmYTZlOGI5MGEyNTg5NTVlNTJhNGUwN2I1ZA==
6
+ MmU3N2Q2ZmUxNDk2NmYwZjdkOTg5N2U4N2VkYWMwNmU0NTAyNDJiYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjIzNTZjMjYwZjMzZDU4Y2ViZDNiMzIyYjhhZGRmYTIwM2QyNjIyNjA4ZDAw
10
- ZTU5YWUyNDE1MTlkOWE4NTM3YWQ0ZTQzN2Q1ZjA0OGUxMDg2NDAyN2I4NTFj
11
- NGY1MzE3MzQwN2JlYWE3MDY2M2RiMThjZGRhZDU0ZDUxNjVjOTU=
9
+ OGQxYmY5OWIzNmQ1MTBlMGEyYmI0M2NhM2I5YWNkMWM2OWU3ZTMwN2E5YmMx
10
+ Y2UyMTU2MDE4MGE1MDQyNDJkN2Q0ODZlN2IxMjYxMGE1M2RjMTAwYmVlOTIz
11
+ YTI5OGY2YjM3MjVlMTU2NWFiMTQwZDhhNWY4YWE5YWVhNTkxMTE=
12
12
  data.tar.gz: !binary |-
13
- OTllYjdjNDE2NzEwNGI5N2NjMjc4NTUwODNlZjk4ZWUwYTFmZDU4ZWI1Zjcy
14
- NjMwY2IyYTBjNzdiMDViYTYxOTFmZGVmOGU0YWMyMWE2OGVjMmY3YWM3N2My
15
- YmM2YmVmMDMzMGY2NTU1OTJmOGU0NmYyOGZhNWVjMzU0ZjU3M2Q=
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Buildpack
3
- VERSION = "0.0.12"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  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.12
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-02 00:00:00.000000000 Z
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: