capistrano-deploy-management 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'capistrano-deploy-management'
4
- s.version = '0.1.8'
4
+ s.version = '0.1.9'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Dominik Rodler']
7
7
  s.email = ['dominik.rodler@gmail.com']
data/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ - 0.1.9
2
+ updated puma recipe
3
+
1
4
  - 0.1.3 / 0.1.4 / 0.1.5 / 0.1.6 / 0.1.7 / 0.1.8
2
5
  unicorn recipe: only stop unicorn, if pid file exists
3
6
 
@@ -3,8 +3,9 @@ module CapistranoDeployManagement
3
3
  def self.load_into(configuration)
4
4
  configuration.load do
5
5
 
6
- set(:puma_config) { "#{current_path}/config/puma.rb" }
7
- set(:puma_pidfile) { "cat #{deploy_to}/shared/pids/puma.pid" }
6
+ set(:puma_config) { "#{current_path}/config/puma.rb" }
7
+ set(:puma_pidfile) { "#{deploy_to}/shared/pids/puma.pid" }
8
+ set(:puma_pid) { "cat #{deploy_to}/shared/pids/puma.pid" }
8
9
 
9
10
  namespace :puma do
10
11
  desc 'Restart puma.'
@@ -15,12 +16,12 @@ module CapistranoDeployManagement
15
16
 
16
17
  desc 'Start puma.'
17
18
  task :start, :roles => :app, :except => {:no_release => true} do
18
- run "cd #{current_path} && puma -c #{puma_pidfile} -E production -D"
19
+ run "cd #{current_path} && puma -C #{puma_pidfile} -D"
19
20
  end
20
21
 
21
22
  desc 'Stop puma.'
22
23
  task :stop, :roles => :app, :except => {:no_release => true} do
23
- run "cd #{current_path} && kill $(#{puma_pidfile})"
24
+ run "cd #{current_path} && kill $(#{puma_pid})"
24
25
  end
25
26
  end
26
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: