capistrano-deploy-management 0.1.5 → 0.1.6

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.
@@ -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.5'
4
+ s.version = '0.1.6'
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,4 +1,4 @@
1
- - 0.1.3 / 0.1.4 / 0.1.5
1
+ - 0.1.3 / 0.1.4 / 0.1.5 / 0.1.6
2
2
  unicorn recipe: only stop unicorn, if pid file exists
3
3
 
4
4
  - 0.1.2
@@ -10,7 +10,7 @@ module CapistranoDeployManagement
10
10
  namespace :unicorn do
11
11
  desc 'Restart unicorn.'
12
12
  task :restart, :roles => :app, :except => {:no_release => true} do
13
- unicorn.stop
13
+ # unicorn.stop
14
14
  unicorn.start
15
15
  end
16
16
 
@@ -21,7 +21,9 @@ module CapistranoDeployManagement
21
21
 
22
22
  desc 'Stop unicorn.'
23
23
  task :stop, :roles => :app, :except => {:no_release => true} do
24
- run "if test -s #{unicorn_pidfile}; then cd #{current_path} && kill $(#{unicorn_pid}) fi"
24
+ # run "if test -s #{unicorn_pidfile}; then cd #{current_path} && kill $(#{unicorn_pid}) fi"
25
+ # above line fails with error -c: line 1: syntax error: unexpected end of file
26
+ run "cd #{current_path} && kill $(#{unicorn_pid})"
25
27
  end
26
28
  end
27
29
 
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.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: