<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>CHANGELOG</filename>
    </added>
    <added>
      <filename>MIT-LICENSE</filename>
    </added>
    <added>
      <filename>Rakefile</filename>
    </added>
    <added>
      <filename>acts_as_commentable_with_threading.gemspec</filename>
    </added>
    <added>
      <filename>init.rb</filename>
    </added>
    <added>
      <filename>install.rb</filename>
    </added>
    <added>
      <filename>lib/acts_as_commentable_with_threading.rb</filename>
    </added>
    <added>
      <filename>lib/comment.rb</filename>
    </added>
    <added>
      <filename>spec/comment_spec.rb</filename>
    </added>
    <added>
      <filename>spec/commentable_spec.rb</filename>
    </added>
    <added>
      <filename>spec/db/database.yml</filename>
    </added>
    <added>
      <filename>spec/db/schema.rb</filename>
    </added>
    <added>
      <filename>spec/debug.log</filename>
    </added>
    <added>
      <filename>spec/spec_helper.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -0,0 +1,75 @@
+Acts As Commentable
+=================
+
+Allows for threaded comments to be added to multiple and different models.  Drop-in compatible for acts_as_commentable (however requiring a database schema change)
+
+== Resources
+
+Install
+
+  Rails
+
+   * To install as a plugin:
+ 
+    script/plugin install http://github.com/jackdempsey/acts_as_commentable
+
+  Merb/Rails
+  
+   * To install as a gem:
+ 
+   rake install
+ 
+ * Create a new rails migration and add the following self.up and self.down methods
+ 
+  def self.up
+    create_table &quot;comments&quot;, :force =&gt; true do |t|
+      t.integer &quot;commentable_id&quot;, :default =&gt; 0
+      t.string &quot;commentable_type&quot;, :limit =&gt; 15, :default =&gt; &quot;&quot;
+      t.string &quot;title&quot;, :default =&gt; &quot;&quot;
+      t.text &quot;body&quot;, :default =&gt; &quot;&quot;
+      t.string &quot;subject&quot;, :default =&gt; &quot;&quot;
+      t.integer &quot;user_id&quot;, :default =&gt; 0, :null =&gt; false
+      t.integer &quot;parent_id&quot;
+      t.integer &quot;lft&quot;
+      t.integer &quot;rgt&quot;
+      t.timestamps
+    end
+  
+    add_index &quot;comments&quot;, &quot;user_id&quot;
+    add_index &quot;comments&quot;, &quot;commentable_id&quot;
+  end
+
+  def self.down
+    drop_table :comments
+  end
+
+== Usage
+ class Model &lt; ActiveRecord::Base
+ 	acts_as_commentable_with_threading
+ end
+ 
+ * Add a comment to a model instance
+ 
+ model = Model.new
+ comment = Comment.new(:model =&gt; model, :body =&gt; &quot;Your comment text here&quot;)
+ comment.save!
+ comment.move_to_child_of(the_desired_parent_comment)
+
+ # Following doesn't work/make sense to me. Leaving for historical sake -- Jack
+ # * Each comment reference commentable object
+ #
+ # model = Model.find(1)
+ # model.comments.get(0).commentable == model
+
+== Credits
+
+Jack Dempsey  - This plugin/gem is heavily influenced/liberally borrowed/stole from acts_as_commentable
+
+which in turn credits....
+
+Xelipe - Because acts_as_commentable was heavily influenced by Acts As Taggable.
+
+== More
+
+http://triple-dog-dare.com
+http://evan.tiggerpalace.com
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6fdbc68e971df10776eac0b378c580f1b11818cc</id>
    </parent>
  </parents>
  <author>
    <name>Evan David Light</name>
    <email>evan@tiggerpalace.com</email>
  </author>
  <url>http://github.com/elight/acts_as_commentable_with_threading/commit/7e57ef84cd530b70c89eeee5c2902cf60e7eab11</url>
  <id>7e57ef84cd530b70c89eeee5c2902cf60e7eab11</id>
  <committed-date>2008-11-16T09:01:14-08:00</committed-date>
  <authored-date>2008-11-16T09:01:14-08:00</authored-date>
  <message>All specs pass already.  Awesome.</message>
  <tree>0dcabee77945678a33e55f07db5c9f58e1eefe8f</tree>
  <committer>
    <name>Evan David Light</name>
    <email>evan@tiggerpalace.com</email>
  </committer>
</commit>
