<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>CHANGELOG.markdown</filename>
    </added>
    <added>
      <filename>examples/routes.rb</filename>
    </added>
    <added>
      <filename>examples/users_controller.rb</filename>
    </added>
    <added>
      <filename>examples/voteable.html.erb</filename>
    </added>
    <added>
      <filename>examples/voteable.rb</filename>
    </added>
    <added>
      <filename>examples/voteables_controller.rb</filename>
    </added>
    <added>
      <filename>examples/votes/_voteable_vote.html.erb</filename>
    </added>
    <added>
      <filename>examples/votes/create.rjs</filename>
    </added>
    <added>
      <filename>examples/votes_controller.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -9,6 +9,9 @@ class ActsAsVoteableMigration &lt; ActiveRecord::Migration
 
     add_index :votes, [&quot;voter_id&quot;, &quot;voter_type&quot;],       :name =&gt; &quot;fk_voters&quot;
     add_index :votes, [&quot;voteable_id&quot;, &quot;voteable_type&quot;], :name =&gt; &quot;fk_voteables&quot;
+
+    # If you want to enfore &quot;One Person, One Vote&quot; rules in the database, uncomment the index below
+    # add_index :votes, [&quot;voter_id&quot;, &quot;voter_type&quot;, &quot;voteable_id&quot;, &quot;voteable_type&quot;], :unique =&gt; true, :name =&gt; &quot;uniq_one_vote_only&quot;
   end
 
   def self.down</diff>
      <filename>generators/voteable/templates/migration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = &quot;vote_fu&quot;
-  s.version = &quot;0.0.1&quot;
+  s.version = &quot;0.0.2&quot;
   s.date = &quot;2008-07-10&quot;
   s.summary = &quot;Voting for ActiveRecord with multiple vote sources and advanced features.&quot;
   s.email = &quot;pete@peteonrails.com&quot;
@@ -20,6 +20,14 @@ Gem::Specification.new do |s|
               &quot;lib/acts-as-voteable.rb&quot;,
               &quot;lib/acts_as_voter.rb&quot;,
               &quot;rails/init.rb&quot;,
-              &quot;test/voteable_test.rb&quot;
-              &quot;uninstall.rb&quot; ]
+              &quot;test/voteable_test.rb&quot;,
+              &quot;examples/votes_controller.rb&quot;,
+              &quot;examples/users_controller.rb&quot;,
+              &quot;examples/voteables_controller.rb&quot;,
+              &quot;examples/voteable.rb&quot;,
+              &quot;examples/voteable.html.erb&quot;
+              &quot;examples/votes/_voteable_vote.html.erb&quot;
+              &quot;examples/votes/create.rjs&quot;
+              &quot;examples/routes.rb&quot;
+               ]
 end
\ No newline at end of file</diff>
      <filename>vote_fu.gemspec</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>CHANGELOG</filename>
    </removed>
    <removed>
      <filename>lib/controllers/votes_controller.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>0bb0846f35150e95122f54bf1268e5c814c97b9b</id>
    </parent>
  </parents>
  <author>
    <name>Peter Jackson</name>
    <email>pete@peteonrails.com</email>
  </author>
  <url>http://github.com/peteonrails/vote_fu/commit/9ce041cfef4429c3eb551f9c337fd0e6de21f7d6</url>
  <id>9ce041cfef4429c3eb551f9c337fd0e6de21f7d6</id>
  <committed-date>2008-07-14T23:12:27-07:00</committed-date>
  <authored-date>2008-07-14T23:12:27-07:00</authored-date>
  <message>Added examples directory
Changed this file to markdown format for GitHub goodness
Added a commented out unique index in the migration generator for &quot;one person, one vote&quot;
Removed votes_controller.rb from lib/ and moved to examples</message>
  <tree>b00961d89052436afcd38049a74ac8d6b3f66ad5</tree>
  <committer>
    <name>Peter Jackson</name>
    <email>pete@peteonrails.com</email>
  </committer>
</commit>
