capistrano3-unicorn 0.1.0 → 0.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +6 -0
- data/capistrano3-unicorn.gemspec +1 -1
- data/lib/capistrano3/tasks/unicorn.rake +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f84ba3c17bf1822dc5df22d3e72df5d5b82abbdc
|
|
4
|
+
data.tar.gz: 33cb944e9facfb6596d3047a83ec2cd08754fb19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c59388ca7b771f37a9b6a4d7c296f0d17de5474007258709b9652f69c3e4c9b9d8e09702570c20eb28af5910a64319490cda821e90292762fade656644db551
|
|
7
|
+
data.tar.gz: 8ba5dc92bdc7eeb4253c6564098335ab431e85821799aff734ec73682a7322a6b9ff6b9fea14b0287bdee9a7640345379b58ace51d638f01642f97d2cf32f2dc
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -18,6 +18,8 @@ You can override the defaults by `set :unicorn_example, value` in the `config/de
|
|
|
18
18
|
|
|
19
19
|
Assumes your pid file will be located in `tmp/pids/unicorn.pid` which is symlinked by `:linked_dirs` to survive across deployments
|
|
20
20
|
|
|
21
|
+
*NOTE: THIS PATH WAS CHANGED AS OF v0.1.0*
|
|
22
|
+
|
|
21
23
|
- `:unicorn_config_path`
|
|
22
24
|
|
|
23
25
|
Assumes that your Unicorn configuration will be located in `config/unicorn/RAILS_ENV.rb`
|
|
@@ -38,6 +40,10 @@ You can override the defaults by `set :unicorn_example, value` in the `config/de
|
|
|
38
40
|
|
|
39
41
|
Set the RACK_ENV. Defaults to deployment unless the RAILS_ENV is development. Valid options are "development", "deployment", or "none". See the [RACK ENVIRONMENT](http://unicorn.bogomips.org/unicorn_1.html) section of the unicorn documentation for more information.
|
|
40
42
|
|
|
43
|
+
- `:unicorn_bundle_gemfile`
|
|
44
|
+
|
|
45
|
+
Sets the BUNDLE_GEMFILE so that unicorn will point at the new Gemfile after unicorn:restart. Defaults to `current/Gemfile`.
|
|
46
|
+
|
|
41
47
|
### Setup
|
|
42
48
|
|
|
43
49
|
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.1.
|
|
6
|
+
gem.version = '0.1.1'
|
|
7
7
|
gem.authors = ["Matthew Lineen"]
|
|
8
8
|
gem.email = ["matthew@lineen.com"]
|
|
9
9
|
gem.description = "Unicorn specific Capistrano tasks"
|
|
@@ -6,7 +6,7 @@ namespace :load do
|
|
|
6
6
|
set :unicorn_roles, -> { :app }
|
|
7
7
|
set :unicorn_options, -> { "" }
|
|
8
8
|
set :unicorn_rack_env, -> { fetch(:rails_env) == "development" ? "development" : "deployment" }
|
|
9
|
-
set :unicorn_bundle_gemfile, -> {
|
|
9
|
+
set :unicorn_bundle_gemfile, -> { File.join(current_path, "Gemfile") }
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
|
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.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Lineen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|