capistrano3-puma 0.8.4 → 0.8.5
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/puma.cap +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9dc4b8ed7c1321986c66e143edb405d737c8739
|
4
|
+
data.tar.gz: 3e45dec3faba490ec633412bbb55c82032b429bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd4809afe4e66f63d5676a89f55b7ceab5622f05fdd9c725c08b0639b7fc1cf009d44558984836966ad0de945627fe73876390c5cb9ce45b0c17b5c8862d907
|
7
|
+
data.tar.gz: a645728f6144d9aaada530606d8ce3c8f48455400b13b6078d783ba0aa4a21657d36e93ffb050b387800a265a40f5c45553cd5195fc759cc59303da88c84181a
|
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
|
+
- 0.8.5: Fix smart_restart task to check if puma preloads app
|
97
98
|
- 0.8.4: Allow patch method (Nginx template) @lonre
|
98
99
|
- 0.8.2: Start task creates a conf file if none exists @stevemadere
|
99
100
|
- 0.8.1: Fixed nginx task @hnatt, support for prune_bundler @behe
|
@@ -122,7 +122,7 @@ namespace :puma do
|
|
122
122
|
|
123
123
|
|
124
124
|
task :smart_restart do
|
125
|
-
if
|
125
|
+
if !puma_preload_app? && puma_workers.to_i > 1
|
126
126
|
invoke 'puma:phased-restart'
|
127
127
|
else
|
128
128
|
invoke 'puma:restart'
|
@@ -135,6 +135,9 @@ namespace :puma do
|
|
135
135
|
fetch(:puma_workers, 0)
|
136
136
|
end
|
137
137
|
|
138
|
+
def puma_preload_app?
|
139
|
+
fetch(:puma_preload_app)
|
140
|
+
end
|
138
141
|
|
139
142
|
def puma_bind
|
140
143
|
Array(fetch(:puma_bind)).collect do |bind|
|
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.5
|
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-01-
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.4.5
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Puma integration for Capistrano
|