<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,12 +1,24 @@
-# -*- ruby -*-
-
 require 'rubygems'
-require 'hoe'
-require File.dirname(__FILE__) + '/lib/permanent_records'
+require 'rake'
+
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |gem|
+    gem.name = &quot;permanent_records&quot;
+    gem.summary = %Q{Soft-delete your ActiveRecord records}
+    gem.description = %Q{Rather than actually deleting data this just sets Record#deleted_at.  Provides helpful scopes.}
+    gem.email = &quot;gems@6brand.com&quot;
+    gem.homepage = &quot;http://github.com/JackDanger/permanent_records&quot;
+    gem.authors = [&quot;Jack Danger Canty&quot;]
+  end
+rescue LoadError
+  puts &quot;Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler&quot;
+end
 
-Hoe.new('permanent_records', PermanentRecords::VERSION) do |p|
-  p.summary = &quot;Soft-delete your ActiveRecord data.&quot;
-  p.developer('Jack Danger Canty', 'gems@6brand.com')
+require 'rake/testtask'
+task :test do
+  exec &quot;ruby test/permanent_records_test.rb&quot;
 end
 
-# vim: syntax=Ruby
+task :default =&gt; :test
+</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,9 @@
 sqlite:
   :adapter: sqlite
-  :dbfile: plugin.sqlite.db
+  :database: plugin.sqlite.db
 sqlite3:
   :adapter: sqlite3
-  :dbfile: &quot;:memory:&quot;
+  :database: &quot;:memory:&quot;
 postgresql:
   :adapter: postgresql
   :username: postgres
@@ -15,4 +15,4 @@ mysql:
   :host: localhost
   :username: rails
   :password:
-  :database: plugin_test
\ No newline at end of file
+  :database: plugin_test</diff>
      <filename>test/database.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,10 @@
-require 'test/unit'
 require File.expand_path(File.dirname(__FILE__) + &quot;/test_helper&quot;)
 
 %w(hole mole muskrat kitty).each do |a|
   require File.expand_path(File.dirname(__FILE__) + &quot;/&quot; + a)
 end
 
-class PermanentRecordsTest &lt; Test::Unit::TestCase
+class PermanentRecordsTest &lt; ActiveSupport::TestCase
   
   def setup
     super</diff>
      <filename>test/permanent_records_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,10 +5,12 @@ $:.unshift(File.dirname(__FILE__) + '/../lib')
 RAILS_ROOT = File.dirname(__FILE__)
 
 require 'rubygems'
+gem 'test-unit'
 require 'test/unit'
 require 'active_record'
 require 'active_record/fixtures'
 require &quot;#{File.dirname(__FILE__)}/../init&quot;
+
 require File.expand_path(File.dirname(__FILE__) + &quot;/muskrat&quot;)
 
 config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
@@ -17,10 +19,8 @@ ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'sqlite3'])
 
 load(File.dirname(__FILE__) + &quot;/schema.rb&quot;) if File.exist?(File.dirname(__FILE__) + &quot;/schema.rb&quot;)
 
-Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + &quot;/fixtures/&quot;
-$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)
-
-class Test::Unit::TestCase #:nodoc:
+class ActiveSupport::TestCase #:nodoc:
+  include ActiveRecord::TestFixtures
   # def create_fixtures(*table_names)
   #   if block_given?
   #     Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names) { yield }
@@ -28,7 +28,10 @@ class Test::Unit::TestCase #:nodoc:
   #     Fixtures.create_fixtures(Test::Unit::TestCase.fixture_path, table_names)
   #   end
   # end
-
+  
+  self.fixture_path = File.dirname(__FILE__) + &quot;/fixtures/&quot;
+  $LOAD_PATH.unshift(fixture_path)
+  
   # Turn off transactional fixtures if you're working with MyISAM tables in MySQL
   self.use_transactional_fixtures = true
   
@@ -36,4 +39,4 @@ class Test::Unit::TestCase #:nodoc:
   self.use_instantiated_fixtures  = false
 
   # Add more helper methods to be used by all tests here...
-end
\ No newline at end of file
+end</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d943fbe0600ccd3963b208956d901dd717719af9</id>
    </parent>
  </parents>
  <author>
    <name>Jack Danger Canty</name>
    <email>gitcommit@6brand.com</email>
  </author>
  <url>http://github.com/JackDanger/permanent_records/commit/e424629030cee813f004045314a50a81a5e3ac92</url>
  <id>e424629030cee813f004045314a50a81a5e3ac92</id>
  <committed-date>2009-09-26T15:56:40-07:00</committed-date>
  <authored-date>2009-09-26T15:56:40-07:00</authored-date>
  <message>updating tests to pass on latest gems</message>
  <tree>1f136f9826866f580c7a7303e5d1bff5289f2c15</tree>
  <committer>
    <name>Jack Danger Canty</name>
    <email>gitcommit@6brand.com</email>
  </committer>
</commit>
