<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>doc/sinatra.txt</filename>
    </added>
    <added>
      <filename>lib/scaffolding_extensions/controller/sinatra.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -7,7 +7,7 @@ interface to perform common actions on models.  It has the following features:
   searching, and merging records
 * Choose which fields are displayed in the scaffolds and in which order
 * Handles associated records for common one-to-many, many-to-one, and
-  many-to-many associations.
+  many-to-many associations
 * Extensive support for modifying the display and working of the plugin
 * Advanced features such as access control, autocompleting, and eager loading
 
@@ -22,11 +22,11 @@ The current version of Scaffolding Extensions is quite different from older
 versions (svn revision 89 and previous).  For upgrading from an older version,
 see the conversion.txt file.
 
-Scaffolding Extensions currently supports Rails 2.0, Ramaze 0.3.5, and
-Camping 1.5 web frameworks.  It supports the ActiveRecord and DataMapper
+Scaffolding Extensions currently supports Rails 2.0, Ramaze 0.3.5, Camping 1.5,
+and Sinatra 0.1.7 web frameworks.  It supports the ActiveRecord and DataMapper
 ORMs.  Support for other web frameworks and ORMs can be added, see the
-controller_spec.txt and model_spec.txt files for the methods that need
-to be defined.
+controller_spec.txt and model_spec.txt files for the methods that need to be
+defined.
 
 Older versions of Rails should be able to use an older version of the plugin,
 which won't be discussed further as it is substantially different from the</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Camping doesn't have a defined folder structure for models, so
 scaffold_all_models shouldn't be used unless you pass the :only option, which
-gives a list models to scaffold.
+gives a list of models to scaffold.
 
 Camping also doesn't have a defined structure for plugins, so you'll need to
 add scaffolding_extensions to the load path and then require it.  If you store</diff>
      <filename>doc/camping.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1,2 @@
+$:.unshift(File.join(File.dirname(__FILE__), 'lib')) if defined?(Sinatra)
 require 'scaffolding_extensions'</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -76,6 +76,7 @@ require 'scaffolding_extensions/prototype_helper'
 require 'scaffolding_extensions/controller/action_controller' if defined? ActionController::Base
 require 'scaffolding_extensions/controller/camping' if defined? Camping::Controllers
 require 'scaffolding_extensions/controller/ramaze' if defined? Ramaze::Controller
+require 'scaffolding_extensions/controller/sinatra' if defined? Sinatra
 
 require 'scaffolding_extensions/model/active_record' if defined? ActiveRecord::Base
 require 'scaffolding_extensions/model/data_mapper' if defined? DataMapper::Base</diff>
      <filename>lib/scaffolding_extensions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@ require 'cgi'
 module ScaffoldingExtensions
   class &lt;&lt; self
     private
-      # Capming doesn't have a default location for models, so assume none
+      # Camping doesn't have a default location for models, so assume none
       def model_files
         @model_files ||= []
       end</diff>
      <filename>lib/scaffolding_extensions/controller/camping.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ce10c8fefbbf45a4b2d79d82655ec999fe071019</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </author>
  <url>http://github.com/jeremyevans/scaffolding_extensions/commit/7ff9da00d1d819c6371d50ea10f979b2b67c79bb</url>
  <id>7ff9da00d1d819c6371d50ea10f979b2b67c79bb</id>
  <committed-date>2008-02-25T13:30:11-08:00</committed-date>
  <authored-date>2008-02-25T13:30:11-08:00</authored-date>
  <message>Add support for the Sinatra web framework
Modify init.rb to support seemless working as a Sinatra plugin</message>
  <tree>3b4fa6683ca1ba8b2911afad8ee1c0f2373ad81f</tree>
  <committer>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </committer>
</commit>
