From 3eab59b2c492f8babe285fb688c711ddf09d19a9 Mon Sep 17 00:00:00 2001 From: Suraj Shirvankar Date: Tue, 12 May 2015 01:38:28 +0400 Subject: [PATCH] Small Change --- capistrano-clockwork.gemspec | 2 +- lib/capistrano/tasks/capistrano-clockwork.rake | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/capistrano-clockwork.gemspec b/capistrano-clockwork.gemspec index 92e348a..133afa5 100644 --- a/capistrano-clockwork.gemspec +++ b/capistrano-clockwork.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |s| s.name = 'capistrano-clockwork' - s.version = '0.0.2' + s.version = '0.0.3' s.date = '2015-05-12' s.summary = "Capistrano plugin to manage clockwork" s.description = "Capistrano plugin to manage clockwork" diff --git a/lib/capistrano/tasks/capistrano-clockwork.rake b/lib/capistrano/tasks/capistrano-clockwork.rake index 5442aab..db07a30 100644 --- a/lib/capistrano/tasks/capistrano-clockwork.rake +++ b/lib/capistrano/tasks/capistrano-clockwork.rake @@ -71,8 +71,6 @@ namespace :clockwork do end task :add_default_hooks do - after 'deploy:stop', 'clockwork:stop' - after 'deploy:start', 'clockwork:start' - after 'deploy:restart', 'clockwork:restart' + after 'deploy:publishing', 'clockwork:restart' end end \ No newline at end of file