glebtv-capistrano-unicorn 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/capistrano/tasks/unicorn.cap +6 -7
- data/lib/capistrano/unicorn/utility.rb +3 -3
- data/lib/capistrano/unicorn/version.rb +1 -1
- metadata +2 -3
- data/.README.md.kate-swp +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5990d278d6902c50e120a1504d5f4341e227fab5
|
4
|
+
data.tar.gz: 4b87749b85b2773c0725548be20fd1b50cd4172e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2f8bbfd08c74e565ee4e1298a4b8aa7202bda05d7ca8583580fec331bd1a857244396eb29a88a21f25bfd8645239a9b96e83adbaa0f63342b40dfd19148601
|
7
|
+
data.tar.gz: 9a019e164ab965895a0d025e6d90ca7c2d43932a63fcccafffd7aeb8aa9dd10c4c261750b842f39589f5b6bdb74cd65847fa3ccff0f81160d79a62ff629c4e57
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Taken from https://github.com/sosedoff/capistrano-unicorn and adapted to work wi
|
|
9
9
|
issue if there is no existing relevant one. There are a lot of forks--we'd love
|
10
10
|
to reabsorb some of the issues/solutions the community has encountered.
|
11
11
|
|
12
|
-
[![Gem Version](https://badge.fury.io/rb/
|
12
|
+
[![Gem Version](https://badge.fury.io/rb/glebtv-capistrano-unicorn.svg)](http://badge.fury.io/rb/glebtv-capistrano-unicorn)
|
13
13
|
|
14
14
|
## Usage
|
15
15
|
|
@@ -21,7 +21,7 @@ Add the library to your `Gemfile`:
|
|
21
21
|
|
22
22
|
```ruby
|
23
23
|
group :development do
|
24
|
-
gem '
|
24
|
+
gem 'glebtv-capistrano-unicorn', :require => false
|
25
25
|
end
|
26
26
|
```
|
27
27
|
|
@@ -73,13 +73,12 @@ namespace :unicorn do
|
|
73
73
|
unicorn_config_stage_rel_file_path #{fetch :unicorn_config_stage_rel_file_path}
|
74
74
|
|
75
75
|
# Absolute paths
|
76
|
-
app_path
|
77
|
-
unicorn_pid
|
78
|
-
#bundle_gemfile
|
79
|
-
unicorn_config_path
|
80
|
-
unicorn_config_file_path
|
81
|
-
unicorn_config_stage_file_path
|
82
|
-
-> "#{fetch :unicorn_config_stage_file_path}
|
76
|
+
app_path #{fetch :app_path}
|
77
|
+
unicorn_pid #{fetch :unicorn_pid}
|
78
|
+
#bundle_gemfile #{fetch :bundle_gemfile}
|
79
|
+
unicorn_config_path #{fetch :unicorn_config_path}
|
80
|
+
unicorn_config_file_path #{fetch :unicorn_config_file_path}
|
81
|
+
unicorn_config_stage_file_path #{fetch :unicorn_config_stage_file_path}
|
83
82
|
EOF
|
84
83
|
end
|
85
84
|
end
|
@@ -104,10 +104,10 @@ module CapistranoUnicorn
|
|
104
104
|
# Start the Unicorn server
|
105
105
|
#
|
106
106
|
def start_unicorn
|
107
|
-
if test("[ -e #{fetch(:
|
108
|
-
unicorn_config_file_path = fetch(:unicorn_config_file_path)
|
109
|
-
elsif test("[ -e #{fetch(:unicorn_config_stage_file_path)} ]")
|
107
|
+
if test("[ -e #{fetch(:unicorn_config_stage_file_path)} ]")
|
110
108
|
unicorn_config_file_path = fetch(:unicorn_config_stage_file_path)
|
109
|
+
elsif test("[ -e #{fetch(:unicorn_config_file_path)} ]")
|
110
|
+
unicorn_config_file_path = fetch(:unicorn_config_file_path)
|
111
111
|
else
|
112
112
|
fail "Config file for \"#{fetch(:unicorn_env)}\" environment was not found at either \"#{fetch(:unicorn_config_file_path)}\" or \"#{fetch(:unicorn_config_stage_file_path)}\""
|
113
113
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glebtv-capistrano-unicorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv, Sebastian Gassner, Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -58,7 +58,6 @@ executables: []
|
|
58
58
|
extensions: []
|
59
59
|
extra_rdoc_files: []
|
60
60
|
files:
|
61
|
-
- ".README.md.kate-swp"
|
62
61
|
- ".gitignore"
|
63
62
|
- ".rspec"
|
64
63
|
- ".ruby-gemset"
|
data/.README.md.kate-swp
DELETED
Binary file
|