nesquena-cap-recipes 0.2.12 → 0.2.13

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/README.textile CHANGED
@@ -38,6 +38,7 @@ h3. Passenger
38
38
  h4. Configuration
39
39
 
40
40
  * base_ruby_path - the base path to the ruby installation [default: "/usr"]
41
+ * local_ping_path - the localhost path to ping to start passenger [default: "http://localhost"]
41
42
 
42
43
  The following files and folders are expected to exist:
43
44
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 12
2
+ :patch: 13
3
3
  :major: 0
4
4
  :minor: 2
@@ -1,7 +1,8 @@
1
1
  require 'cap_recipes/tasks/with_scope.rb'
2
2
 
3
3
  Capistrano::Configuration.instance(true).load do
4
- set :base_ruby_path, '/usr'
4
+ set :base_ruby_path, '/usr'
5
+ set :local_ping_path, 'http://localhost'
5
6
 
6
7
  # ===============================================================
7
8
  # DEPLOYMENT SCRIPTS
@@ -74,7 +75,7 @@ Capistrano::Configuration.instance(true).load do
74
75
  desc "Pings the root localhost to startup passenger"
75
76
  task :ping, :roles => :web do
76
77
  puts "Pinging the web server to start passenger"
77
- run "wget -O /dev/null http://localhost/ 2>/dev/null"
78
+ run "wget -O /dev/null #{local_ping_path}"
78
79
  end
79
80
  end
80
81
 
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.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi