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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49ff73736cb28b3c0e2cebc0f99eeb59268ba2d5
4
- data.tar.gz: a65c49ca2a90a256639100ec74513b38a18be6f1
3
+ metadata.gz: 5990d278d6902c50e120a1504d5f4341e227fab5
4
+ data.tar.gz: 4b87749b85b2773c0725548be20fd1b50cd4172e
5
5
  SHA512:
6
- metadata.gz: 33bc84249ca444fbde2090193d03fc228b1aeabf3d9ecbb0f0cc25ad4f5ccbf56aae6efad6cd0c5237f24725b76b42cff0830b91f4b73fdda7c5799fd471e809
7
- data.tar.gz: d0fb93382de9c8fbed5ea39f7f8b5c1f81bcc14a10c754c654ff24fe63701ee0f74f1c84487a645d2b460ebc62b9ec9bb5323f8b6e27fdf0f8b03fe27bb9f7f0
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/sepastian-capistrano3-unicorn.png)](http://badge.fury.io/rb/sepastian-capistrano3-unicorn)
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 'sepastian-capistrano3-unicorn', :require => false
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 #{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
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(:unicorn_config_file_path)} ]")
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
@@ -1,5 +1,5 @@
1
1
  module CapistranoUnicorn
2
2
  unless defined?(::CapistranoUnicorn::VERSION)
3
- VERSION = "0.3.0".freeze
3
+ VERSION = "0.3.1".freeze
4
4
  end
5
5
  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.0
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-04-16 00:00:00.000000000 Z
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"
Binary file