capistrano3-puma 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/puma/nginx.rb +3 -3
- data/lib/capistrano/puma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d6d5723170d3691d85ccab8996a4f3d933c6cbe
|
4
|
+
data.tar.gz: cf71691c34d8f677ba375aedd3cc10bba20eb1dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 227f4e7aa92e32912054004fdb6148dbb4133f9899ddcc1883ccaa0bc05183dcbec5664c1ce2ad00c47ebe1069d3fff69c84fdb9252237e47c5c0be7453b440e
|
7
|
+
data.tar.gz: 44cf805c5ccf839f6c204c75942cbb7384a41e34db31990cd690e5c2f16081d7330ca717c75c9587a00551666829f91e62d4b847f6d286b0e35e4a3041e40519
|
@@ -3,10 +3,10 @@ module Capistrano
|
|
3
3
|
include PumaCommon
|
4
4
|
def set_defaults
|
5
5
|
# Nginx and puma configuration
|
6
|
-
set_if_empty :nginx_config_name, "#{fetch(:application)}_#{fetch(:stage)}"
|
6
|
+
set_if_empty :nginx_config_name, -> { "#{fetch(:application)}_#{fetch(:stage)}" }
|
7
7
|
set_if_empty :nginx_sites_available_path, '/etc/nginx/sites-available'
|
8
8
|
set_if_empty :nginx_sites_enabled_path, '/etc/nginx/sites-enabled'
|
9
|
-
set_if_empty :nginx_server_name, "localhost #{fetch(:application)}.local"
|
9
|
+
set_if_empty :nginx_server_name, -> { "localhost #{fetch(:application)}.local" }
|
10
10
|
set_if_empty :nginx_flags, 'fail_timeout=0'
|
11
11
|
set_if_empty :nginx_http_flags, fetch(:nginx_flags)
|
12
12
|
set_if_empty :nginx_socket_flags, fetch(:nginx_flags)
|
@@ -17,4 +17,4 @@ module Capistrano
|
|
17
17
|
eval_rakefile File.expand_path('../../tasks/nginx.rake', __FILE__)
|
18
18
|
end
|
19
19
|
end
|
20
|
-
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|