kapify 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6364d3b26aed22d1a3f66879532e670b06604984
4
+ data.tar.gz: e048fbc937b08a80be97405ec8e9ab0f87efc31e
5
+ SHA512:
6
+ metadata.gz: a03aae7fb043d13c50a2bed7bc28796887865bca1dc2ffe36e9f447209a2fb85d9d28608be7692b25413d379931bab931dc98bcda7ffbc9bb8b3a0b5a64e76fc
7
+ data.tar.gz: c83ab85d70b990a345f55e2a1eee0863e2cdb63c7e53a628bca24366061eebbca6971b31542bc4001ab02983ef840669653d1e9f8486cf8a85170bf0fc2ae548
@@ -5,7 +5,8 @@ upstream <%= application %> {
5
5
  <% if nginx_use_ssl %>
6
6
  server {
7
7
  listen 80;
8
- rewrite ^(.*) https://$host$1 permanent;
8
+ server_name <%= nginx_server_name %>;
9
+ rewrite ^(.*) https://$server_name$1 permanent;
9
10
  }
10
11
  <% end %>
11
12
 
@@ -22,6 +22,7 @@ USER="<%= resque_user %>"
22
22
  GROUP="<%= resque_user %>"
23
23
  ENVIRONMENT="<%= rails_env %>"
24
24
  QUEUES="<%= resque_queue %>"
25
+ INTERVAL="<%= resque_interval %>"
25
26
  COUNT=<%= resque_workers %>
26
27
  TASK="<%= resque_task %>"
27
28
  PIDFILE="$ROOT/tmp/pids/resque_worker.%d.pid"
@@ -37,7 +38,7 @@ local options
37
38
 
38
39
  program=$BUNDLE
39
40
  options="exec rake $TASK"
40
- options="$options RACK_ENV=$ENVIRONMENT QUEUES=$QUEUES NEWRELIC_DISPATCHER=resque"
41
+ options="$options RACK_ENV=$ENVIRONMENT INTERVAL=$INTERVAL QUEUES=$QUEUES NEWRELIC_DISPATCHER=resque"
41
42
 
42
43
  for i in $(seq 1 $COUNT); do
43
44
  pidfile=$(printf "$PIDFILE" $i)
@@ -5,6 +5,7 @@ Capistrano::Configuration.instance.load do
5
5
  set_default(:resque_user) { user }
6
6
  set_default(:resque_workers) { 2 }
7
7
  set_default(:resque_queue) { "*" }
8
+ set_default(:resque_interval) { 5 }
8
9
  set_default(:resque_task) { "environment resque:work" }
9
10
  set_default(:rbenv_install_path) { "/usr/local/rbenv" }
10
11
 
@@ -1,3 +1,3 @@
1
1
  module Kapify
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,48 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
5
- prerelease:
4
+ version: 0.0.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ivan Tkalin
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-28 00:00:00.000000000 Z
11
+ date: 2013-07-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
- type: :runtime
17
15
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
16
  requirements:
20
- - - ! '>='
17
+ - - '>='
21
18
  - !ruby/object:Gem::Version
22
19
  version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
- none: false
25
23
  requirements:
26
- - - ! '>='
24
+ - - '>='
27
25
  - !ruby/object:Gem::Version
28
26
  version: '2.0'
29
- prerelease: false
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
- type: :development
33
29
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
30
  requirements:
36
- - - ! '>='
31
+ - - '>='
37
32
  - !ruby/object:Gem::Version
38
33
  version: '0'
34
+ type: :development
35
+ prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
- none: false
41
37
  requirements:
42
- - - ! '>='
38
+ - - '>='
43
39
  - !ruby/object:Gem::Version
44
40
  version: '0'
45
- prerelease: false
46
41
  description: Capistrano recipes useful for rails app deployment. Includes repices
47
42
  for nginx, unicorn, postgres, logrotate, resque
48
43
  email:
@@ -94,32 +89,25 @@ files:
94
89
  - lib/kapify/version.rb
95
90
  homepage: https://github.com/ivalkeen/kapify
96
91
  licenses: []
92
+ metadata: {}
97
93
  post_install_message:
98
94
  rdoc_options: []
99
95
  require_paths:
100
96
  - lib
101
97
  required_ruby_version: !ruby/object:Gem::Requirement
102
- none: false
103
98
  requirements:
104
- - - ! '>='
99
+ - - '>='
105
100
  - !ruby/object:Gem::Version
106
101
  version: '0'
107
- segments:
108
- - 0
109
- hash: -3028142537426582318
110
102
  required_rubygems_version: !ruby/object:Gem::Requirement
111
- none: false
112
103
  requirements:
113
- - - ! '>='
104
+ - - '>='
114
105
  - !ruby/object:Gem::Version
115
106
  version: '0'
116
- segments:
117
- - 0
118
- hash: -3028142537426582318
119
107
  requirements: []
120
108
  rubyforge_project:
121
- rubygems_version: 1.8.23
109
+ rubygems_version: 2.0.2
122
110
  signing_key:
123
- specification_version: 3
111
+ specification_version: 4
124
112
  summary: Capistrano recipes useful for rails app deployment
125
113
  test_files: []