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: 66d9c126eb6937582e34864e36a92dc181bf2d07
4
- data.tar.gz: f57e2421ee6ca18678902f6d456848f74ff1b9aa
3
+ metadata.gz: 1d095ccd755d1139b027dc6a35ddaef3636c0b19
4
+ data.tar.gz: fc06eb4ca656f3705bb219f0011cf9d36aeb0cfd
5
5
  SHA512:
6
- metadata.gz: 007573b0215962373bd2bd3b19f0d9b2edb74361b880afcee93db2f77341408f20c97e1b32b5a323d0bcfe92b624ba575f9cf8f691b828d1f433bb33f5fb1d61
7
- data.tar.gz: e363c7dda49786fe3e642a5d874252181c825f493d299d2b87af83a248c7a1bdf826154877af6739c9424ff2d81ae943bc1cbc43d62946dce16973a06c656d29
6
+ metadata.gz: 78022357223fe7c8322bfb0a096cc0bab0003ae67cdf7f0b2ec5317f16a07035865453bfc25f0775c5a75591b5e5204dca6fd02bcba0069a288b74334d45e5ee
7
+ data.tar.gz: a270192ffccd61ae70cfd19ac6f505df520ea7f20b92bf1ab08f8fc4bc880d3f3c7b8e3b34c711a44764aa23310f22c6bb6ea1ef3c81c7b428fee4c555bce9d2
@@ -1,5 +1,5 @@
1
1
  module Greenonline
2
2
  module CapistranoRecipes
3
- VERSION = "0.0.23"
3
+ VERSION = "0.0.24"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ module Capistrano
2
2
  Configuration.instance(true).load do
3
3
  set_default(:ask_confirmation?, false)
4
4
 
5
- before :deploy, :deploy_confirmation
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.23
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-01-21 00:00:00.000000000 Z
11
+ date: 2015-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler