cap-recipes 0.3.23 → 0.3.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.textile +40 -15
  2. data/VERSION.yml +1 -1
  3. data/cap-recipes.gemspec +1 -1
  4. metadata +1 -1
@@ -100,6 +100,7 @@ h4. Configuration
100
100
  * local_ping_path - the localhost path to ping to start passenger [default: "http://localhost"]
101
101
 
102
102
  The following files and folders are expected to exist:
103
+
103
104
  * "#{base_ruby_path}/lib/ruby"
104
105
  * "#{base_ruby_path}/bin/ruby"
105
106
  * "#{base_ruby_path}/bin/gem"
@@ -144,10 +145,14 @@ h5. manage.rb
144
145
 
145
146
  h5. hooks.rb
146
147
 
147
- after "deploy:update_code", "rails:symlink_db_config" # copy database.yml file to release path
148
- after "deploy:update_code", "rails:sweep:cache" # clear cache after updating code
149
- after "deploy:restart" , "rails:repair_permissions" # fix the permissions to work properly
150
- after "deploy:restart" , "rails:ping" # ping passenger to start the rails instance
148
+ <pre>
149
+ <code>
150
+ after "deploy:update_code", "rails:symlink_db_config" # copy database.yml file to release path
151
+ after "deploy:update_code", "rails:sweep:cache" # clear cache after updating code
152
+ after "deploy:restart" , "rails:repair_permissions" # fix the permissions to work properly
153
+ after "deploy:restart" , "rails:ping" # ping passenger to start the rails instance
154
+ </code>
155
+ </pre>
151
156
 
152
157
  h3. DelayedJob
153
158
 
@@ -168,9 +173,13 @@ h5. manage.rb
168
173
 
169
174
  h5. hooks.rb
170
175
 
171
- after "deploy:start", "delayed_job:start"
172
- after "deploy:stop", "delayed_job:stop"
173
- after "deploy:restart", "delayed_job:restart"
176
+ <pre>
177
+ <code>
178
+ after "deploy:start", "delayed_job:start"
179
+ after "deploy:stop", "delayed_job:stop"
180
+ after "deploy:restart", "delayed_job:restart"
181
+ </code>
182
+ </pre>
174
183
 
175
184
  h3. Backgroundrb
176
185
 
@@ -194,9 +203,13 @@ h5. manage.rb
194
203
 
195
204
  h5. hooks.rb
196
205
 
197
- after "deploy:update_code" , "backgroundrb:symlink_config" # copy backgroundrb config to release
198
- after "deploy:restart" , "backgroundrb:restart" # restart backgroundrb daemon
199
- after "backgroundrb:restart" , "backgroundrb:repair_permissions" # restart backgroundrb damon
206
+ <pre>
207
+ <code>
208
+ after "deploy:update_code" , "backgroundrb:symlink_config" # copy backgroundrb config to release
209
+ after "deploy:restart" , "backgroundrb:restart" # restart backgroundrb daemon
210
+ after "backgroundrb:restart" , "backgroundrb:repair_permissions" # restart backgroundrb damon
211
+ </code>
212
+ </pre>
200
213
 
201
214
  h3. Juggernaut
202
215
 
@@ -220,8 +233,12 @@ h5. manage.rb
220
233
 
221
234
  h5. hooks.rb
222
235
 
223
- after "deploy:update_code", "juggernaut:symlink_config" # copy juggernaut.yml to release
224
- after "deploy:restart" , "juggernaut:restart" # restart juggernaut daemon
236
+ <pre>
237
+ <code>
238
+ after "deploy:update_code", "juggernaut:symlink_config" # copy juggernaut.yml to release
239
+ after "deploy:restart" , "juggernaut:restart" # restart juggernaut daemon
240
+ </code>
241
+ </pre>
225
242
 
226
243
  h3. Memcache
227
244
 
@@ -249,7 +266,11 @@ h5. install.rb
249
266
 
250
267
  h5. hooks
251
268
 
252
- after "deploy:restart", "memcache:restart" # clear cache after updating code
269
+ <pre>
270
+ <code>
271
+ after "deploy:restart", "memcache:restart" # clear cache after updating code
272
+ </code>
273
+ </pre>
253
274
 
254
275
  h3. Whenever
255
276
 
@@ -267,8 +288,12 @@ h5. manage.rb
267
288
 
268
289
  h5. hooks
269
290
 
270
- after "deploy:symlink", "whenever:update_crontab"
271
-
291
+ <pre>
292
+ <code>
293
+ after "deploy:symlink", "whenever:update_crontab"
294
+ </code>
295
+ </pre>
296
+
272
297
  h2. EXAMPLE
273
298
 
274
299
  Here is a sample deploy.rb file using cap_recipes:
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 23
4
+ :patch: 24
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cap-recipes}
8
- s.version = "0.3.23"
8
+ s.version = "0.3.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Esquenazi"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.23
4
+ version: 0.3.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi