capistrano-runit-puma 0.2.0 → 0.2.1

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: a59229ab3e25b6c7ffaa1d6e5e822a845b70aef1
4
- data.tar.gz: 47293eaac0eca5bd6d54f6b4b5d3967538670c36
3
+ metadata.gz: 1af0b3bd2c42eb11f0441997db352b04c453e79a
4
+ data.tar.gz: 0765fb0151df60f65620c72cc67ee39d4a222a9c
5
5
  SHA512:
6
- metadata.gz: 955cade143980d9bc9c19e8de9e0bc17a02d9b94ac1f553f5aef2d111d51df4d5ead397d9bbfeb33358c27b9a44010f7924e7ddc0c68370da88e04799b609495
7
- data.tar.gz: 331e0c7c266ffb4f2a0d94c14cf9953660760fd7253c7587dc6219dec006eec1bd2295179bae0ed6741f94cab34d88feb2ea004f6621f35d5d93df88145a18a0
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.0'
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('../../templates/puma.rb.erb', __FILE__)
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.0
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-07-03 00:00:00.000000000 Z
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