capistrano3-unicorn 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b168296fd207748bc5d31bfab2290c0f4e88881
4
- data.tar.gz: 5b3afbdb6d0009e2890c040e4e36498fc2424102
3
+ metadata.gz: f84ba3c17bf1822dc5df22d3e72df5d5b82abbdc
4
+ data.tar.gz: 33cb944e9facfb6596d3047a83ec2cd08754fb19
5
5
  SHA512:
6
- metadata.gz: 2f0e2f664e19886a250c1dce57d529c00f768392cd4500632f47382ff22169c29de2a9b5fccdaa4c55e10ca3bef1e10d54a8a72fbd07713e50d98417fa935e24
7
- data.tar.gz: 271607b8f7b817a8d9b4e56d2cb214731bec30d291e57241330e7c2582255a18b2495093c3a91c8f4486d8680d986c2b883c76813af79401bb76a445c1a52ac4
6
+ metadata.gz: 1c59388ca7b771f37a9b6a4d7c296f0d17de5474007258709b9652f69c3e4c9b9d8e09702570c20eb28af5910a64319490cda821e90292762fade656644db551
7
+ data.tar.gz: 8ba5dc92bdc7eeb4253c6564098335ab431e85821799aff734ec73682a7322a6b9ff6b9fea14b0287bdee9a7640345379b58ace51d638f01642f97d2cf32f2dc
@@ -1,5 +1,9 @@
1
1
  # Capistrano3 Unicorn Changelog
2
2
 
3
+ ## `0.1.1`
4
+
5
+ - Removed default value for `:unicorn_bundle_gemfile` of `:bundle_gemfile` so that current_path is the default
6
+
3
7
  ## `0.1.0`
4
8
 
5
9
  - Changed default location of `:unicorn_pid`
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`:
@@ -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.0'
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, -> { fetch(:bundle_gemfile, File.join(current_path, "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.0
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-06 00:00:00.000000000 Z
11
+ date: 2014-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano