capistrano3-puma 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/capistrano/puma/version.rb +1 -1
- data/lib/capistrano/tasks/monit.cap +1 -0
- data/lib/capistrano/tasks/puma.cap +1 -1
- data/lib/capistrano/templates/puma.rb.erb +4 -4
- 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: a285319ce829244caa77fe60b0e120c41c7b07f8
|
4
|
+
data.tar.gz: 848e536e6d08bea1207b12ba4e01b632128efe0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ea06110afed0438c01329a8720fc85a99e4e6064060dde896cd2fdf4028a0a2ac76380e111febc3ec7feac0b1b1025c434e5968e6f12e077de8d4e0f2f3168
|
7
|
+
data.tar.gz: 4841fbeb5154fd76a6f2b44673ccb99cd695b6a2000366071c00d6553a96e3eaa7f3b2e8e41344e0b84c36f77e1d17c03b60015390268b33c2cdae9383671c41
|
data/README.md
CHANGED
@@ -94,6 +94,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
94
94
|
tmp/pids tmp/sockets log
|
95
95
|
|
96
96
|
## Changelog
|
97
|
+
- 1.1.0: Set :puma_preload_app to false; Reload Monit after uploading any monit configuration; Always refresh Gemfile @rafaelgoulart @suhailpatel @sime
|
97
98
|
- 1.0.0: Add activate control app @askagirl
|
98
99
|
- 0.8.5: Fix smart_restart task to check if puma preloads app
|
99
100
|
- 0.8.4: Allow patch method (Nginx template) @lonre
|
@@ -17,7 +17,7 @@ namespace :load do
|
|
17
17
|
set :puma_access_log, -> { File.join(shared_path, 'log', 'puma_access.log') }
|
18
18
|
set :puma_error_log, -> { File.join(shared_path, 'log', 'puma_error.log') }
|
19
19
|
set :puma_init_active_record, false
|
20
|
-
set :puma_preload_app,
|
20
|
+
set :puma_preload_app, false
|
21
21
|
|
22
22
|
# Rbenv and RVM integration
|
23
23
|
set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w{ puma pumactl })
|
@@ -22,16 +22,16 @@ workers <%= puma_workers %>
|
|
22
22
|
worker_timeout <%= fetch(:puma_worker_timeout).to_i %>
|
23
23
|
<% end %>
|
24
24
|
|
25
|
-
<% if
|
25
|
+
<% if puma_preload_app? %>
|
26
26
|
preload_app!
|
27
|
+
<% else %>
|
28
|
+
prune_bundler
|
29
|
+
<% end %>
|
27
30
|
|
28
31
|
on_restart do
|
29
32
|
puts 'Refreshing Gemfile'
|
30
33
|
ENV["BUNDLE_GEMFILE"] = "<%= fetch(:bundle_gemfile, "#{current_path}/Gemfile") %>"
|
31
34
|
end
|
32
|
-
<% else %>
|
33
|
-
prune_bundler
|
34
|
-
<% end %>
|
35
35
|
|
36
36
|
<% if fetch(:puma_init_active_record) %>
|
37
37
|
on_worker_boot do
|
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: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|