capistrano-pumaio 3.1.3 → 3.1.4
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/README.md +4 -0
- data/VERSION +1 -1
- data/capistrano-pumaio.gemspec +4 -4
- data/lib/capistrano/tasks/config.rake +4 -2
- data/templates/puma-config.rb.erb +18 -5
- 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: 68567f932074244ca9bc6298d9841cecd739fd10
|
|
4
|
+
data.tar.gz: 6e022e17aaddf2b876a4a883c9c612e94715a95c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c20f5ddff6fe561f4e5d44fa9d51c8c99742aabdc86fd58d4e2079446243e4a318b8c444adebd4829ad1c398b1523180883a61441a6e17b5279db863f0e46aaf
|
|
7
|
+
data.tar.gz: 23450f978f460ba51014377d9b1e535fc9abfe1a8ff5a613c9657b2494ed17159c3cd1b687421efade29e5bf74ddb3bac84c9efce10b92329ba31cba3be72ba9
|
data/README.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.4
|
data/capistrano-pumaio.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: capistrano-pumaio 3.1.
|
|
5
|
+
# stub: capistrano-pumaio 3.1.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "capistrano-pumaio"
|
|
9
|
-
s.version = "3.1.
|
|
9
|
+
s.version = "3.1.4"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Leif Ringstad"]
|
|
14
|
-
s.date = "2016-
|
|
14
|
+
s.date = "2016-04-12"
|
|
15
15
|
s.description = "Capistrano recipes for puma using runit and monit."
|
|
16
16
|
s.email = "leifcr@gmail.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
|
|
|
41
41
|
]
|
|
42
42
|
s.homepage = "https://github.com/leifcr/capistrano-puma"
|
|
43
43
|
s.licenses = ["MIT"]
|
|
44
|
-
s.rubygems_version = "2.
|
|
44
|
+
s.rubygems_version = "2.4.8"
|
|
45
45
|
s.summary = "Capistrano recipes for puma using runit and monit"
|
|
46
46
|
|
|
47
47
|
if s.respond_to? :specification_version then
|
|
@@ -27,8 +27,10 @@ namespace :load do
|
|
|
27
27
|
# This must be set to false if phased restarts should be used
|
|
28
28
|
set :puma_use_preload_app, false
|
|
29
29
|
|
|
30
|
-
set :pruma_prune_bundler,
|
|
31
|
-
|
|
30
|
+
set :pruma_prune_bundler, false
|
|
31
|
+
set :puma_before_fork, nil
|
|
32
|
+
set :puma_on_worker_boot, nil
|
|
33
|
+
set :puma_on_restart, nil
|
|
32
34
|
set :puma_activate_control_app, true
|
|
33
35
|
|
|
34
36
|
set :puma_on_restart_active, true
|
|
@@ -15,12 +15,25 @@ environment '<%= "#{environment}" %>'
|
|
|
15
15
|
<% end %>
|
|
16
16
|
|
|
17
17
|
<% if fetch(:pruma_prune_bundler) %>
|
|
18
|
-
|
|
18
|
+
prune_bundler
|
|
19
19
|
<% end %>
|
|
20
20
|
|
|
21
21
|
directory '<%= current_path %>'
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
<% if fetch(:puma_before_fork) != nil %>
|
|
24
|
+
before_fork do
|
|
25
|
+
<%= fetch(:puma_before_fork) %>
|
|
26
|
+
end
|
|
27
|
+
<% end %>
|
|
28
|
+
|
|
29
|
+
<% if fetch(:puma_on_worker_boot) != nil %>
|
|
30
|
+
on_worker_boot do
|
|
31
|
+
<%= fetch(:puma_on_worker_boot) %>
|
|
32
|
+
end
|
|
33
|
+
<% end %>
|
|
34
|
+
|
|
35
|
+
<% if fetch(:puma_on_restart) != nil %>
|
|
36
|
+
on_restart do
|
|
37
|
+
<%= fetch(:puma_on_restart) %>
|
|
38
|
+
end
|
|
39
|
+
<% end %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-pumaio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leif Ringstad
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
version: '0'
|
|
128
128
|
requirements: []
|
|
129
129
|
rubyforge_project:
|
|
130
|
-
rubygems_version: 2.
|
|
130
|
+
rubygems_version: 2.4.8
|
|
131
131
|
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: Capistrano recipes for puma using runit and monit
|