h2ocube_rails_puma 0.0.3 → 0.0.4

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: b6718f4aaf149be968fae95ff1353fc3812a37ab
4
- data.tar.gz: a04e1a83f3a15c51def70207815eb75d4e56fb11
3
+ metadata.gz: bad5475067bfd6dfda71a2cc3e8038095811e5df
4
+ data.tar.gz: e1e8b3d43778cef23c0563434e54df6b1be65d9f
5
5
  SHA512:
6
- metadata.gz: aad702f27855f811f7c4f649468b6c7a0e1b0d5dd8f9ca7e45eb0efec7a3b8f6a64cf42b58cf2d949889694bfea1c4f0382f67532e72953a7486cf4d468cc8e6
7
- data.tar.gz: f07979a04a587ec243672f27677a5ba116027517f24478019cdbdc03429c161e2385e10a920d40697ea00ce00954c7642b67feb62fa980ae27cc04ba7707a1b9
6
+ metadata.gz: cf6ce00591fc0823647d25dc9df6322e89a5e16eea74ce3d98ce5a3550e7b9136297ce7e428419ea85287e19c75dcf2b64d5e06fb6bde9ddb8d077c79e73bca2
7
+ data.tar.gz: 6c1a583b8621e7bcc619538b899d0eccd035dbe0f08eea1920d50c273cd4c0fbda168d475d191ddd823fdad247f827cd7fc7293cd3631d548097b926978267fc
data/README.md CHANGED
@@ -31,6 +31,7 @@ Puma specific tasks for Capistrano v3:
31
31
  cap puma:start
32
32
  cap puma:stop
33
33
  cap puma:restart
34
+ cap puma:phased_restart
34
35
  cap puma:cold_restart
35
36
 
36
37
  # nginx.conf
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'h2ocube_rails_puma'
7
- spec.version = '0.0.3'
7
+ spec.version = '0.0.4'
8
8
  spec.authors = ['Ben']
9
9
  spec.email = ['ben@zfben.com']
10
10
  spec.description = %q{Just a collection for development gems}
@@ -19,6 +19,15 @@ namespace :puma do
19
19
 
20
20
  desc 'Restart puma'
21
21
  task :restart do
22
+ on roles :app do
23
+ within release_path do
24
+ execute :bundle, "exec pumactl -S #{state_path} restart;true"
25
+ end
26
+ end
27
+ end
28
+
29
+ desc 'Phased restart puma'
30
+ task :phased_restart do
22
31
  on roles :app do
23
32
  within release_path do
24
33
  execute :bundle, "exec pumactl -S #{state_path} phased-restart;true"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h2ocube_rails_puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2014-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.2.1
66
+ rubygems_version: 2.3.0
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Just a collection for development gems