<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
-Copyright (c) 2007 YOUR NAME
+Copyright (c) 2007-2008, 
+Duane Johnson, Wayne E. Seguin, Lance Carlson, Michael S. Klishin.
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the</diff>
      <filename>merb_sequel/LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -1,10 +1,47 @@
 = merb_sequel
 
-A plugin for the Merb framework that provides Sequel access
+A plugin for the Merb framework that provides support for Sequel models.
+
+
+= Connection options
+
+Merb Sequel plugin uses config/database.yml for connection configuration.
+
+Options are:
+
+* adapter. :sqlite is assumed by default.
+* host. localhost is assumed by default.
+* username or user, default is an empty string
+* database, default is &quot;hey_dude_configure_your_database&quot;. This should be
+  either :memory: or file path for SQLite.
+* encoding or charset, default is utf8.
+* password. WARNING: default password is an empty string.
+* db_type: default is nil. Use &quot;mssql&quot; to connect to MSSQL using ODBC.
+
+
+= Generators
+
+After you install the plugin, merb-gen can generate Sequel models for you:
+
+merb-gen model --orm=sequel Article
+
+same with resources
+
+merb-gen resource --orm=sequel Article
+
+
+Note that if you have specified that you use Sequel in init.rb or environment
+specific init file (for instance, environments/development.rb)
+via use_orm :sequel, you need no specify --orm option explicitly when
+using merb-gen.
 
-After you install the plugin, you have access to the sequel_migration generator in your merb projects
-example: /merb/root/script/generate sequel_migration new_migration
 
 = Contributors
 
-originally written by Duane Johnson (canadaduane@gmail.com).
+Originally written by Duane Johnson (canadaduane@gmail.com).
+
+Contributions by:
+* Wayne E. Seguin
+* Lance Carlson
+
+Maintained by Michael S. Klishin (michael at novemberain.com)
\ No newline at end of file</diff>
      <filename>merb_sequel/README</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,2 @@
 TODO:
-Fix LICENSE with your name
-Fix Rakefile with your name and contact info
-Add your code to lib/merb_sequel.rb
-Add your Merb rake tasks to lib/merb_sequel/merbtasks.rb
\ No newline at end of file
+* More meaningful messages for cases with misconfigured database.yml.
\ No newline at end of file</diff>
      <filename>merb_sequel/TODO</filename>
    </modified>
    <modified>
      <diff>@@ -45,14 +45,21 @@ module Merb
         
         def config_options(config = {})
           options = {}
+          
+          # Use SQLite by default
           options[:adapter]  = (config[:adapter]  || &quot;sqlite&quot;)
-          options[:host]     = (config[:host]     || &quot;localhost&quot;)
+          # Use localhost as default host
+          options[:host]     = (config[:host]     || &quot;localhost&quot;)          
+          # Default user is an empty string. Both username and user keys are supported.
           options[:user]     = (config[:username] || config[:user] || &quot;&quot;)
-          options[:password] = config[:password] if config[:password]
-          if (config[:encoding] || config[:charset])
-            options[:encoding] = (config[:encoding] || config[:charset])
-          end
-          options[:database] = config[:database]  if config[:database]
+          
+          options[:password] = config[:password] || &quot;&quot;
+          
+          # Both encoding and charset options are supported, default is utf8
+          options[:encoding] = (config[:encoding] || config[:charset] || &quot;utf8&quot;)
+          # Default database is hey_dude_configure_your_database
+          options[:database] = config[:database] || &quot;hey_dude_configure_your_database&quot;
+          # MSSQL support
           options[:db_type] = config[:db_type]  if config[:db_type]
           options[:logger]   = Merb.logger
           options</diff>
      <filename>merb_sequel/lib/merb/orms/sequel/connection.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f5a3f55eaf44b224a454ddc08c624130811ae65b</id>
    </parent>
  </parents>
  <author>
    <name>Michael S. Klishin</name>
    <email>michael@novemberain.com</email>
  </author>
  <url>http://github.com/wycats/merb-plugins/commit/39fabf3e69c50d7eca4d54f1dd47e720c432f139</url>
  <id>39fabf3e69c50d7eca4d54f1dd47e720c432f139</id>
  <committed-date>2008-12-12T16:15:53-08:00</committed-date>
  <authored-date>2008-10-10T06:06:36-07:00</authored-date>
  <message>Add contributors to LICENSE, update README, tweak connection defaults.</message>
  <tree>1a03ef0bb7879c7d29ff1f82e5c038c701041b0f</tree>
  <committer>
    <name>Matt Aimonetti</name>
    <email>mattaimonetti@gmail.com</email>
  </committer>
</commit>
