capistrano-puma 0.2.2 → 0.2.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/lib/capistrano-puma.rb +1 -1
- data/lib/capistrano/tasks/puma.rake +8 -8
- 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: 6cd5de5d5b3dcf03004ecdb00c32e38d10eece70
|
|
4
|
+
data.tar.gz: beadcf333c40d8468c2395af739fe9a7cad44149
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d14b61df48197a2149644d509ddadda192d1c2a81c7994da41330081d4044e8c8f2a46be342b26fb44a49a4a87faa0861b2bb0d3732e16868177bf088e84da66
|
|
7
|
+
data.tar.gz: 85621be7a945a27df7f06006519df2e232f654cda54b167f754d7e672f9b488400793ba7e83d865d2ceab9feb6fa67c75884dcff23b4bfe8374a31ef6923976d
|
data/lib/capistrano-puma.rb
CHANGED
|
@@ -6,12 +6,12 @@ namespace :puma do
|
|
|
6
6
|
on roles fetch(:puma_roles) do
|
|
7
7
|
within release_path do
|
|
8
8
|
with rails_env: fetch(:rails_env) do
|
|
9
|
-
execute :bundle, "exec puma -b '#{puma_socket}'",
|
|
10
|
-
" -e #{stage} ",
|
|
11
|
-
"--control '#{pumactl_socket}'",
|
|
12
|
-
"-S #{puma_state}",
|
|
9
|
+
execute :bundle, "exec puma -b '#{fetch(:puma_socket)}'",
|
|
10
|
+
" -e #{fetch(:stage)} ",
|
|
11
|
+
"--control '#{fetch(:pumactl_socket)}'",
|
|
12
|
+
"-S #{fetch(:puma_state)}",
|
|
13
13
|
fetch(:puma_flags),
|
|
14
|
-
">> #{puma_log} 2>&1 &"
|
|
14
|
+
">> #{fetch(:puma_log)} 2>&1 &"
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
@@ -21,7 +21,7 @@ namespace :puma do
|
|
|
21
21
|
task :stop do
|
|
22
22
|
on roles fetch(:puma_roles) do
|
|
23
23
|
within release_path do
|
|
24
|
-
execute :bundle, "exec pumactl -S #{puma_state} stop"
|
|
24
|
+
execute :bundle, "exec pumactl -S #{fetch(:puma_state)} stop"
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
end
|
|
@@ -30,7 +30,7 @@ namespace :puma do
|
|
|
30
30
|
task :restart do
|
|
31
31
|
on roles fetch(:puma_roles) do
|
|
32
32
|
within release_path do
|
|
33
|
-
execute :bundle, "exec pumactl -S #{puma_state} restart"
|
|
33
|
+
execute :bundle, "exec pumactl -S #{fetch(:puma_state)} restart"
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
end
|
|
@@ -39,7 +39,7 @@ namespace :puma do
|
|
|
39
39
|
task :status do
|
|
40
40
|
on roles fetch(:puma_roles) do
|
|
41
41
|
within release_path do
|
|
42
|
-
execute :bundle, "exec pumactl -S #{puma_state} stats"
|
|
42
|
+
execute :bundle, "exec pumactl -S #{fetch(:puma_state)} stats"
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-puma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Johannes Opper
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-12-
|
|
11
|
+
date: 2013-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|