recipiez 0.3.6 → 0.3.7

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.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
  end
data/recipes/apache.rb CHANGED
@@ -21,6 +21,7 @@ Capistrano::Configuration.instance(true).load do
21
21
  _cset :allowed_ips, []
22
22
  _cset :server_aliases, []
23
23
  _cset :ssl_chain, 'none'
24
+ _cset :custom_vars, {}
24
25
 
25
26
  unless exists? :ssl
26
27
  set :ssl, 'off'
@@ -14,6 +14,11 @@ DocumentRoot <%= deploy_to %>/current/public
14
14
  <% if allowed_ips.length > 0 %>
15
15
  Allow from <%= allowed_ips.join(" ") %>
16
16
  <% end %>
17
+ <% if custom_envs %>
18
+ <% custom_envs.each_pair do |key, value| %>
19
+ SetEnv <%= key %> <%= value %>
20
+ <% end %>
21
+ <% end %>
17
22
  Options -Indexes
18
23
  </Directory>
19
24
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 6
10
- version: 0.3.6
9
+ - 7
10
+ version: 0.3.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-21 00:00:00 +02:00
18
+ date: 2012-08-31 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency