<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 This is a datamapper adapter to couchdb.
 
 NOTE: some functionality and their specs are based on functionality that is in
-edge couch but not in stable.  If you want everything to work, use edge.  
+edge couch but not in stable.  If you want everything to work, use edge.
 Otherwise, your milage may vary.  Good luck and let me know about any bugs.
 
 == Setup</diff>
      <filename>adapters/dm-couchdb-adapter/README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -249,10 +249,10 @@ module DataMapper
       ##
       # Prepares a REST request to a temporary view. Though convenient for
       # development, &quot;slow&quot; views should generally be avoided.
-      # 
+      #
       # @param query&lt;DataMapper::Query&gt; the query
       # @return request&lt;Net::HTTPRequest&gt; a request object
-      # 
+      #
       # @api private
       def ad_hoc_request(query)
         if query.order.empty?</diff>
      <filename>adapters/dm-couchdb-adapter/lib/couchdb_adapter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -300,4 +300,4 @@ if COUCHDB_AVAILABLE
     end
 
   end
-end
\ No newline at end of file
+end</diff>
      <filename>adapters/dm-couchdb-adapter/spec/couchdb_adapter_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,4 +44,4 @@ describe DataMapper::CouchResource::View do
       Person.views[:by_name].should == {&quot;map&quot;=&gt;&quot;function(doc) { if (doc.couchdb_type == 'Person' || doc.couchdb_type == 'Employee') { emit(doc.name, doc); } }&quot;}
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>adapters/dm-couchdb-adapter/spec/couchdb_view_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,4 +44,4 @@ if COUCHDB_AVAILABLE
   class Employee &lt; Person
     property :rank, String
   end
-end
\ No newline at end of file
+end</diff>
      <filename>adapters/dm-couchdb-adapter/spec/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,10 +17,10 @@ module DataMapper
     class Relationship
       include Extlib::Hook
       include DataMapper::Constraints::DeleteConstraint
-      
+
       attr_reader :delete_constraint
       OPTIONS &lt;&lt; :constraint
-      
+
       # initialize is a private method in Relationship
       # and private methods can not be &quot;advised&quot; (hooked into)
       # in extlib.
@@ -33,13 +33,13 @@ end
 
 module DataMapper
   module Constraints
-    
+
     include DeleteConstraint
-    
+
     module ClassMethods
       include DeleteConstraint::ClassMethods
     end
-        
+
     def self.included(model)
       model.extend(ClassMethods)
       model.class_eval do
@@ -49,7 +49,7 @@ module DataMapper
         end
       end
     end
-    
+
   end
 
   class AutoMigrator</diff>
      <filename>dm-constraints/lib/dm-constraints.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,11 @@
 module DataMapper
   module Constraints
     module DeleteConstraint
-      
+
       def self.included(base)
         base.extend(ClassMethods)
       end
-      
+
       module ClassMethods
         DELETE_CONSTRAINT_OPTIONS = [:protect, :destroy, :destroy!, :set_nil, :skip]
         def check_delete_constraint_type(cardinality, name, options = {})
@@ -16,20 +16,20 @@ module DataMapper
             raise ArgumentError, &quot;:constraint option must be one of #{delete_constraint_options * ', '}&quot;
           end
         end
-        
+
         # TODO: that should be moved to a 'util-like' module
         def with_changed_method_visibility(method, from_visibility, to_visibility, &amp;block)
           send(to_visibility, method)
           yield
           send(from_visibility, method)
         end
-        
+
       end
 
       def add_delete_constraint_option(name, repository_name, child_model, parent_model, options = {})
-        @delete_constraint = options[:constraint]        
+        @delete_constraint = options[:constraint]
       end
-            
+
       def check_delete_constraints
         model.relationships.each do |rel_name, rel|
           children = self.send(rel_name)
@@ -52,8 +52,8 @@ module DataMapper
           end # case
         end # relationships
       end # check_delete_constraints
-      
-      
+
+
     end # DeleteConstraint
   end # Constraints
 end # DataMapper</diff>
      <filename>dm-constraints/lib/dm-constraints/delete_constraint.rb</filename>
    </modified>
    <modified>
      <diff>@@ -198,8 +198,8 @@ module DataMapper
             self.parent = self.ancestor # must set this again, because it might have been changed by the user before move.
             return false
           end
-          
-          
+
+
           DataMapper::Transaction.new(self.repository) do |transaction|
 
             ##
