blue-resque-scheduler 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module Blue
12
12
  namespace :scheduler do
13
13
  desc "Trigger Resque Scheduler restarts"
14
14
  task :restart do
15
- run "kill -QUIT $(cat #{Blue::Resque::Scheduler.pid_path}) || true && rm -rf #{Blue::Resque::Scheduler.pid_path}"
15
+ run "test -f #{Blue::Resque::Scheduler.pid_path} && (kill -QUIT $(cat #{Blue::Resque::Scheduler.pid_path}) && rm -rf #{Blue::Resque::Scheduler.pid_path})"
16
16
  sudo "monit restart resque_scheduler"
17
17
  end
18
18
  end
@@ -1,7 +1,7 @@
1
1
  module Blue
2
2
  module Resque
3
3
  module Scheduler
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue-resque-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Sharpe