capistrano-tools 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -8,7 +8,7 @@ It is a collection of scripts for capistrano
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'capistrano-tools', :git => 'git@github.com:fragallia/capistrano-tools.git'
11
+ gem 'capistrano-tools'
12
12
 
13
13
  And then execute:
14
14
 
@@ -16,10 +16,10 @@ module Capistrano::Tools
16
16
  def self.load_into(capistrano_config)
17
17
  capistrano_config.load do
18
18
  before(Capistrano::Tools::Unicorn::TASKS) do
19
- _cset(:unicorn_pid) { fetch(:unicorn_pid, "#{shared_path}/pids/unicorn.pid") }
20
- _cset(:unicorn_env) { fetch(:unicorn_env, fetch(:rails_env, fetch(:env, 'production'))) }
21
- _cset(:unicorn_bin) { fetch(:unicorn_bin, "unicorn") }
22
- _cset(:unicorn_bundle) { fetch(:unicorn_bundle, fetch(:bundle_cmd, 'bundle')) }
19
+ _cset(:unicorn_pid) { "#{shared_path}/pids/unicorn.pid" }
20
+ _cset(:unicorn_env) { fetch(:rails_env, fetch(:env, 'production')) }
21
+ _cset(:unicorn_bin) { "unicorn" }
22
+ _cset(:unicorn_bundle) { fetch(:bundle_cmd, 'bundle') }
23
23
  end
24
24
 
25
25
  # Check if a remote process exists using its pid file
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Tools
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: