capistrano3-nginx 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano3-nginx.gemspec +1 -1
- data/lib/capistrano/tasks/nginx.rake +3 -2
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37100c96a8f917608bc0981cc8ec8144973145d4
|
4
|
+
data.tar.gz: 4d6de10e7b03e5d7874d1fa23db043f31d534e0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 800a1bcd432da6b99babf3dac3831b1d67080d0db6df49d8895c1a3ed70358b5baba283f72c0f4ce6f726e1d43429e33ab9f9187b8fb7b34acdec4fae0c111a9
|
7
|
+
data.tar.gz: 8372ad6416a8e46f0c21d9a321185d3920f87b98343f4750bc837d08a8d9f0b6bfafb52d66fd058203c8c1998f9c3e612dcc3ccffa1f0d8d2318d3b627b499a9
|
data/capistrano3-nginx.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano3-nginx'
|
7
|
-
spec.version = '2.1.
|
7
|
+
spec.version = '2.1.5'
|
8
8
|
spec.authors = ['Juan Ignacio Donoso']
|
9
9
|
spec.email = ['jidonoso@gmail.com']
|
10
10
|
spec.description = %q{Adds suuport to nginx for Capistrano 3.x}
|
@@ -80,13 +80,14 @@ namespace :nginx do
|
|
80
80
|
before "nginx:#{command}", 'nginx:configtest' unless command == 'stop'
|
81
81
|
end
|
82
82
|
|
83
|
-
|
83
|
+
task :create_log_paths do
|
84
84
|
on release_roles fetch(:nginx_roles) do
|
85
85
|
arguments = :mkdir, '-pv', fetch(:nginx_log_path)
|
86
86
|
add_sudo_if_required arguments, :nginx_log_path
|
87
87
|
execute *arguments
|
88
88
|
end
|
89
89
|
end
|
90
|
+
after 'deploy:check', 'nginx:create_log_paths'
|
90
91
|
|
91
92
|
desc 'Compress JS and CSS with gzip'
|
92
93
|
task :gzip_static => ['nginx:load_vars'] do
|
@@ -133,7 +134,7 @@ namespace :nginx do
|
|
133
134
|
on release_roles fetch(:nginx_roles) do
|
134
135
|
if test "[ -f #{fetch(:enabled_application)} ]"
|
135
136
|
within fetch(:sites_enabled) do
|
136
|
-
arguments = :rm, '-f', fetch(:
|
137
|
+
arguments = :rm, '-f', fetch(:nginx_application_name)
|
137
138
|
add_sudo_if_required arguments, 'nginx:sites:disable', :nginx_sites_enabled_dir
|
138
139
|
execute *arguments
|
139
140
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Ignacio Donoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Adds suuport to nginx for Capistrano 3.x
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- LICENSE
|
51
51
|
- LICENSE.txt
|
@@ -66,18 +66,19 @@ require_paths:
|
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.5.1
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Adds suuport to nginx for Capistrano 3.x
|
83
83
|
test_files: []
|
84
|
+
has_rdoc:
|