capistrano3-unicorn 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +4 -0
- data/capistrano3-unicorn.gemspec +1 -1
- data/lib/capistrano3/tasks/unicorn.rake +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9243f7cec54d9268c6ee2eb060f7f3ccece5577
|
4
|
+
data.tar.gz: 69ea621ee02faab6841c176478e19d7666c2af96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a55237b7a30a94b38c655bd9312b4e37cbaa11438c9fb6766a791546fed632df2af64d22d5d8ed1be8329bd01e250dec8d59a0d5bec591ca9dd71e0126314cdc
|
7
|
+
data.tar.gz: f911bfe7035cafe0db9f035bf90893d609a6f1173e34013a6d8943f7603b3e6c2ba72aa842f069a223d91fa01a3e59f59bf1b93088b9a4a70a511c247743bddc
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -30,6 +30,10 @@ You can override the defaults by `set :unicorn_example, value` in the `config/de
|
|
30
30
|
|
31
31
|
Roles to run unicorn commands on. Defaults to :app
|
32
32
|
|
33
|
+
- `:unicorn_options`
|
34
|
+
|
35
|
+
Set any additional options to be passed to unicorn on startup. Defaults to none
|
36
|
+
|
33
37
|
### Setup
|
34
38
|
|
35
39
|
Add the library to your `Gemfile`:
|
data/capistrano3-unicorn.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "capistrano3-unicorn"
|
6
|
-
gem.version = '0.0.
|
6
|
+
gem.version = '0.0.5'
|
7
7
|
gem.authors = ["Matthew Lineen"]
|
8
8
|
gem.email = ["matthew@lineen.com"]
|
9
9
|
gem.description = "Unicorn specific Capistrano tasks"
|
@@ -4,6 +4,7 @@ namespace :load do
|
|
4
4
|
set :unicorn_config_path, -> { File.join(current_path, "config", "unicorn", "#{fetch(:rails_env)}.rb") }
|
5
5
|
set :unicorn_restart_sleep_time, 3
|
6
6
|
set :unicorn_roles, -> { :app }
|
7
|
+
set :unicorn_options, -> { '' }
|
7
8
|
end
|
8
9
|
end
|
9
10
|
|
@@ -16,7 +17,7 @@ namespace :unicorn do
|
|
16
17
|
if test("[ -e #{fetch(:unicorn_pid)} ] && kill -0 #{pid}")
|
17
18
|
info "unicorn is running..."
|
18
19
|
else
|
19
|
-
execute :bundle, "exec unicorn", "-c", fetch(:unicorn_config_path), "-E", fetch(:rails_env), "-D"
|
20
|
+
execute :bundle, "exec unicorn", "-c", fetch(:unicorn_config_path), "-E", fetch(:rails_env), "-D", fetch(:unicorn_options)
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-unicorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Lineen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -31,6 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- CHANGELOG.md
|
34
35
|
- LICENSE
|
35
36
|
- README.md
|
36
37
|
- capistrano3-unicorn.gemspec
|