nesquena-cap-recipes 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 10
2
+ :patch: 11
3
3
  :major: 0
4
4
  :minor: 2
@@ -71,6 +71,11 @@ Capistrano::Configuration.instance(true).load do
71
71
  stream "tail -f #{shared_path}/log/production.log"
72
72
  end
73
73
 
74
+ desc "Pings the root localhost to startup passenger"
75
+ task :ping, :roles => :web do
76
+ puts "Pinging the web server to start passenger"
77
+ run "wget -O /dev/null http://localhost/ 2>/dev/null"
78
+ end
74
79
  end
75
80
 
76
81
  # ===============================================================
@@ -149,4 +154,5 @@ Capistrano::Configuration.instance(true).load do
149
154
  after "deploy:update_code", "deploy:copy_config" # copy database.yml file to release path
150
155
  after "deploy:update_code", "sweep:cache" # clear cache after updating code
151
156
  after "deploy:restart" , "deploy:repair_permissions" # fix the permissions to work properly
157
+ after "deploy:restart" , "deploy:ping" # ping passenger to start the rails instance
152
158
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nesquena-cap-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-03 00:00:00 -08:00
12
+ date: 2009-02-05 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15