<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,22 +35,4 @@ task :stop do
 		puts &quot;Killing old server #{pid}&quot;
 		kill_process(pid)
 	end
-end
-
-task :environment do
-	require 'sequel'
-	DB = Sequel.connect('sqlite://blog.db')
-	$LOAD_PATH.unshift(File.dirname(__FILE__) + '/lib')
-	require 'post'
-end
-
-task :import =&gt; :environment do
-	url = ENV['URL'] or raise &quot;No url specified, use URL=&quot;
-
-	require 'rest_client'
-	posts = YAML.load RestClient.get(url)
-
-	posts.each do |post|
-		DB[:posts] &lt;&lt; post
-	end
-end
+end
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,13 +1,15 @@
-require File.dirname(__FILE__) + '/../vendor/couchrest/couchrest'
-
+#require File.dirname(__FILE__) + '/../vendor/couchrest/couchrest'
+require 'rubygems'
+require 'couchrest'
 require File.dirname(__FILE__) + '/../vendor/maruku/maruku'
 
 $LOAD_PATH.unshift File.dirname(__FILE__) + '/../vendor/syntax'
 require 'syntax/convertors/html'
 
-CouchRest::Model.default_database = CouchRest.database!((Blog.url_base_database || '') + Blog.database_name)
-
 class Post &lt; CouchRest::Model
+  use_database CouchRest.database!((Blog.url_base_database || '') + Blog.database_name)
+  #use_database CouchRest.database!('test_db_75')
+    
   key_accessor :title, :body, :slug, :tags
   
   view_by :created_at, :descending=&gt;true</diff>
      <filename>lib/post.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vendor/sequel/sequel.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/ado.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/db2.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/dbi.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/informix.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/jdbc.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/jdbc/mysql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/jdbc/oracle.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/jdbc/postgresql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/jdbc/sqlite.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/mysql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/odbc.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/openbase.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/oracle.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/postgres.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/shared/mssql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/shared/mysql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/shared/oracle.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/shared/postgres.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/shared/sqlite.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/adapters/sqlite.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/connection_pool.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/core_ext.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/core_sql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/database.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/database/schema.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/callback.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/convenience.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/pagination.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/prepared_statements.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/query.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/schema.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/dataset/sql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/deprecated.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/exceptions.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/migration.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/object_graph.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/pretty_table.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/schema.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/schema/generator.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/schema/sql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_core/sql.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/association_reflection.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/associations.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/base.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/caching.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/dataset_methods.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/eager_loading.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/hooks.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/inflector.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/plugins.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/record.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/schema.rb</filename>
    </removed>
    <removed>
      <filename>vendor/sequel/sequel_model/validations.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>73a169a362c6eb218fa41db375e1767c641e3b1d</id>
    </parent>
  </parents>
  <author>
    <name>joel</name>
    <email>joel@jtulloch.com</email>
  </author>
  <url>http://github.com/jtulloch/scanty/commit/074fbe2dae75ace6c58696c91efa3878eeabe692</url>
  <id>074fbe2dae75ace6c58696c91efa3878eeabe692</id>
  <committed-date>2008-12-07T11:01:56-08:00</committed-date>
  <authored-date>2008-12-07T11:01:56-08:00</authored-date>
  <message>updated Rakefile and got rid of Sequel vendor files</message>
  <tree>9ec09a64f79b3be5097fb8d4ad53ebae48eb5e8b</tree>
  <committer>
    <name>joel</name>
    <email>joel@jtulloch.com</email>
  </committer>
</commit>
