capistrano-deploy-management 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'capistrano-deploy-management'
4
4
  s.description = 'Collection of Capistrano recipes for deploying Rails apps into high-performance environments'
5
- s.version = '0.1.19'
5
+ s.version = '0.1.20'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Dominik Rodler']
8
8
  s.email = ['dominik.rodler@gmail.com']
data/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
- - 0.1.19
2
- unicorn restart
1
+ - 0.1.19 / 0.1.20
2
+ improved unicorn restart
3
3
 
4
4
  - 0.1.17 / 0.1.18
5
5
  removed rails_assets recipes, as they are included in capistrano by default now; just load 'deploy/assets' in your Capfile
@@ -10,9 +10,7 @@ module CapistranoDeployManagement
10
10
  namespace :unicorn do
11
11
  desc 'Restart unicorn.'
12
12
  task :restart, :roles => :app do
13
- unicorn.stop
14
- unicorn.start
15
- # run "cd #{current_path} && kill -USR2 #{unicorn_pid}"
13
+ run "cd #{current_path} && kill -s USR2 #{unicorn_pid}"
16
14
  end
17
15
 
18
16
  desc 'Start unicorn.'
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.19
4
+ version: 0.1.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: