<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
    <added>
      <filename>Rakefile</filename>
    </added>
    <added>
      <filename>authlogic/spec/views/home/index.html.haml_spec.rb</filename>
    </added>
    <added>
      <filename>common/app/controllers/application_controller.rb</filename>
    </added>
    <added>
      <filename>common/app/views/layouts/application.html.haml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,6 +6,7 @@ class ApplicationController &lt; ActionController::Base
   helper_method :current_user_session, :current_user
   filter_parameter_logging :password, :password_confirmation
   before_filter :blackbird_override
+  before_filter :activate_authlogic
 
   protect_from_forgery # See ActionController::RequestForgeryProtection for details
 </diff>
      <filename>authlogic/app/controllers/application_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -81,6 +81,7 @@ run 'mkdir -p spec/fixtures'
   controllers/password_reset_controller_spec.rb
   controllers/user_sessions_controller_spec.rb
   controllers/users_controller_spec.rb
+  views/home/index.html.haml_spec.rb
 ).each do |name|
   file &quot;spec/#{name}&quot;, open(&quot;#{SOURCE}/authlogic/spec/#{name}&quot;).read
 end</diff>
      <filename>authlogic/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,15 +25,17 @@ git :add =&gt; &quot;.&quot;
 git :commit =&gt; &quot;-a -m 'Initial commit'&quot;
 
 # Haml, doing this before gemtools install since we are using 2.1
-unless File.exist?('tmp/haml')
-  inside('tmp') do
-    run 'rm -rf ./haml' if File.exist?('haml')
-    run 'git clone git://github.com/nex3/haml.git'
+if `gem list haml | grep 2.1.0`.chomp == ''
+  unless File.exist?('tmp/haml')
+    inside('tmp') do
+      run 'rm -rf ./haml' if File.exist?('haml')
+      run 'git clone git://github.com/nex3/haml.git'
+    end
   end
-end
 
-inside('tmp/haml') do
-  run 'rake install'
+  inside('tmp/haml') do
+    run 'rake install'
+  end
 end
 
 run 'echo N\n | haml --rails .'
@@ -156,12 +158,24 @@ file 'public/blackbird/blackbird.png',
 git :add =&gt; &quot;.&quot;
 git :commit =&gt; &quot;-a -m 'Added Blackbird'&quot;
 
+# Add ApplicationController
+file 'app/controllers/application_controller.rb',
+  open(&quot;#{SOURCE}/common/app/controllers/application_controller.rb&quot;).read
+git :add =&gt; &quot;.&quot;
+git :commit =&gt; &quot;-a -m 'Added ApplicationController'&quot;
+
 # Add ApplicationHelper
 file 'app/helpers/application_helper.rb',
   open(&quot;#{SOURCE}/common/app/helpers/application_helper.rb&quot;).read
 git :add =&gt; &quot;.&quot;
 git :commit =&gt; &quot;-a -m 'Added ApplicationHelper'&quot;
 
+# Add Layout
+file 'app/views/layouts/application.html.haml',
+  open(&quot;#{SOURCE}/common/app/views/layouts/application.html.haml&quot;).read
+git :add =&gt; &quot;.&quot;
+git :commit =&gt; &quot;-a -m 'Added Layout'&quot;
+
 # Remove index.html and add HomeController
 git :rm =&gt; 'public/index.html'
 generate :rspec_controller, 'home'
@@ -195,7 +209,11 @@ EOQ
     nil
 end
 
-load_template(templ) unless templ.nil?
+if templ.nil?
+
+else
+  load_template(templ)
+end
 
 puts &quot;\n#{'*' * 80}\n\n&quot;
 unless @auth_message.nil?</diff>
      <filename>base.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bc149ea9c8af6a349faee3c4950ac35ac496b6c2</id>
    </parent>
  </parents>
  <author>
    <name>Michael Moen</name>
    <email>michael@underpantsgnome.com</email>
  </author>
  <url>http://github.com/pixels-and-bits/strappy/commit/b66d0fb511a07b7d86c4f30332aa74af981fab87</url>
  <id>b66d0fb511a07b7d86c4f30332aa74af981fab87</id>
  <committed-date>2009-02-20T14:21:29-08:00</committed-date>
  <authored-date>2009-02-20T14:21:29-08:00</authored-date>
  <message>setup tests for the generated apps</message>
  <tree>3d27af465dce505d478b0701cbb15236be617738</tree>
  <committer>
    <name>Michael Moen</name>
    <email>michael@underpantsgnome.com</email>
  </committer>
</commit>
