eycap 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -0
- data/Manifest.txt +1 -0
- data/lib/eycap.rb +1 -1
- data/lib/eycap/recipes/delayed_job.rb +25 -0
- metadata +18 -17
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -12,6 +12,7 @@ lib/eycap/recipes/backgroundrb.rb
|
|
12
12
|
lib/eycap/recipes/database.rb
|
13
13
|
lib/eycap/recipes/bundler.rb
|
14
14
|
lib/eycap/recipes/deploy.rb
|
15
|
+
lib/eycap/recipes/delayed_job.rb
|
15
16
|
lib/eycap/recipes/ferret.rb
|
16
17
|
lib/eycap/recipes/juggernaut.rb
|
17
18
|
lib/eycap/recipes/memcached.rb
|
data/lib/eycap.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
2
|
+
namespace :dj do
|
3
|
+
desc <<-DESC
|
4
|
+
Start the Delayed Job queue along with any in the same monit_group.
|
5
|
+
DESC
|
6
|
+
task :start, :roles => [:app], :except => {:dj => false} do
|
7
|
+
sudo "/usr/bin/monit start all -g #{monit_group}"
|
8
|
+
end
|
9
|
+
|
10
|
+
desc <<-DESC
|
11
|
+
Restart the Delayed Job queue along with any in the same monit_group.
|
12
|
+
DESC
|
13
|
+
task :restart, :roles => [:app], :except => {:dj => false} do
|
14
|
+
sudo "/usr/bin/monit restart all -g #{monit_group}"
|
15
|
+
end
|
16
|
+
|
17
|
+
desc <<-DESC
|
18
|
+
Stop all monit group members, of which delayed job can be a part of.
|
19
|
+
DESC
|
20
|
+
task :stop, :roles => [:app], :except => {:dj => false} do
|
21
|
+
sudo "/usr/bin/monit stop all -g #{monit_group}"
|
22
|
+
end
|
23
|
+
|
24
|
+
end #namespace
|
25
|
+
end #Capistrano::Configuration
|
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 10
|
10
|
+
version: 0.5.10
|
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-
|
18
|
+
date: 2011-02-16 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -42,15 +42,15 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 1
|
46
46
|
segments:
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
version:
|
51
|
-
type: :
|
47
|
+
- 1
|
48
|
+
- 5
|
49
|
+
- 1
|
50
|
+
version: 1.5.1
|
51
|
+
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
|
-
description: A bunch of useful recipes to help deployment to Engine Yard private cloud
|
53
|
+
description: A bunch of useful recipes to help deployment to the Engine Yard private cloud.
|
54
54
|
email: appsupport@engineyard.com
|
55
55
|
executables: []
|
56
56
|
|
@@ -73,7 +73,6 @@ files:
|
|
73
73
|
- lib/eycap/recipes.rb
|
74
74
|
- lib/eycap/recipes/backgroundrb.rb
|
75
75
|
- lib/eycap/recipes/database.rb
|
76
|
-
- lib/eycap/recipes/bundler.rb
|
77
76
|
- lib/eycap/recipes/deploy.rb
|
78
77
|
- lib/eycap/recipes/ferret.rb
|
79
78
|
- lib/eycap/recipes/juggernaut.rb
|
@@ -81,14 +80,16 @@ files:
|
|
81
80
|
- lib/eycap/recipes/mongrel.rb
|
82
81
|
- lib/eycap/recipes/monit.rb
|
83
82
|
- lib/eycap/recipes/nginx.rb
|
83
|
+
- lib/eycap/recipes/passenger.rb
|
84
84
|
- lib/eycap/recipes/slice.rb
|
85
85
|
- lib/eycap/recipes/solr.rb
|
86
86
|
- lib/eycap/recipes/sphinx.rb
|
87
|
+
- lib/eycap/recipes/ssl.rb
|
87
88
|
- lib/eycap/recipes/templates/maintenance.rhtml
|
88
89
|
- lib/eycap/recipes/tomcat.rb
|
89
|
-
- lib/eycap/recipes/passenger.rb
|
90
90
|
- lib/eycap/recipes/apache.rb
|
91
|
-
- lib/eycap/recipes/
|
91
|
+
- lib/eycap/recipes/delayed_job.rb
|
92
|
+
- lib/eycap/recipes/bundler.rb
|
92
93
|
- test/test_eycap.rb
|
93
94
|
- test/test_helper.rb
|
94
95
|
has_rdoc: true
|
@@ -122,10 +123,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
123
|
requirements: []
|
123
124
|
|
124
125
|
rubyforge_project: eycap
|
125
|
-
rubygems_version: 1.
|
126
|
+
rubygems_version: 1.5.2
|
126
127
|
signing_key:
|
127
|
-
specification_version:
|
128
|
-
summary: Capistrano tasks for Engine Yard private cloud
|
128
|
+
specification_version: 2
|
129
|
+
summary: Capistrano tasks for Engine Yard private cloud.
|
129
130
|
test_files:
|
130
131
|
- test/test_eycap.rb
|
131
132
|
- test/test_helper.rb
|