greenonline_capistrano_recipes 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d095ccd755d1139b027dc6a35ddaef3636c0b19
|
4
|
+
data.tar.gz: fc06eb4ca656f3705bb219f0011cf9d36aeb0cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78022357223fe7c8322bfb0a096cc0bab0003ae67cdf7f0b2ec5317f16a07035865453bfc25f0775c5a75591b5e5204dca6fd02bcba0069a288b74334d45e5ee
|
7
|
+
data.tar.gz: a270192ffccd61ae70cfd19ac6f505df520ea7f20b92bf1ab08f8fc4bc880d3f3c7b8e3b34c711a44764aa23310f22c6bb6ea1ef3c81c7b428fee4c555bce9d2
|
@@ -2,7 +2,7 @@ module Capistrano
|
|
2
2
|
Configuration.instance(true).load do
|
3
3
|
set_default(:ask_confirmation?, false)
|
4
4
|
|
5
|
-
before :
|
5
|
+
before 'deploy:update_code', :deploy_confirmation
|
6
6
|
task :deploy_confirmation do
|
7
7
|
next if !ask_confirmation?
|
8
8
|
set :confirmed, proc {
|
@@ -114,7 +114,7 @@ server {
|
|
114
114
|
# we don't want nginx trying to do something clever with
|
115
115
|
# redirects, we set the Host: header above already.
|
116
116
|
proxy_redirect off;
|
117
|
-
|
117
|
+
proxy_intercept_errors on;
|
118
118
|
proxy_pass http://unicorn_<%= application.downcase %>_<%= stage %>;
|
119
119
|
}
|
120
120
|
|
@@ -172,7 +172,7 @@ server {
|
|
172
172
|
# we don't want nginx trying to do something clever with
|
173
173
|
# redirects, we set the Host: header above already.
|
174
174
|
proxy_redirect off;
|
175
|
-
|
175
|
+
proxy_intercept_errors on;
|
176
176
|
proxy_pass http://unicorn_<%= application.downcase %>_<%= stage %>;
|
177
177
|
}
|
178
178
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greenonline_capistrano_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pieter Visser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|