<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@
 require File.dirname(__FILE__) + '/../lib/environment'
 
 before do
-  unless GODWEB_CONFIG['username'].nil? &amp;&amp; GODWEB_CONFIG['password'].nil?
+  unless (GODWEB_CONFIG['username'].nil? &amp;&amp; GODWEB_CONFIG['password'].nil?) || self.request.path_info == '/heartbeat'
     authenticate_or_request_with_http_basic &quot;GodWeb&quot; do
       |user, pass| user == GODWEB_CONFIG['username'] &amp;&amp; pass == GODWEB_CONFIG['password']
     end
@@ -44,10 +44,14 @@ get '/w/:watch/:command' do
   show(:command, &quot;#{@command}ing #{@watch}&quot;)
 end
 
+get '/heartbeat' do
+  @statuses = GODWEB.status
+  'OK'
+end
+
 private
 
   def show(template, title = 'GodWeb')
     @title = title
     erb(template)
   end
-  
\ No newline at end of file</diff>
      <filename>bin/god_web</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c7338484d530db817ce72fb8a1a44b9a68ea667e</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/jnewland/god_web/commit/f3e48ba149c53f0709fead411d649815dad6b64b</url>
  <id>f3e48ba149c53f0709fead411d649815dad6b64b</id>
  <committed-date>2008-07-08T08:27:04-07:00</committed-date>
  <authored-date>2008-07-08T08:27:04-07:00</authored-date>
  <message>add heartbeat method (checks to see if god is up) and exclude from authentication</message>
  <tree>80858398dbc7bd54745d732adccd46bc85d96823</tree>
  <committer>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </committer>
</commit>
