capistrano-pumaio 0.0.16 → 0.0.17
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/VERSION +1 -1
- data/capistrano-pumaio.gemspec +1 -1
- data/lib/capistrano/puma/config.rb +6 -6
- data/lib/capistrano/puma/nginx.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.17
|
data/capistrano-pumaio.gemspec
CHANGED
|
@@ -9,12 +9,12 @@ Capistrano::Configuration.instance(true).load do
|
|
|
9
9
|
_cset :puma_control, 'bundle exec pumactl'
|
|
10
10
|
|
|
11
11
|
# Control files
|
|
12
|
-
_cset :puma_socket_file, "#{File.join(fetch(:sockets_path), "puma.sock")}"
|
|
13
|
-
_cset :puma_socket_url,
|
|
14
|
-
_cset :puma_pid_file,
|
|
15
|
-
_cset :puma_state_file,
|
|
16
|
-
_cset :puma_control_file, "#{File.join(fetch(:sockets_path), "pumactl.sock")}"
|
|
17
|
-
_cset :puma_control_url, "unix://#{fetch(:puma_control_file)}"
|
|
12
|
+
_cset :puma_socket_file, defer { "#{File.join(fetch(:sockets_path), "puma.sock")}" }
|
|
13
|
+
_cset :puma_socket_url, defer { "unix://#{fetch(:puma_socket_file)}" }
|
|
14
|
+
_cset :puma_pid_file, defer { File.join(fetch(:pids_path), "puma.pid") }
|
|
15
|
+
_cset :puma_state_file, defer { File.join(fetch(:sockets_path), "puma.state") }
|
|
16
|
+
_cset :puma_control_file, defer { "#{File.join(fetch(:sockets_path), "pumactl.sock")}" }
|
|
17
|
+
_cset :puma_control_url, defer { "unix://#{fetch(:puma_control_file)}" }
|
|
18
18
|
|
|
19
19
|
_cset :puma_use_preload_app, true # This must be set to false if phased restarts should be used
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ Capistrano::Configuration.instance.load do
|
|
|
17
17
|
_cset :nginx_simple_auth_salt, (0...8).map{ ('a'..'z').to_a[rand(26)] }.join
|
|
18
18
|
|
|
19
19
|
# Server names. Defaults to application name.
|
|
20
|
-
_cset :server_names, defer {"#{application}_#{Capistrano::BaseHelper.environment}"}
|
|
20
|
+
_cset :server_names, defer {"#{fetch(:application)}_#{Capistrano::BaseHelper.environment}"}
|
|
21
21
|
|
|
22
22
|
# Path to the nginx erb template to be parsed before uploading to remote
|
|
23
23
|
_cset :nginx_local_config, File.join(File.expand_path(File.join(File.dirname(__FILE__),"../../../templates", "nginx", )), "application.conf.erb")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-pumaio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.17
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
version: '0'
|
|
119
119
|
segments:
|
|
120
120
|
- 0
|
|
121
|
-
hash:
|
|
121
|
+
hash: -226357481173351580
|
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
none: false
|
|
124
124
|
requirements:
|