capistrano3-puma 0.4.1 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81ccaba58194a9f3893aa6f7c78445304a982798
4
- data.tar.gz: c415abf9a598a414e56090875243208c106d79c5
3
+ metadata.gz: 1727c90719e8f399a1a3e9ca3f87e1fb23608dc0
4
+ data.tar.gz: d5885679754d2ca6d1a3a109729e5e168dd623ea
5
5
  SHA512:
6
- metadata.gz: b823615eb7148a4d8923df9bfc251a20a139f568f08e8692c53a895a72f45049f7c5b06b7487afbd661168832474a3d522b996c5d0fa2b283454af00cad188f1
7
- data.tar.gz: 6dd4aade470fb3273d2394c9b83ea9c423ef8d1813a45aff73764240031221499221f2b3d0dd0e560e6970a2e54295b88e4702c7e6ec219ddda5603c933c4a41
6
+ metadata.gz: 1b1dbfb1427178d347029a1669427864009096376eb1ff3fef059f5ba57b27e73f0fc4645682cd93e3f58c7bd6e9aa7eda9d5587b72f1b5f07bfb101d42d95e2
7
+ data.tar.gz: ef92757fca76c23d27475117f3074a4de9da468c066154e0cf83576a513a6a3982a79a573a059e46d8a4dd2a38d84f60c03b7f0964c3150b5e1afce870c2fbdf
data/README.md CHANGED
@@ -52,6 +52,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
52
52
  tmp/pids tmp/sockets log
53
53
 
54
54
  ## Changelog
55
+ - 0.4.2: Fix monit template to support chruby
55
56
  - 0.4.1: Fix puma jungle (debian)
56
57
  - 0.4.0: Multi-bind support
57
58
  - 0.3.7: Dependency bug fix
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Puma
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
5
5
  end
@@ -2,9 +2,6 @@
2
2
  # Service name: <%= puma_monit_service_name %>
3
3
  #
4
4
  check process <%= puma_monit_service_name %>
5
- with pidfile "<%= fetch(:puma_pid) %>"
6
- start program = "/bin/su <%= @role.user %> -c 'source $HOME/.bashrc && cd <%= current_path %> && bundle exec puma -C <%= fetch(:puma_conf) %>'"
7
- stop program = "/bin/su <%= @role.user %> -c 'source $HOME/.bashrc && cd <%= current_path %> && bundle exec pumactl -S <%= fetch(:puma_state) %> stop'"
8
-
9
-
10
-
5
+ with pidfile "<%= fetch(:puma_pid) %>"
6
+ start program = "/usr/bin/sudo -u <%= @role.user %> /bin/bash -c 'cd <%= current_path %> && <%= SSHKit.config.command_map[:bundle] %> exec puma -C <%= fetch(:puma_conf) %>'"
7
+ stop program = "/usr/bin/sudo -u <%= @role.user %> /bin/bash -c 'cd <%= current_path %> && <%= SSHKit.config.command_map[:bundle] %> exec pumactl -S <%= fetch(:puma_state) %> stop'"
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.4.1
4
+ version: 0.4.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-03-31 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano