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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cbc6d0457399e7b44e785e7783a81e963400051
4
- data.tar.gz: b430fb5defe9ee2cda9c85be2ac174f3dd84b5b5
3
+ metadata.gz: 9bbc53ee929dc4a1cced45086a8f3b2e9517e1cc
4
+ data.tar.gz: 52bcee92dbb183aa41cefb36ed3379e1408804f6
5
5
  SHA512:
6
- metadata.gz: e72d5bed7faaee8d88f840404fa0d3b062daea20bcacfc4779d53845bea43ce81b75999c12b46f9d2317c9c0ad7c5acd3c93c9e8da5a85000dfedf390bc7c52e
7
- data.tar.gz: 4c121dbcf114f565a20c46452a086df61d4618d02942693cc9bba54cd30f6fecc934e5fb1d341ce53436bf53b84932f8400c58777633e694115ac526d9514428
6
+ metadata.gz: 90d35597bd28a50eba1c6bec77bfb6a594cf7963f69dd7fb7361c44f526fc8493d29c93a1fbaf2a5d467785ed6c26bc2fa63c9af9bdfb1b029ac3171cefdba91
7
+ data.tar.gz: cb20fdedfe75cba45224f63d42e65c97be3012234837214cdc45070216efc09a38f7d9d77b634f9e9fff7af1c13c0b2eae2b41197ef2fe48d9fe1a02107068d1
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Gem Version](https://badge.fury.io/rb/capistrano3-puma.svg)](http://badge.fury.io/rb/capistrano3-puma)
1
2
  # Capistrano::Puma
2
3
 
3
4
  ## Installation
@@ -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,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Puma
3
- VERSION = '0.8.2'
3
+ VERSION = '0.8.3'
4
4
  end
5
5
  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
- fail ":puma_nginx role not set!" if roles(:puma_nginx).empty?
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.2
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-17 00:00:00.000000000 Z
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: 'capistrano-puma: The puma.rb configuration file no longer explicitly
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.4.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: