Skip to content

Commit

Permalink
Merge pull request #22 from crhan/depends_fix
Browse files Browse the repository at this point in the history
capistrano v3.1 compatible improve: dependency solve
  • Loading branch information
seuros committed Dec 30, 2013
2 parents c2b029f + f85a6f9 commit 1716222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion capistrano3-puma.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files`.split($/)
spec.require_paths = ['lib']

spec.add_dependency 'capistrano', '~> 3.0.0'
spec.add_dependency 'capistrano', '~> 3.0'

end
5 changes: 1 addition & 4 deletions lib/capistrano/tasks/puma.cap
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
namespace :deploy do
after :finished, 'puma:smart_restart'
end

namespace :load do
task :defaults do
set :puma_role, :app
Expand Down Expand Up @@ -91,6 +87,7 @@ namespace :puma do
invoke 'puma:restart'
end
end
after 'deploy:finished', 'puma:smart_restart'

def puma_workers
fetch(:puma_workers) || 0
Expand Down

0 comments on commit 1716222

Please sign in to comment.