greenonline_capistrano_recipes 0.0.20 → 0.0.21

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: 8664788005e0853a064bffda6defad17d2aa80bd
4
- data.tar.gz: a40b3a7ec6ced83690e0ddf41330c8aa00bd7bc4
3
+ metadata.gz: b4774ebaa5f7806738d5954d834bc3c20beea5f4
4
+ data.tar.gz: 3e166e38b485a6d25f8e58624e11442df426f961
5
5
  SHA512:
6
- metadata.gz: 2042a3782f4a29238d0fa0a0f96371e03ce5b11e7056928e12e312fec217307bf324253a19e91d7f33ae3592fe9c1576f8a330f14b7d56eeccbfaee6f93b6abf
7
- data.tar.gz: ec5a8f0956cff7a6abbf2fbfc16670b9d24659f2c73a560d70026a02cc2ae55c9af449b184da5ff6e5bca7bdacd9a689effd2d775f2fc6f7b0da63ff812d58b4
6
+ metadata.gz: 40a5b8cb0559bc419f90a387400fff96e5a8199ded22224e2c3ba78316041f91ee4dab7ac3b11aaebfa39dad6d356c0ddee2409e7809fc797f60d031f203e7b7
7
+ data.tar.gz: 329c250cace6a6094c56e5d5afe091ec1d719cc389e4534bb14063be23c8b213768f388d34847ffccb6192e2166d4d71770f8eed5a30fa37f809bbc8b7a7ecb3
@@ -1,5 +1,5 @@
1
1
  module Greenonline
2
2
  module CapistranoRecipes
3
- VERSION = "0.0.20"
3
+ VERSION = "0.0.21"
4
4
  end
5
5
  end
@@ -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
 
@@ -7,7 +7,7 @@ stdout_path "<%= unicorn_log %>"
7
7
 
8
8
  listen "/tmp/unicorn.<%= application.downcase %>.<%= stage %>.sock"
9
9
  worker_processes <%= unicorn_workers %>
10
- timeout 30
10
+ timeout <%= unicorn_timeout %>
11
11
 
12
12
  # Load rails+github.git into the master before forking workers
13
13
  # for super-fast worker spawn times
@@ -7,6 +7,7 @@ module Capistrano
7
7
  set_default(:unicorn_log) { "#{current_path}/log/unicorn.log" }
8
8
  set_default(:unicorn_dependencies) { "" }
9
9
  set_default(:unicorn_workers) { 2 }
10
+ set_default(:unicorn_timeout) { 30 }
10
11
 
11
12
 
12
13
  namespace :unicorn do
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.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pieter Visser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-21 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler