capistrano-runit-puma 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-runit-puma.gemspec +1 -1
- data/lib/capistrano/tasks/puma.rake +2 -1
- 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: 1af0b3bd2c42eb11f0441997db352b04c453e79a
|
4
|
+
data.tar.gz: 0765fb0151df60f65620c72cc67ee39d4a222a9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee10717da4b4b724564212e372d64793109c8dca4bd42088e766696af6c8bb7046275255cee26a887335a6116290242226ccd760f959082ff1d30315cfc68b94
|
7
|
+
data.tar.gz: 9bd55933cf7a9268ebbf404ac7647fef965ba1efdf8f2e6ac657005015a0b05240fa5bf504cfee4dda935920a7593b67b82ee80cbb2a1cf224ad9825b144d6bc
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "capistrano-runit-puma"
|
5
|
-
spec.version = '0.2.
|
5
|
+
spec.version = '0.2.1'
|
6
6
|
spec.author = ['Oleksandr Simonov', 'Anton Ageev']
|
7
7
|
spec.email = ['alex@simonov.me', 'antage@gmail.com']
|
8
8
|
spec.summary = %q{Capistrano3 tasks for manage puma via runit supervisor.}
|
@@ -19,6 +19,7 @@ namespace :load do
|
|
19
19
|
set :runit_puma_preload_app, false
|
20
20
|
set :runit_puma_restart_method, :restart
|
21
21
|
set :runit_puma_on_worker_boot, nil
|
22
|
+
set :runit_puma_template_path, '../../templates/puma.rb.erb'
|
22
23
|
# Rbenv and RVM integration
|
23
24
|
set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w(puma))
|
24
25
|
set :rvm_map_bins, fetch(:rvm_map_bins).to_a.concat(%w(puma))
|
@@ -62,7 +63,7 @@ namespace :runit do
|
|
62
63
|
$stderr.puts "You should set 'runit_puma_bind' variable globally or for host #{host.hostname}."
|
63
64
|
exit 1
|
64
65
|
end
|
65
|
-
path = File.expand_path(
|
66
|
+
path = File.expand_path(fetch(:runit_puma_template_path), __FILE__)
|
66
67
|
if File.file?(path)
|
67
68
|
template = ERB.new(File.read(path))
|
68
69
|
stream = StringIO.new(template.result(binding))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-runit-puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleksandr Simonov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano-runit-core
|