capistrano3-puma 0.8.2 → 0.8.3
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/capistrano3-puma.gemspec +0 -2
- data/lib/capistrano/puma/version.rb +1 -1
- data/lib/capistrano/tasks/nginx.cap +1 -8
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bbc53ee929dc4a1cced45086a8f3b2e9517e1cc
|
|
4
|
+
data.tar.gz: 52bcee92dbb183aa41cefb36ed3379e1408804f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90d35597bd28a50eba1c6bec77bfb6a594cf7963f69dd7fb7361c44f526fc8493d29c93a1fbaf2a5d467785ed6c26bc2fa63c9af9bdfb1b029ac3171cefdba91
|
|
7
|
+
data.tar.gz: cb20fdedfe75cba45224f63d42e65c97be3012234837214cdc45070216efc09a38f7d9d77b634f9e9fff7af1c13c0b2eae2b41197ef2fe48d9fe1a02107068d1
|
data/README.md
CHANGED
data/capistrano3-puma.gemspec
CHANGED
|
@@ -20,6 +20,4 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
|
|
21
21
|
spec.add_dependency 'capistrano', '~> 3.0'
|
|
22
22
|
spec.add_dependency 'puma' , '>= 2.6'
|
|
23
|
-
|
|
24
|
-
spec.post_install_message = "capistrano-puma: The puma.rb configuration file no longer explicitly sets daemonize to true. Add the --daemon flag if you reuse that file elsewhere (e.g. 'puma -C path/to/puma.rb --daemon')."
|
|
25
23
|
end
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
namespace :load do
|
|
2
|
-
task :defaults do
|
|
3
|
-
set :puma_nginx, -> { :web }
|
|
4
|
-
end
|
|
5
|
-
end
|
|
6
|
-
|
|
7
1
|
namespace :puma do
|
|
8
2
|
desc "Setup nginx configuration"
|
|
9
3
|
task :nginx_config do
|
|
10
|
-
|
|
11
|
-
on roles(:puma_nginx) do |role|
|
|
4
|
+
on roles(fetch(:puma_nginx, :web)) do |role|
|
|
12
5
|
template_puma("nginx_conf", "/tmp/nginx_#{fetch(:nginx_config_name)}", role)
|
|
13
6
|
sudo :mv, "/tmp/nginx_#{fetch(:nginx_config_name)} #{fetch(:nginx_sites_available_path)}/#{fetch(:nginx_config_name)}"
|
|
14
7
|
sudo :ln, '-fs', "#{fetch(:nginx_sites_available_path)}/#{fetch(:nginx_config_name)} #{fetch(:nginx_sites_enabled_path)}/#{fetch(:nginx_config_name)}"
|
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: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-10-
|
|
11
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -75,9 +75,7 @@ homepage: https://github.com/seuros/capistrano-puma
|
|
|
75
75
|
licenses:
|
|
76
76
|
- MIT
|
|
77
77
|
metadata: {}
|
|
78
|
-
post_install_message:
|
|
79
|
-
sets daemonize to true. Add the --daemon flag if you reuse that file elsewhere (e.g.
|
|
80
|
-
''puma -C path/to/puma.rb --daemon'').'
|
|
78
|
+
post_install_message:
|
|
81
79
|
rdoc_options: []
|
|
82
80
|
require_paths:
|
|
83
81
|
- lib
|
|
@@ -93,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
91
|
version: '0'
|
|
94
92
|
requirements: []
|
|
95
93
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 2.
|
|
94
|
+
rubygems_version: 2.2.2
|
|
97
95
|
signing_key:
|
|
98
96
|
specification_version: 4
|
|
99
97
|
summary: Puma integration for Capistrano
|
|
100
98
|
test_files: []
|
|
101
|
-
has_rdoc:
|