@@ -211,7 +211,7 @@ module DataMapper
               raise RecursiveNestingError if position &gt; self.lft &amp;&amp; position &lt; self.rgt
               # find out how wide this node is, as we need to make a gap large enough for it to fit in
               gap = self.rgt - self.lft + 1
-              
+
               # make a gap at position, that is as wide as this node
               self.model.base_model.adjust_gap!(nested_set,position-1,gap)
 
@@ -219,7 +219,7 @@ module DataMapper
               self.reload_attributes(:lft,:rgt)
               old_position = self.lft
               offset = position - old_position
-              
+
               nested_set.all(:rgt =&gt; self.lft..self.rgt).adjust!({:lft =&gt; offset, :rgt =&gt; offset},true)
               # close the gap this movement left behind.
               self.model.base_model.adjust_gap!(nested_set,old_position,-gap)</diff>
      <filename>dm-is-nested_set/lib/dm-is-nested_set/is/nested_set.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,4 +20,4 @@ describe DataMapper::Validate::LengthValidator do
     wock.id = 1
     wock.should be_valid
   end
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/error_message_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -28,4 +28,4 @@ describe DataMapper::Validate::LengthValidator do
     launch.should_not be_valid
     launch.errors.on(:name).should include('Name must be less than 5 characters long')
   end
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/maximum_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,5 +27,5 @@ describe DataMapper::Validate::LengthValidator do
     launch.name = 'Ab'
     launch.should_not be_valid
     launch.errors.on(:name).should include('Name must be more than 3 characters long')
-  end  
-end
\ No newline at end of file
+  end
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/minimum_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,13 +15,13 @@ describe MotorLaunch do
   before :each do
     @launch = MotorLaunch.new
   end
-  
+
   describe &quot;with a value that is out of range bounds (too long)&quot; do
     before :each do
       @launch.name = 'a'
       @launch.valid?
     end
-    
+
     it &quot;is invalid&quot; do
       @launch.should_not be_valid
     end
@@ -36,7 +36,7 @@ describe MotorLaunch do
       @launch.name = 'L'
       @launch.valid?
     end
-    
+
     it &quot;is invalid&quot; do
       @launch.should_not be_valid
     end
@@ -55,7 +55,7 @@ describe MotorLaunch do
       @launch.name = nil
       @launch.valid?
     end
-    
+
     it &quot;is invalid&quot; do
       @launch.should_not be_valid
     end
@@ -71,7 +71,7 @@ describe MotorLaunch do
       @launch.name = 'Lisp'
       @launch.valid?
     end
-    
+
     it &quot;is valid&quot; do
       @launch.should be_valid
     end
@@ -92,4 +92,4 @@ describe MotorLaunch do
     launch.name = 'Ride'
     launch.valid?.should == true
   end
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/range_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,4 +9,4 @@ class BoatDock
   property :id, Integer, :serial =&gt; true
   property :name, String, :auto_validation =&gt; false, :default =&gt; &quot;I'm a long string&quot;
   validates_length :name, :min =&gt; 3
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,4 +10,4 @@ describe DataMapper::Validate::LengthValidator do
     doc = BoatDock.new
     doc.should be_valid
   end
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/length_validator/valid_objects_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -83,7 +83,7 @@ describe BasketballPlayer do
       @mj.should be_valid
     end
   end
-  
+
 
   describe &quot;with nil height&quot; do
     before(:each) do
@@ -98,5 +98,5 @@ describe BasketballPlayer do
       @mj.valid?
       @mj.errors.on(:height).should include(&quot;Height must be a number&quot;)
     end
-  end  
+  end
 end</diff>
      <filename>dm-validations/spec/integration/numeric_validator/float_type_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -73,7 +73,7 @@ describe Country do
       @country.should_not be_valid
     end
   end
-  
+
 
   describe &quot;with unknown area&quot; do
     before(:each) do
@@ -88,5 +88,5 @@ describe Country do
       @country.valid?
       @country.errors.on(:area).should include(&quot;Please use integers to specify area&quot;)
     end
-  end  
+  end
 end</diff>
      <filename>dm-validations/spec/integration/numeric_validator/integer_only_true_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -81,7 +81,7 @@ describe City do
       @city.should_not be_valid
     end
   end
-  
+
 
   describe &quot;with unknown foundation date&quot; do
     before(:each) do
@@ -96,5 +96,5 @@ describe City do
       @city.valid?
       @city.errors.on(:founded_in).should include(&quot;Foundation year must be an integer&quot;)
     end
