dark-capistrano-recipes 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 6
3
3
  :build:
4
- :patch: 9
4
+ :patch: 10
5
5
  :major: 0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dark-capistrano-recipes}
8
- s.version = "0.6.9"
8
+ s.version = "0.6.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Phil Misiowiec", "Leonardo Bighetti"]
@@ -61,11 +61,14 @@
61
61
  if (-f $request_filename.html) {
62
62
  rewrite (.*) $1.html break;
63
63
  }
64
-
64
+
65
+
66
+ <% if is_using_unicorn %>
65
67
  if (!-f $request_filename) {
66
68
  proxy_pass http://<%= application %>_app_server;
67
69
  break;
68
70
  }
71
+ <% end %>
69
72
 
70
73
  }
71
74
 
@@ -145,11 +148,13 @@
145
148
  if (-f $request_filename.html) {
146
149
  rewrite (.*) $1.html break;
147
150
  }
148
-
151
+
152
+ <% if is_using_unicorn %>
149
153
  if (!-f $request_filename) {
150
154
  proxy_pass http://<%= application %>_app_ssl;
151
155
  break;
152
156
  }
157
+ <% end %>
153
158
  }
154
159
 
155
160
  error_page 500 502 503 504 /500.html;
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dark-capistrano-recipes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 9
10
- version: 0.6.9
9
+ - 10
10
+ version: 0.6.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phil Misiowiec