<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,8 @@
-=== 0.1.1 - 11.30.2008
+=== 0.1.3 - 01.19.2009
+
+* Bugfix: positive constraint fixed from &gt;0 to &gt;=0. Deconstrain and constrain to reapply.
+
+=== 0.1.2 - 11.30.2008
 
 * New constraints: even, odd, format
 </diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -81,7 +81,7 @@ module SexyPgConstraints
     #   constrain :books, :quantity, :positive =&gt; true
     #
     def positive(column, options)
-      &quot;check (#{column} &gt; 0)&quot;
+      &quot;check (#{column} &gt;= 0)&quot;
     end
     
     ## </diff>
      <filename>lib/constraints.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@
 
 Gem::Specification.new do |s|
   s.name = %q{sexy_pg_constraints}
-  s.version = &quot;0.1.2&quot;
+  s.version = &quot;0.1.3&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 1.2&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Maxim Chernyak&quot;]
-  s.date = %q{2008-11-30}
+  s.date = %q{2009-01-19}
   s.description = %q{Use migrations and simple syntax to manage constraints in PostgreSQL DB.}
   s.email = %q{max@bitsonnet.com}
   s.extra_rdoc_files = [&quot;CHANGELOG.rdoc&quot;, &quot;lib/constrainer.rb&quot;, &quot;lib/constraints.rb&quot;, &quot;lib/deconstrainer.rb&quot;, &quot;lib/helpers.rb&quot;, &quot;lib/sexy_pg_constraints.rb&quot;, &quot;README.rdoc&quot;]</diff>
      <filename>sexy_pg_constraints.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -238,6 +238,10 @@ class SexyPgConstraintsTest &lt; Test::Unit::TestCase
     end
     
     assert_allows do |book|
+      book.quantity = 0
+    end
+    
+    assert_allows do |book|
       book.quantity = 1
     end
     </diff>
      <filename>test/sexy_pg_constraints_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>990ffad1a43d898b2c8280035c2f0121e2862b2c</id>
    </parent>
  </parents>
  <author>
    <name>Maxim Chernyak</name>
    <email>max@bitsonnet.com</email>
  </author>
  <url>http://github.com/maxim/sexy_pg_constraints/commit/4fc8ccc7ce6659fb8a545aae86edabe6a13fb0df</url>
  <id>4fc8ccc7ce6659fb8a545aae86edabe6a13fb0df</id>
  <committed-date>2009-01-18T22:44:58-08:00</committed-date>
  <authored-date>2009-01-18T22:44:58-08:00</authored-date>
  <message>Fix: positive constraint &gt;=0, not &gt;0.</message>
  <tree>8aba45f0feb08964e838d66df71342415f5162f5</tree>
  <committer>
    <name>Maxim Chernyak</name>
    <email>max@bitsonnet.com</email>
  </committer>
</commit>