-  end  
+  end
 end</diff>
      <filename>dm-validations/spec/integration/numeric_validator/integer_type_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -74,4 +74,4 @@ class Country
 
   validates_is_number :area, :message =&gt; &quot;Please use integers to specify area&quot;
 end
-Country.auto_migrate!
\ No newline at end of file
+Country.auto_migrate!</diff>
      <filename>dm-validations/spec/integration/numeric_validator/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -59,7 +59,7 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
 
     validates_present :name, :artist
   end
-  Artist.auto_migrate!  
+  Artist.auto_migrate!
   Album.auto_migrate!
 
 </diff>
      <filename>dm-validations/spec/integration/required_field_validator/association_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -123,4 +123,4 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
       end
     end # describe &quot;with on = -1100.5&quot;
   end # describe Holiday
-end # if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
\ No newline at end of file
+end # if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES</diff>
      <filename>dm-validations/spec/integration/required_field_validator/date_type_value_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -127,4 +127,4 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
       end
     end # describe &quot;with percentage = nil&quot;
   end # describe CpuConsumption
-end # if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
\ No newline at end of file
+end # if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES</diff>
      <filename>dm-validations/spec/integration/required_field_validator/float_type_value_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,17 +16,17 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
         def empty; &quot;&quot;     end
         def nil;   nil    end
       end
-  
+
       @pc = PlainClass.new
     end
-  
+
     it &quot;should fail validation with empty, nil, or blank fields&quot; do
       @pc.should_not be_valid
       @pc.errors.on(:empty).should    include(&quot;Empty must not be blank&quot;)
       @pc.errors.on(:nil).should      include(&quot;Nil must not be blank&quot;)
       @pc.errors.on(:accessor).should include(&quot;Accessor must not be blank&quot;)
     end
-  
+
     it &quot;giving accessor a value should remove validation error&quot; do
       @pc.accessor = &quot;full&quot;
       @pc.valid?</diff>
      <filename>dm-validations/spec/integration/required_field_validator/plain_old_ruby_object_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -21,4 +21,4 @@ describe GitOperation do
       @operation.errors.on(:name).should include('Name must not be blank')
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/required_field_validator/shared_examples.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
     #
 
     property :id,                 Integer, :serial =&gt; true
-    
+
     # operation name
     property :name,               String,  :auto_validation =&gt; false
 
@@ -25,7 +25,7 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
     property :author_name,        String,  :auto_validation =&gt; false, :default =&gt; &quot;Just another Ruby hacker&quot;
     property :network_connection, Boolean, :auto_validation =&gt; false
     property :message,            Text,    :auto_validation =&gt; false
-    property :clean_working_copy, Boolean, :auto_validation =&gt; false    
+    property :clean_working_copy, Boolean, :auto_validation =&gt; false
 
     #
     # Validations
@@ -49,7 +49,7 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
 
     validates_present :author_name,        :when =&gt; :committing
     validates_present :committer_name,     :when =&gt; :committing
-    
+
     validates_present :message,            :when =&gt; :committing
     validates_present :network_connection, :when =&gt; [:pushing, :pulling], :message =&gt; {
       :pushing =&gt; &quot;though git is advanced, it cannot push without network connectivity&quot;,
@@ -65,4 +65,4 @@ if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
 
   __dir__ = File.dirname(__FILE__)
   require File.join(__dir__, &quot;shared_examples&quot;)
-end
\ No newline at end of file
+end</diff>
      <filename>dm-validations/spec/integration/required_field_validator/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8dcfcee906ef71126b99f9390388d4ec30216ca0</id>
    </parent>
  </parents>
  <author>
    <name>Dan Kubb</name>
    <email>dan.kubb@autopilotmarketing.com</email>
  </author>
  <url>http://github.com/datamapper/dm-more/commit/8318bd1cce3812979a92987dd340d99292e1c883</url>
  <id>8318bd1cce3812979a92987dd340d99292e1c883</id>
  <committed-date>2009-01-19T16:11:48-08:00</committed-date>
  <authored-date>2009-01-19T16:11:48-08:00</authored-date>
  <message>Stripped whitespace with &quot;sake strip&quot;</message>
  <tree>3e4e0ec1ecc86516deda86016135793a46e0ccd6</tree>
  <committer>
    <name>Dan Kubb</name>
    <email>dan.kubb@autopilotmarketing.com</email>
  </committer>
</commit>
