capistrano-nginx 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.markdown CHANGED
@@ -39,6 +39,10 @@ Launch new tasks:
39
39
  $ cap nginx:setup
40
40
  $ cap nginx:reload
41
41
 
42
+ Or you can add hook to call this tasks after `deploy:setup`. Add to your `config/deploy.rb`:
43
+
44
+ after "deploy:setup", "nginx:setup", "nginx:reload"
45
+
42
46
  If you want to customize nginx configuration, just generate local nginx config before running `nginx:setup`:
43
47
 
44
48
  $ rails generate capistrano:nginx:config
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Nginx
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  upstream <%= application %> {
2
- server <%= "unix:#{deploy_to}/current/tmp/sockets/unicorn.sock fail_timeout=0" %>;
2
+ server <%= "unix:#{shared_path}/sockets/unicorn.sock fail_timeout=0" %>;
3
3
  }
4
4
 
5
5
  server {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nginx
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:
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  segments:
49
49
  - 0
50
- hash: 327813363107567374
50
+ hash: -3935435188463846321
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  segments:
58
58
  - 0
59
- hash: 327813363107567374
59
+ hash: -3935435188463846321
60
60
  requirements: []
61
61
  rubyforge_project:
62
62
  rubygems_version: 1.8.17