eycap 0.5.13 → 0.5.14

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.5.14 / 2011-04-06
2
+ * Added resque recipe.
3
+
1
4
  == 0.5.13 / 2011-03-07
2
5
  * turned off EY weather notification.
3
6
 
data/Manifest.txt CHANGED
@@ -27,5 +27,6 @@ lib/eycap/recipes/tomcat.rb
27
27
  lib/eycap/recipes/passenger.rb
28
28
  lib/eycap/recipes/apache.rb
29
29
  lib/eycap/recipes/ssl.rb
30
+ lib/eycap/recipes/resque.rb
30
31
  test/test_eycap.rb
31
32
  test/test_helper.rb
data/README.txt CHANGED
@@ -44,7 +44,7 @@ set :deploy_via, :filtered_remote_cache
44
44
 
45
45
  == LICENSE:
46
46
 
47
- Copyright (c) 2008-2009 Engine Yard
47
+ Copyright (c) 2008-2011 Engine Yard
48
48
 
49
49
  Permission is hereby granted, free of charge, to any person obtaining
50
50
  a copy of this software and associated documentation files (the
data/lib/eycap/recipes.rb CHANGED
@@ -17,6 +17,7 @@ require 'eycap/recipes/passenger'
17
17
  require 'eycap/recipes/apache'
18
18
  require 'eycap/recipes/bundler'
19
19
  require 'eycap/recipes/ssl'
20
+ require 'eycap/recipes/delayed_job'
20
21
 
21
22
  Capistrano::Configuration.instance(:must_exist).load do
22
23
  default_run_options[:pty] = true if respond_to?(:default_run_options)
@@ -0,0 +1,17 @@
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
+
3
+ namespace :resque do
4
+ desc "After deploy:restart we want to restart the workers"
5
+ task :restart, :roles => [:app], :only => {:resque => true} do
6
+ run "monit restart all -g resque_#{application}"
7
+ end
8
+ after "deploy:restart","resque:restart"
9
+
10
+ desc "After update_code we want to symlink the resque.yml"
11
+ task :symlink, :roles => [:app], :only => {:resque => true} do
12
+ run "if [ -f #{shared_path}/config/resque.yml ]; then ln -nfs #{shared_path}/config/resque.yml #{latest_release}/config/resque.yml; fi"
13
+ end
14
+ after "deploy:update_code", "resque:symlink"
15
+ end
16
+
17
+ end
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: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 13
10
- version: 0.5.13
9
+ - 14
10
+ version: 0.5.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Engine Yard
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-16 00:00:00 -07:00
18
+ date: 2011-04-06 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -90,6 +90,7 @@ files:
90
90
  - lib/eycap/recipes/apache.rb
91
91
  - lib/eycap/recipes/delayed_job.rb
92
92
  - lib/eycap/recipes/bundler.rb
93
+ - lib/eycap/recipes/resque.rb
93
94
  - test/test_eycap.rb
94
95
  - test/test_helper.rb
95
96
  has_rdoc: true
@@ -123,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
124
  requirements: []
124
125
 
125
126
  rubyforge_project: eycap
126
- rubygems_version: 1.5.2
127
+ rubygems_version: 1.6.2
127
128
  signing_key:
128
129
  specification_version: 2
129
130
  summary: Capistrano tasks for Engine Yard private cloud.