capistrano3-unicorn 0.0.4 → 0.0.5

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0bfb625ab5704a8ebdbef7159acd1650038ef79
4
- data.tar.gz: 932b8595898735eebea87542c555d0e4d42042ff
3
+ metadata.gz: d9243f7cec54d9268c6ee2eb060f7f3ccece5577
4
+ data.tar.gz: 69ea621ee02faab6841c176478e19d7666c2af96
5
5
  SHA512:
6
- metadata.gz: d2d40aac358d6ddfcac8e43c40caa581e21c91bb9de66ef549dc2facac507a43ae05caa4c746c4b1c5e6335b5e344e06a288643f1d96aeb209873c6f7d044e4f
7
- data.tar.gz: f458ad56aaa12bc4fa969b2f46eadb72e24f2dab30fd4042a4da4ce361e6bc44e58bef1f746b428b2ae6c3826d6be28bfa9bdb696b34306bfec1547b641cc0aa
6
+ metadata.gz: a55237b7a30a94b38c655bd9312b4e37cbaa11438c9fb6766a791546fed632df2af64d22d5d8ed1be8329bd01e250dec8d59a0d5bec591ca9dd71e0126314cdc
7
+ data.tar.gz: f911bfe7035cafe0db9f035bf90893d609a6f1173e34013a6d8943f7603b3e6c2ba72aa842f069a223d91fa01a3e59f59bf1b93088b9a4a70a511c247743bddc
@@ -0,0 +1,7 @@
1
+ ### 0.0.5
2
+
3
+ - Added `:unicorn_options`
4
+
5
+ ### 0.0.4
6
+
7
+ - Added `:unicorn_roles`
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`:
@@ -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.4'
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
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: 2013-12-20 00:00:00.000000000 Z
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