<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,11 @@
 ENV['TZ'] = 'Australia/Sydney'
 
 require 'rubygems'
-gem 'sinatra', '~&gt; 0.3'
+
+gem 'rack', '0.9.1'
+require 'rack'
+
+gem 'sinatra', '0.9.0.4'
 require 'sinatra'
 
 gem 'teapot', '~&gt; 1'
@@ -18,4 +22,4 @@ require File.join(File.dirname(__FILE__), &quot;toolmantim.rb&quot;)
 
 use Teapot, &quot;English Breakfast&quot;
 
-run Sinatra.application
+run Sinatra::Application</diff>
      <filename>config.ru</filename>
    </modified>
    <modified>
      <diff>@@ -1,16 +1,20 @@
 require 'rubygems'
-gem 'sinatra', '~&gt; 0.3'
+gem 'sinatra', '0.9.0.4'
 require 'sinatra'
 
-gem 'haml', '~&gt; 2.0'
-gem 'RedCloth', '~&gt; 3'
+gem 'haml', '~&gt; 2.0.0'
+require 'haml'
+
+gem 'RedCloth', '~&gt; 3.0'
 gem 'rdiscount'
 
+__DIR__ = File.dirname(__FILE__)
+
 %w(article quip).each do |model|
-  require File.join(File.dirname(__FILE__), &quot;/lib/#{model}&quot;)
+  load &quot;#{__DIR__}/lib/#{model}.rb&quot;
 end
 
-Article.path = File.join(Sinatra.application.options.root, &quot;articles&quot;)
+Article.path = &quot;#{__DIR__}/articles&quot;
 
 # Add Ruby 1.9's xmlschema method
 class Date
@@ -32,13 +36,13 @@ helpers do
     @articles[prev_index] unless prev_index &gt; @articles.length + 1
   end
   def versioned_stylesheet(stylesheet)
-    &quot;/stylesheets/#{stylesheet}.css?&quot; + File.mtime(File.join(Sinatra.application.options.views, &quot;stylesheets&quot;, &quot;#{stylesheet}.sass&quot;)).to_i.to_s
+    &quot;/stylesheets/#{stylesheet}.css?&quot; + File.mtime(File.join(Sinatra::Application.views, &quot;stylesheets&quot;, &quot;#{stylesheet}.sass&quot;)).to_i.to_s
   end
   def versioned_js(js)
-    &quot;/javascripts/#{js}.js?&quot; + File.mtime(File.join(Sinatra.application.options.public, &quot;javascripts&quot;, &quot;#{js}.js&quot;)).to_i.to_s
+    &quot;/javascripts/#{js}.js?&quot; + File.mtime(File.join(Sinatra::Application.public, &quot;javascripts&quot;, &quot;#{js}.js&quot;)).to_i.to_s
   end
   def versioned_favicon
-    &quot;/favicon.ico?&quot; + File.mtime(File.join(Sinatra.application.options.public, &quot;favicon.ico&quot;)).to_i.to_s
+    &quot;/favicon.ico?&quot; + File.mtime(File.join(Sinatra::Application.public, &quot;favicon.ico&quot;)).to_i.to_s
   end
   def partial(name)
     haml(:&quot;_#{name}&quot;, :layout =&gt; false)
@@ -70,7 +74,7 @@ end
 %w( screen ie7 ie6 tumble ).each do |stylesheet|
   get &quot;/stylesheets/#{stylesheet}.css&quot; do
     content_type 'text/css'
-    headers &quot;Expires&quot; =&gt; (Time.now + 60*60*24*356*3).httpdate # Cache for 3 years
+    response[&quot;Expires&quot;] = (Time.now + 60*60*24*356*3).httpdate # Cache for 3 years
     sass :&quot;stylesheets/#{stylesheet}&quot;
   end
 end
@@ -115,7 +119,7 @@ end
 
 get '/sample-tumble' do
   haml :sample_tumble
-end if Sinatra.application.options.env == :development
+end if Sinatra::Application.environment == :development
 
 not_found do
   content_type 'text/html'
@@ -126,4 +130,4 @@ error do
   @error = request.env['sinatra.error'].to_s
   content_type 'text/html'
   haml :error
-end unless Sinatra.application.options.env == :development
\ No newline at end of file
+end unless Sinatra::Application.environment == :development
\ No newline at end of file</diff>
      <filename>toolmantim.rb</filename>
    </modified>
    <modified>
      <diff>@@ -520,7 +520,7 @@ body.projects-js ol.projects &gt; li
   .link
     +standard_text_size
     a
-      :font-size = 1.8/1.4em
+      :font-size = 1.8em/1.4em
     
   .caption
     +standard_text_size</diff>
      <filename>views/stylesheets/screen.sass</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e4334ccad676b97d9a0b5e86d1a184f40935f7b1</id>
    </parent>
  </parents>
  <author>
    <name>Tim Lucas</name>
    <email>t.lucas@toolmantim.com</email>
  </author>
  <url>http://github.com/toolmantim/toolmantim/commit/58002a81f2370f9f56ef5de1ed8e266bac61d7b8</url>
  <id>58002a81f2370f9f56ef5de1ed8e266bac61d7b8</id>
  <committed-date>2009-02-22T17:23:04-08:00</committed-date>
  <authored-date>2009-02-22T17:23:04-08:00</authored-date>
  <message>Updated references to application, options and headers for Sinatra 0.9 compatibility</message>
  <tree>587e7e1b017635a5e2992d00f95f3e2f3c181374</tree>
  <committer>
    <name>Tim Lucas</name>
    <email>t.lucas@toolmantim.com</email>
  </committer>
</commit>
