eycap 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,5 @@
1
+ == 0.5.11 / 2011-02-16
2
+ * changed the exception variable for DJ recipe
1
3
  == 0.5.10 / 2011-02-16
2
4
  * added Delayed Job monit restart commands
3
5
  == 0.5.9 / 2011-01-28
data/lib/eycap.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eycap
2
- VERSION = '0.5.10'
2
+ VERSION = '0.5.11'
3
3
  end
@@ -3,21 +3,21 @@ Capistrano::Configuration.instance(:must_exist).load do
3
3
  desc <<-DESC
4
4
  Start the Delayed Job queue along with any in the same monit_group.
5
5
  DESC
6
- task :start, :roles => [:app], :except => {:dj => false} do
6
+ task :start, :roles => [:app], :only => {:dj => true} do
7
7
  sudo "/usr/bin/monit start all -g #{monit_group}"
8
8
  end
9
9
 
10
10
  desc <<-DESC
11
11
  Restart the Delayed Job queue along with any in the same monit_group.
12
12
  DESC
13
- task :restart, :roles => [:app], :except => {:dj => false} do
13
+ task :restart, :roles => [:app], :only => {:dj => true} do
14
14
  sudo "/usr/bin/monit restart all -g #{monit_group}"
15
15
  end
16
16
 
17
17
  desc <<-DESC
18
18
  Stop all monit group members, of which delayed job can be a part of.
19
19
  DESC
20
- task :stop, :roles => [:app], :except => {:dj => false} do
20
+ task :stop, :roles => [:app], :only => {:dj => true} do
21
21
  sudo "/usr/bin/monit stop all -g #{monit_group}"
22
22
  end
23
23
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eycap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 10
10
- version: 0.5.10
9
+ - 11
10
+ version: 0.5.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Engine Yard