magic_recipes_two 0.0.13 → 0.0.14

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: 94e1f5bdfca3aa4d11b809888ad4dd172d656021
4
- data.tar.gz: a1131f67b8dee1bddc8bf2d173473430bd080f46
3
+ metadata.gz: c0e692f2c70b3198d0807baa2219fc8fb3329749
4
+ data.tar.gz: 6c2a860bb1e49c17a5f6e9277a0e7b09e73dfb71
5
5
  SHA512:
6
- metadata.gz: f1f6f96470f2bf7ff51aca673a5fe9f46afb280138523cac98a74c0b864d7b9951e8f004984bccf9307ad4ce00506372680e5faa8a48c91ffe6d90094676388a
7
- data.tar.gz: af3290d52e3fba3ed33af4377ed7a16d6136d48d6e2502c0b90256fcdb8d27eb0b67f2992420a67bb0b398799112c906f97ff7f69e8dcea04cd0abb1a6cacf49
6
+ metadata.gz: da91a6d3326ee93e7b14503a5a25886a2fa7f7659db501e8dea38a49d11ad52f4a202aa43db2fc43f2d057b61e5e9cd1d4646c3587fa5fded31026f33760defa
7
+ data.tar.gz: 753eb37f0b170fd94f4d4a2d687f8ff2f6a0b34cbeda59a5c61decdc75fa34eb1da240843cad696866b35af3ab7865be99d1b7086f18d9a0efca754baa66d190
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MagicRecipes
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
4
4
  end
5
5
  end
@@ -3,13 +3,21 @@ include Capistrano::MagicRecipes::BaseHelpers
3
3
 
4
4
  namespace :load do
5
5
  task :defaults do
6
- set :thin_path, -> { '/etc/thin' }
7
- set :thin_roles, -> { :web }
6
+
7
+ set :thin_path, -> { '/etc/thin' }
8
+ set :thin_roles, -> { :web }
9
+
10
+ set :thin_timeout, -> { 30 }
11
+ set :thin_max_conns, -> { 1024 }
12
+ set :thin_max_persistent_conns, -> { 512 }
13
+ set :thin_require, -> { [] }
14
+ set :thin_wait, -> { 90 }
15
+ set :thin_onebyone, -> { true }
16
+
8
17
  end
9
18
  end
10
19
 
11
20
 
12
-
13
21
  namespace :thin do
14
22
 
15
23
 
@@ -3,17 +3,17 @@ adapter: rails
3
3
  chdir: <%= current_path %>
4
4
  environment: <%= fetch(:rails_env) %>
5
5
  rackup: <%= current_path %>/config.ru
6
- timeout: 30
6
+ timeout: <%= fetch(:thin_timeout) %>
7
7
  # address: 127.0.0.1
8
8
  # port: 4000
9
9
  log: <%= deploy_to %>/shared/log/thin_<%= fetch(:application) %>_<%= fetch(:stage) %>.log
10
10
  pid: <%= deploy_to %>/shared/pids/thin_<%= fetch(:application) %>_<%= fetch(:stage) %>.pid
11
- max_conns: 1024
12
- max_persistent_conns: 512
13
- require: []
14
- wait: 90
11
+ max_conns: <%= fetch(:thin_max_conns) %>
12
+ max_persistent_conns: <%= fetch(:thin_max_persistent_conns) %>
13
+ require: <%= fetch(:thin_require) %>
14
+ wait: <%= fetch(:thin_wait) %>
15
15
  servers: <%= fetch(:app_instances) %>
16
16
  # user: <%= fetch(:user) %>
17
17
  socket: /tmp/thin.<%= fetch(:application) %>.<%= fetch(:stage) %>.sock
18
18
  daemonize: true
19
- onebyone: true
19
+ onebyone: <%= fetch(:thin_onebyone) %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes_two
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -151,7 +151,6 @@ files:
151
151
  - lib/generators/capistrano/magic_recipes/templates/postgresql.yml.erb
152
152
  - lib/generators/capistrano/magic_recipes/templates/secrets_yml.erb
153
153
  - lib/generators/capistrano/magic_recipes/templates/thin_app_yml.erb
154
- - lib/magic_recipes_two/version.rb
155
154
  - lib/magic_recipes_two.rb
156
155
  - lib/tasks/magic_recipes_two_tasks.rake
157
156
  - MIT-LICENSE
@@ -1,3 +0,0 @@
1
- module MagicRecipesTwo
2
- VERSION = "0.0.1"
3
- end