capistrano-puma 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb19979b05dfec118348c37fe4a5e8b762ffcddd
4
- data.tar.gz: de51dc681ae2b11493bea2e6f82ed36f427221fa
3
+ metadata.gz: 6cd5de5d5b3dcf03004ecdb00c32e38d10eece70
4
+ data.tar.gz: beadcf333c40d8468c2395af739fe9a7cad44149
5
5
  SHA512:
6
- metadata.gz: c764104ecef4a2bcfa1bd865078284b0cca1bebb6c33ee32f799b98a5f2a6c2e87732629a73c9d61f7384143ceb15ae0a34e2dab87f9041bceb8bd46995b8f6a
7
- data.tar.gz: b0fb052d41cc86bb01b26b5422d687e70d88ac10097a89bc1834f3ab8d2365568d2991607cf7ad3f4b40fd6f88bc52ec61f738851d2db2aee19d1dfe553c9bdc
6
+ metadata.gz: d14b61df48197a2149644d509ddadda192d1c2a81c7994da41330081d4044e8c8f2a46be342b26fb44a49a4a87faa0861b2bb0d3732e16868177bf088e84da66
7
+ data.tar.gz: 85621be7a945a27df7f06006519df2e232f654cda54b167f754d7e672f9b488400793ba7e83d865d2ceab9feb6fa67c75884dcff23b4bfe8374a31ef6923976d
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Capistrano
3
3
  module Puma
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
6
6
  end
@@ -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.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-02 00:00:00.000000000 Z
11
+ date: 2013-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano