<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>VERSION</filename>
    </added>
    <added>
      <filename>acts_as_audited.gemspec</filename>
    </added>
    <added>
      <filename>rails/init.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 acts_as_audited_plugin.sqlite3.db
 test/debug.log
-coverage/
\ No newline at end of file
+coverage/
+pkg
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -6,14 +6,15 @@ The purpose of this fork is to store both the previous values and the changed va
 
 == Installation
 
-* Install the plugin into your rails app
-  If you are using Rails 2.1:
+* acts_as_audited can be installed as a gem:
+    
+    # config/environment.rb
+    config.gem 'collectiveidea-acts_as_audited', :lib =&gt; false,
+      :source =&gt; 'http://gems.github.com'
 
-    script/plugin install git://github.com/collectiveidea/acts_as_audited.git
-
-  For versions prior to 2.1:
+  or a plugin:
 
-    git clone git://github.com/collectiveidea/acts_as_audited.git vendor/plugins/acts_as_audited
+    script/plugin install git://github.com/collectiveidea/acts_as_audited.git
 
 * Generate the migration
     script/generate audited_migration add_audits_table</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -6,6 +6,24 @@ require 'rake/rdoctask'
 desc 'Default: run tests.'
 task :default =&gt; :test
 
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |gem|
+    gem.name = &quot;acts_as_audited&quot;
+    gem.summary = %Q{ActiveRecord extension that logs all changes to your models in an audits table}
+    gem.email = &quot;brandon@opensoul.org&quot;
+    gem.homepage = &quot;http://github.com/collectiveidea/acts_as_audited&quot;
+    gem.authors = [&quot;Brandon Keepers&quot;]
+    gem.add_dependency 'activerecord', '&gt;=2.1'
+    gem.add_development_dependency &quot;thoughtbot-shoulda&quot;
+    gem.add_development_dependency &quot;jnunemaker-matchy&quot;
+    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+  end
+  # Jeweler::GemcutterTasks.new
+rescue LoadError
+  puts &quot;Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler&quot;
+end
+
 desc 'Test the acts_as_audited plugin'
 Rake::TestTask.new(:test) do |t|
   t.libs &lt;&lt; 'lib'
@@ -13,6 +31,22 @@ Rake::TestTask.new(:test) do |t|
   t.verbose = true
 end
 
+task :test =&gt; :check_dependencies
+
+begin
+  require 'rcov/rcovtask'
+  Rcov::RcovTask.new do |test|
+    test.libs &lt;&lt; 'test'
+    test.pattern = 'test/**/*_test.rb'
+    test.verbose = true
+    test.rcov_opts = %w(--exclude test,/usr/lib/ruby,/Library/Ruby,$HOME/.gem --sort coverage)
+  end
+rescue LoadError
+  task :rcov do
+    abort &quot;RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov&quot;
+  end
+end
+
 desc 'Generate documentation for the acts_as_audited plugin.'
 Rake::RDocTask.new(:rdoc) do |rdoc|
   rdoc.rdoc_dir = 'doc'
@@ -20,4 +54,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
   rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
   rdoc.rdoc_files.include('README')
   rdoc.rdoc_files.include('lib/**/*.rb')
-end
\ No newline at end of file
+end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1 @@
-require 'acts_as_audited/audit'
-require 'acts_as_audited'
-
-ActiveRecord::Base.send :include, CollectiveIdea::Acts::Audited
-
-if defined?(ActionController) and defined?(ActionController::Base)
-  require 'acts_as_audited/audit_sweeper'
-  ActionController::Base.send :include, CollectiveIdea::ActionController::Audited
-end
+require File.join(File.dirname(__FILE__), 'rails', 'init')
\ No newline at end of file</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,21 +1,21 @@
 sqlite:
-  :adapter: sqlite
-  :dbfile: acts_as_audited_plugin.sqlite.db
+  adapter: sqlite
+  database: acts_as_audited_plugin.sqlite.db
 sqlite3mem:
-  :adapter: sqlite3
-  :dbfile: &quot;:memory:&quot;
+  adapter: sqlite3
+  database: &quot;:memory:&quot;
 sqlite3:
-  :adapter: sqlite3
-  :dbfile: acts_as_audited_plugin.sqlite3.db
+  adapter: sqlite3
+  database: acts_as_audited_plugin.sqlite3.db
 postgresql:
-  :adapter: postgresql
-  :username: postgres
-  :password: postgres
-  :database: acts_as_audited_plugin_test
-  :min_messages: ERROR
+  adapter: postgresql
+  username: postgres
+  password: postgres
+  database: acts_as_audited_plugin_test
+  min_messages: ERROR
 mysql:
-  :adapter: mysql
-  :host: localhost
-  :username: root
-  :password:
-  :database: acts_as_audited_plugin_test
+  adapter: mysql
+  host: localhost
+  username: root
+  password:
+  database: acts_as_audited_plugin_test</diff>
      <filename>test/db/database.yml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>tasks/acts_as_audited_tasks.rake</filename>
    </removed>
    <removed>
      <filename>test.txt</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>f10daac031af4844eda8ee4388ece3b7ad251441</id>
    </parent>
  </parents>
  <author>
    <name>Brandon Keepers</name>
    <email>brandon@collectiveidea.com</email>
  </author>
  <url>http://github.com/collectiveidea/acts_as_audited/commit/a35ea052f327ec894df7603f4346d44b4fb37a05</url>
  <id>a35ea052f327ec894df7603f4346d44b4fb37a05</id>
  <committed-date>2009-09-28T17:48:35-07:00</committed-date>
  <authored-date>2009-09-06T09:28:02-07:00</authored-date>
  <message>Gemified</message>
  <tree>2efa1d38d720eda2b13135d9a934dac11aeba219</tree>
  <committer>
    <name>Brandon Keepers</name>
    <email>brandon@collectiveidea.com</email>
  </committer>
</commit>
