capistrano-deploy-management 0.1.20 → 0.1.21

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.20'
5
+ s.version = '0.1.21'
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,3 +1,6 @@
1
+ - 0.1.21
2
+ attempt to speed up bundle install using --local flag
3
+
1
4
  - 0.1.19 / 0.1.20
2
5
  improved unicorn restart
3
6
 
@@ -7,7 +7,7 @@ module CapistranoDeployManagement
7
7
  desc 'Install gems'
8
8
  task :install, :except => {:no_release => true} do
9
9
  bundle_cmd = fetch(:bundle_cmd, 'bundle')
10
- bundle_flags = fetch(:bundle_flags, '--deployment --quiet')
10
+ bundle_flags = fetch(:bundle_flags, '--local --deployment --quiet')
11
11
  bundle_without = [*fetch(:bundle_without, [:development, :test])].compact
12
12
 
13
13
  args = [bundle_flags.to_s]
@@ -10,7 +10,10 @@ module CapistranoDeployManagement
10
10
  namespace :unicorn do
11
11
  desc 'Restart unicorn.'
12
12
  task :restart, :roles => :app do
13
- run "cd #{current_path} && kill -s USR2 #{unicorn_pid}"
13
+ # FIXME: PID does not exist, thus restarting fails
14
+ # run "cd #{current_path} && kill -s USR2 #{unicorn_pid}"
15
+ unicorn.stop
16
+ unicorn.start
14
17
  end
15
18
 
16
19
  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.20
4
+ version: 0.1.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: