<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>merb-haml/lib/generators/controller.rb</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/layout.rb</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/resource_controller.rb</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/controller/app/views/%file_name%/index.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/layout/app/views/layout/%file_name%.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/activerecord/app/views/%file_name%/edit.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/activerecord/app/views/%file_name%/index.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/activerecord/app/views/%file_name%/new.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/activerecord/app/views/%file_name%/show.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/edit.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/index.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/new.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/datamapper/app/views/%file_name%/show.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/none/app/views/%file_name%/edit.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/none/app/views/%file_name%/index.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/none/app/views/%file_name%/new.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/none/app/views/%file_name%/show.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/sequel/app/views/%file_name%/edit.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/sequel/app/views/%file_name%/index.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/sequel/app/views/%file_name%/new.html.haml</filename>
    </added>
    <added>
      <filename>merb-haml/lib/generators/templates/resource_controller/sequel/app/views/%file_name%/show.html.haml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,7 @@ module Merb::Generators
     DESC
     
     option :testing_framework, :desc =&gt; 'Testing framework to use (one of: spec, test_unit)'
+    option :template_engine, :default =&gt; :erb, :desc =&gt; 'Template engine to use (one of: erb, haml, markaby, etc...)'
     
     first_argument :name, :required =&gt; true, :desc =&gt; &quot;controller name&quot;
     
@@ -21,7 +22,7 @@ module Merb::Generators
       destination(&quot;app/controllers&quot;, base_path, &quot;#{file_name}.rb&quot;)
     end
     
-    template :index do
+    template :index_erb, :template_engine =&gt; :erb do
       source('app/views/%file_name%/index.html.erb')
       destination(&quot;app/views&quot;, base_path, &quot;#{file_name}/index.html.erb&quot;)
     end</diff>
      <filename>merb-gen/lib/generators/controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,4 +17,10 @@ if defined?(Merb::Plugins)
       self
     end
   end
+  
+  generators = File.join(File.dirname(__FILE__), 'generators')
+  Merb.add_generators generators / &quot;resource_controller&quot;
+  Merb.add_generators generators / &quot;controller&quot;
+  Merb.add_generators generators / &quot;layout&quot;
+  
 end
\ No newline at end of file</diff>
      <filename>merb-haml/lib/merb-haml.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0232f1c07806a756e22b4a2488fe35101376020c</id>
    </parent>
  </parents>
  <author>
    <name>Michael S. Klishin</name>
    <email>michael@novemberain.com</email>
  </author>
  <url>http://github.com/wycats/merb-more/commit/e9f309ede5289fc80b6ac04e28cd8727f1a63677</url>
  <id>e9f309ede5289fc80b6ac04e28cd8727f1a63677</id>
  <committed-date>2008-08-09T12:01:23-07:00</committed-date>
  <authored-date>2008-08-09T12:01:23-07:00</authored-date>
  <message>Merged in HAML generators.

This adds --template-engine option to generator
and HAML templates.

Squashed commit of the following:

commit 0fb870a171cbccf9c0689ca2109ce8efc2bf4c4b
Author: Jonas Nicklas &lt;jonas.nicklas@gmail.com&gt;
Date:   Sat Aug 9 15:14:17 2008 +0200

    added haml templates for layout, resource_controller and controller generators (thanks jonuts)

commit eeecf5ff05677b11e39bcf310271dca5a155253d
Author: Jonas Nicklas &lt;jonas.nicklas@gmail.com&gt;
Date:   Sat Aug 9 14:30:16 2008 +0200

    made erb template engine explicit for controller generator</message>
  <tree>b1582331b26033f785e47f47f16b1b12b038b6ea</tree>
  <committer>
    <name>Michael S. Klishin</name>
    <email>michael@novemberain.com</email>
  </committer>
</commit>
