capistrano-unicorn-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,8 +16,8 @@ set :unicorn_pid_path, ->{ File.join(current_path, 'tmp', 'pids', 'unicorn.pid')
16
16
  set :unicorn_config_path, ->{ File.join(current_path, 'config', 'unicorn.rb') }
17
17
  ```
18
18
 
19
- The task will use the `unicorn_rails` binary to avoid unnecessary middleware added by
20
- the `unicorn` binary (Rails already take care of that)
19
+ The task will use the `unicorn_rails` binary to avoid unnecessary middlewares added by
20
+ the `unicorn` binary (Rails already takes care of that)
21
21
 
22
22
  ## Installation
23
23
 
@@ -29,7 +29,7 @@ Add this line to your application's Gemfile:
29
29
 
30
30
  Require `capistrano/unicorn` inside your `Capfile` to load all tasks.
31
31
 
32
- By default, no task are automatically added since Capistrano will remove the default `deploy:restart` its version 3.1.
32
+ By default, no task are automatically added since Capistrano will remove the default `deploy:restart` in its version 3.1.
33
33
  You'll need to invoke directly the task inside your `config/deploy.rb`
34
34
 
35
35
  ```ruby
@@ -1,3 +1,3 @@
1
1
  module CapistranoUnicornRails
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  namespace :load do
28
28
  task :defaults do
29
- set :unicorn_rails_env, ->{ fetch :rails_env, "production" }
29
+ set :unicorn_rails_env, ->{ fetch(:rails_env, fetch(:stage)) }
30
30
  set :unicorn_pid_path, ->{ File.join(current_path, 'tmp', 'pids', 'unicorn.pid') }
31
31
  set :unicorn_config_path, ->{ File.join(current_path, 'config', 'unicorn.rb') }
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-unicorn-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-07 00:00:00.000000000 Z
12
+ date: 2014-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 1.8.23
83
+ rubygems_version: 1.8.21
84
84
  signing_key:
85
85
  specification_version: 3
86
86
  summary: Basic tasks for starting and stoping Unicorn! servers via capistrano tasks