capistrano-rails-server 1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjAxZjY0MGE0YzEyMDA3NzRhMWRlNjQ1YzU1NjNkMWFiNTQ3ODNkMA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NDYyMWNjMmNmMTAyNjg5ZDg2ZmIxZjMwNTk1YmUwOWRkOTQ3ZDVmZA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MWY1NjBkOWI2NTQ4ODdhZmEzZTgwMWE4MTA1M2RkMWNjNGUyYTY4NWU4NzBh
|
|
10
|
+
Njg1ZjhiZTRhNzUwZWM0NjYwYWM1OTdhOGMxMTAxMWUzYTM5OGM2ZjNkMzdm
|
|
11
|
+
ZDExN2Q0NmI5ZDRkMzJlNTZhZWYzZmM2MDk3MWY3ZDU4YmNkYmM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MDFiYmUwOTJiOTI4ZWU1NTNjODZiY2U2MjM4MGU2MjBiMDRmMTMyOWU4ODY4
|
|
14
|
+
NTFiZDgxMDJjZjM4ZmVhOWRlM2I5NmFjYjZkZDAyNjE4MDM0OGVkOGQ4ZGU0
|
|
15
|
+
M2Y1NjAyMjllMmIwNjRjOTVjNWIxNTM4YjYwNThkYzNkYWUzNjE=
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ And then execute:
|
|
|
15
15
|
## Using ##
|
|
16
16
|
|
|
17
17
|
### Prepare your app ###
|
|
18
|
-
Run `$ cap init` in your app folder (details [here](http://
|
|
18
|
+
Run `$ cap init` in your app folder (details [here](http://www.capistranorb.com/documentation/getting-started/preparing-your-application/)).
|
|
19
19
|
|
|
20
20
|
Than include recipes from this gem to your `deploy.conf`:
|
|
21
21
|
|
|
@@ -162,6 +162,8 @@ You can overwrite any of these options in `deploy.conf` file.
|
|
|
162
162
|
|
|
163
163
|
`unicorn_user`
|
|
164
164
|
|
|
165
|
+
`unicorn_env` - production or development
|
|
166
|
+
|
|
165
167
|
`unicorn_pid`
|
|
166
168
|
|
|
167
169
|
`unicorn_config`
|
|
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = 'capistrano-rails-server'
|
|
7
|
-
s.version = '1.
|
|
8
|
-
s.date = '2013-07-
|
|
7
|
+
s.version = '1.2.0'
|
|
8
|
+
s.date = '2013-07-16'
|
|
9
9
|
s.summary = "Capistrano recipes to setup Rbenv, Nginx, Unicorn and Postgresql production environment."
|
|
10
10
|
s.description =
|
|
11
11
|
"That gem includes capistrano recipes to install and configure ROR production development with Rbenv, Nginx, Unicorn and Postgresql."
|
|
@@ -14,7 +14,7 @@ set -e
|
|
|
14
14
|
TIMEOUT=${TIMEOUT-60}
|
|
15
15
|
APP_ROOT=<%= current_path %>
|
|
16
16
|
PID=<%= unicorn_pid %>
|
|
17
|
-
CMD="cd <%= current_path %>; bundle exec unicorn -D -c <%= unicorn_config %> -E
|
|
17
|
+
CMD="cd <%= current_path %>; bundle exec unicorn -D -c <%= unicorn_config %> -E <%= unicorn_env %>"
|
|
18
18
|
AS_USER=<%= unicorn_user %>
|
|
19
19
|
set -u
|
|
20
20
|
|
|
@@ -10,6 +10,7 @@ configuration.load do
|
|
|
10
10
|
set_default(:unicorn_config) { "#{shared_path}/config/unicorn.rb" }
|
|
11
11
|
set_default(:unicorn_log) { "#{shared_path}/log/unicorn.log" }
|
|
12
12
|
set_default(:unicorn_workers, 2)
|
|
13
|
+
set_default(:unicorn_env, "production")
|
|
13
14
|
|
|
14
15
|
namespace :unicorn do
|
|
15
16
|
desc "Setup Unicorn initializer and app configuration"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-rails-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Drakula2k
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|