capistrano3-puma 0.8.1 → 0.8.2
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 +3 -2
- data/lib/capistrano/puma/version.rb +1 -1
- data/lib/capistrano/tasks/nginx.cap +1 -1
- data/lib/capistrano/tasks/puma.cap +7 -1
- data/lib/{capistrano-puma.rb → capistrano3-puma.rb} +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9cbc6d0457399e7b44e785e7783a81e963400051
|
|
4
|
+
data.tar.gz: b430fb5defe9ee2cda9c85be2ac174f3dd84b5b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e72d5bed7faaee8d88f840404fa0d3b062daea20bcacfc4779d53845bea43ce81b75999c12b46f9d2317c9c0ad7c5acd3c93c9e8da5a85000dfedf390bc7c52e
|
|
7
|
+
data.tar.gz: 4c121dbcf114f565a20c46452a086df61d4618d02942693cc9bba54cd30f6fecc934e5fb1d341ce53436bf53b84932f8400c58777633e694115ac526d9514428
|
data/README.md
CHANGED
|
@@ -93,6 +93,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
|
93
93
|
tmp/pids tmp/sockets log
|
|
94
94
|
|
|
95
95
|
## Changelog
|
|
96
|
+
- 0.8.2: Start task creates a conf file if none exists @stevemadere
|
|
96
97
|
- 0.8.1: Fixed nginx task @hnatt, support for prune_bundler @behe
|
|
97
98
|
- 0.8.0: Some changes
|
|
98
99
|
- 0.7.0: added Nginx template generator @dfang
|
|
@@ -122,7 +123,6 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
|
122
123
|
- 0.0.8: puma.rb is automatically generated if not present. Fixed RVM issue.
|
|
123
124
|
- 0.0.7: Gem pushed to rubygems as capistrano3-puma. Support of Redhat based OS for Jungle init script.
|
|
124
125
|
|
|
125
|
-
## TODO
|
|
126
126
|
|
|
127
127
|
## Contributors
|
|
128
128
|
|
|
@@ -131,7 +131,8 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
|
131
131
|
- [ayaya](https://github.com/ayamomiji)
|
|
132
132
|
- [Shane O'Grady](https://github.com/shaneog)
|
|
133
133
|
- [Jun Lin](https://github.com/linjunpop)
|
|
134
|
-
- [fang duan](https://github.com/dfang
|
|
134
|
+
- [fang duan](https://github.com/dfang)
|
|
135
|
+
- [Steve Madere](https://github.com/stevemadere)
|
|
135
136
|
|
|
136
137
|
## Contributing
|
|
137
138
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
namespace :load do
|
|
2
3
|
task :defaults do
|
|
3
4
|
set :puma_default_hooks, -> { true }
|
|
@@ -51,6 +52,11 @@ namespace :puma do
|
|
|
51
52
|
desc 'Start puma'
|
|
52
53
|
task :start do
|
|
53
54
|
on roles (fetch(:puma_role)) do
|
|
55
|
+
if test "[ -f #{fetch(:puma_conf)} ]"
|
|
56
|
+
info "using conf file #{fetch(:puma_conf)}"
|
|
57
|
+
else
|
|
58
|
+
invoke 'puma:config'
|
|
59
|
+
end
|
|
54
60
|
within current_path do
|
|
55
61
|
with rack_env: fetch(:puma_env) do
|
|
56
62
|
|
|
@@ -94,7 +100,7 @@ namespace :puma do
|
|
|
94
100
|
execute :bundle, 'exec', :pumactl, "-S #{fetch(:puma_state)} #{command}"
|
|
95
101
|
else
|
|
96
102
|
# Puma is not running or state file is not present : Run it
|
|
97
|
-
|
|
103
|
+
invoke 'puma:start'
|
|
98
104
|
end
|
|
99
105
|
end
|
|
100
106
|
end
|
|
File without changes
|
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.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: 2014-10-
|
|
11
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -51,7 +51,6 @@ files:
|
|
|
51
51
|
- README.md
|
|
52
52
|
- Rakefile
|
|
53
53
|
- capistrano3-puma.gemspec
|
|
54
|
-
- lib/capistrano-puma.rb
|
|
55
54
|
- lib/capistrano/puma.rb
|
|
56
55
|
- lib/capistrano/puma/jungle.rb
|
|
57
56
|
- lib/capistrano/puma/monit.rb
|
|
@@ -69,6 +68,7 @@ files:
|
|
|
69
68
|
- lib/capistrano/templates/puma.rb.erb
|
|
70
69
|
- lib/capistrano/templates/puma_monit.conf.erb
|
|
71
70
|
- lib/capistrano/templates/run-puma.erb
|
|
71
|
+
- lib/capistrano3-puma.rb
|
|
72
72
|
- lib/generators/capistrano/nginx_puma/USAGE
|
|
73
73
|
- lib/generators/capistrano/nginx_puma/config_generator.rb
|
|
74
74
|
homepage: https://github.com/seuros/capistrano-puma
|
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
version: '0'
|
|
94
94
|
requirements: []
|
|
95
95
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 2.4.
|
|
96
|
+
rubygems_version: 2.4.2
|
|
97
97
|
signing_key:
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: Puma integration for Capistrano
|