<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,4 +14,4 @@ profile_results.*
 TAGS
 lib/coverage.html
 *.rbc
-_Yardoc
\ No newline at end of file
+_Yardoc</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -142,4 +142,3 @@
 
 -- 0.3.0
 * HasManyAssociation::Set now has a nil? method, so we can do stuff like cage.animal.nil?
-</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+OTHER DEALINGS IN THE SOFTWARE.</diff>
      <filename>MIT-LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-See: http://wiki.datamapper.org/doku.php?id=what_needs_to_be_done
\ No newline at end of file
+See: http://wiki.datamapper.org/doku.php?id=what_needs_to_be_done</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ module DataMapper
 
       attr_reader :name, :uri
       attr_accessor :resource_naming_convention, :field_naming_convention
-      
+
       def type_map
         self.class.type_map
       end
@@ -32,7 +32,7 @@ module DataMapper
 
       #
       # Pushes the given Transaction onto the per thread Transaction stack so that
-      # everything done by this Adapter is done within the context of said 
+      # everything done by this Adapter is done within the context of said
       # Transaction.
       #
       # ==== Parameters
@@ -56,7 +56,7 @@ module DataMapper
 
       #
       # Retrieve the current transaction for this Adapter.
-      # 
+      #
       # Everything done by this Adapter is done within the context of this Transaction.
       #
       # ==== Returns
@@ -103,27 +103,27 @@ module DataMapper
       def delete(repository, resource)
         raise NotImplementedError
       end
-      
+
       def create_model_storage(repository, model)
         raise NotImplementedError
       end
-      
+
       def destroy_model_storage(repository, model)
         raise NotImplementedError
       end
-      
+
       def alter_model_storage(repository, *args)
         raise NotImplementedError
       end
-      
+
       def create_property_storage(repository, property)
         raise NotImplementedError
       end
-      
+
       def destroy_property_storage(repository, property)
         raise NotImplementedError
       end
-      
+
       def alter_property_storage(repository, *args)
         raise NotImplementedError
       end</diff>
      <filename>lib/data_mapper/adapters/abstract_adapter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -93,7 +93,7 @@ module DataMapper
       raise ArgumentError.new(&quot;target_method should be a symbol&quot;) unless name.is_a?(Symbol)
       raise ArgumentError.new(&quot;method_sym should be a symbol&quot;) if method_sym &amp;&amp; ! method_sym.is_a?(Symbol)
       raise ArgumentError.new(&quot;You need to pass :class or :instance as scope&quot;) unless [:class, :instance].include?(scope)
-      
+
       hooks_with_scope(scope)[name][type] ||= []
 
       hooks_with_scope(scope)[name][type] &lt;&lt; if block</diff>
      <filename>lib/data_mapper/hook.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,14 +16,14 @@ require &quot;time&quot; # httpdate
 #   DataMapper.logger.info(message&lt;String&gt;)
 #   DataMapper.logger.debug(message&lt;String&gt;)
 #
-# Flush the buffer to 
+# Flush the buffer to
 #   DataMapper.logger.flush
 #
 # Remove the current log object
 #   DataMapper.logger.close
-# 
+#
 # ==== Private DataMapper Logger API
-# 
+#
 # To initialize the logger you create a new object, proxies to set_log.
 #   DataMapper::Logger.new(log{String, IO},level{Symbol, String})
 module DataMapper
@@ -49,10 +49,10 @@ module DataMapper
     #     debug: low-level information for developers
     #
     #   DataMapper::Logger::LEVELS[:fatal, :error, :warn, :info, :debug]
-    LEVELS = 
+    LEVELS =
     {
-      :fatal =&gt; 7, 
-      :error =&gt; 6, 
+      :fatal =&gt; 7,
+      :error =&gt; 6,
       :warn  =&gt; 4,
       :info  =&gt; 3,
       :debug =&gt; 0
@@ -115,7 +115,7 @@ module DataMapper
 
     # To replace an existing logger with a new one:
     #  DataMapper::Logger.set_log(log{String, IO},level{Symbol, String})
-    # 
+    #
     # ==== Parameters
     # log&lt;IO,String&gt;
     #   Either an IO object or a name of a logfile.
@@ -156,8 +156,8 @@ module DataMapper
       @log = nil
     end
 
-    # Appends a string and log level to logger's buffer. 
-    # Note that the string is discarded if the string's log level less than the logger's log level. 
+    # Appends a string and log level to logger's buffer.
+    # Note that the string is discarded if the string's log level less than the logger's log level.
     # Note that if the logger is aio capable then the logger will use non-blocking asynchronous writes.
     #
     # ==== Parameters
@@ -176,7 +176,7 @@ module DataMapper
     alias &lt;&lt; push
 
     # Generate the following logging methods for DataMapper.logger as described in the api:
-    #  :fatal, :error, :warn, :info, :debug 
+    #  :fatal, :error, :warn, :info, :debug
     LEVELS.each_pair do |name, number|
       class_eval &lt;&lt;-LEVELMETHODS, __FILE__, __LINE__
       # DOC
@@ -192,5 +192,5 @@ module DataMapper
     end
 
   end # class Logger
-  
+
 end # module DataMapper</diff>
      <filename>lib/data_mapper/logger.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,21 +3,21 @@ module DataMapper
     def self.subclasses
       @@subclasses ||= []
     end
-    
+
     def self.subclasses=(obj)
       @@subclasses = obj
     end
-    
+
     def self.inherited(klass)
       subclasses &lt;&lt; klass
-      
+
       class &lt;&lt; klass
         def models
           @models ||= []
         end
       end
     end
-    
+
     def self.migrate(repository_name)
       subclasses.collect do |migrator|
         migrator.migrate(repository_name)
@@ -25,4 +25,3 @@ module DataMapper
     end
   end
 end
-    
\ No newline at end of file</diff>
      <filename>lib/data_mapper/migrator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,11 @@
 module DataMapper
-  
+
   # Use these modules to set naming conventions.
   # The default is UnderscoredAndPluralized.
   # You assign a naming convention like so:
   #
   #   repository(:default).adapter.resource_naming_convention = NamingConventions::Underscored
-  # 
+  #
   # You can also easily assign a custom convention with a Proc:
   #
   #   repository(:default).adapter.resource_naming_convention = lambda do |value|
@@ -21,30 +21,30 @@ module DataMapper
   #   adapter = DataMapper.setup(:default, &quot;mock://localhost/mock&quot;)
   #   adapter.resource_naming_convention = DataMapper::NamingConventions::Underscored
   module NamingConventions
-  
+
     module UnderscoredAndPluralized
       def self.call(value)
         DataMapper::Inflection.pluralize(DataMapper::Inflection.underscore(value)).gsub('/','_')
       end
     end # module UnderscoredAndPluralized
-    
+
     module UnderscoredAndPluralizedWithoutModule
       def self.call(value)
-        DataMapper::Inflection.pluralize(DataMapper::Inflection.underscore(DataMapper::Inflection.demodulize(value)))      
+        DataMapper::Inflection.pluralize(DataMapper::Inflection.underscore(DataMapper::Inflection.demodulize(value)))
       end
     end # module UnderscoredAndPluralizedWithoutModule
-  
+
     module Underscored
       def self.call(value)
         DataMapper::Inflection.underscore(value)
       end
     end # module Underscored
-    
+
     module Yaml
       def self.call(value)
         DataMapper::Inflection.pluralize(DataMapper::Inflection.underscore(value)) + &quot;.yaml&quot;
       end
     end # module Yaml
-    
+
   end # module NamingConventions
 end # module DataMapper</diff>
      <filename>lib/data_mapper/naming_conventions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -116,9 +116,9 @@ module DataMapper
         r__dup
       end
     end
-    
+
     private
-    
+
     def initialize(properties = [])
       raise ArgumentError, &quot;+properties+ should be an Array, but was #{properties.class}&quot;, caller unless Array === properties
 </diff>
      <filename>lib/data_mapper/property_set.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@ module DataMapper
   class RepositoryNotSetupError &lt; StandardError; end
 
   class IncompleteResourceError &lt; StandardError; end
-  
+
   class PersistenceError &lt; StandardError; end
 end # module DataMapper
 </diff>
      <filename>lib/data_mapper/support/errors.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,5 +3,5 @@ module Kernel
   # Will not overwrite if a method of the same name is pre-defined.
   def repository(*args, &amp;block)
     DataMapper.repository(*args, &amp;block)
-  end  
+  end
 end # module Kernel</diff>
      <filename>lib/data_mapper/support/kernel.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,14 +1,14 @@
-class Object  
+class Object
   unless instance_methods.include?('instance_variable_defined?')
     def instance_variable_defined?(method)
       instance_variables.include?(method.to_s)
     end
   end
-  
+
   def find_const(nested_name)
     NESTED_CONSTANTS[nested_name]
   end
-  
+
   private
   NESTED_CONSTANTS = Hash.new do |h,k|
     klass = Object
@@ -17,5 +17,5 @@ class Object
     end
     h[k] = klass
   end
-  
+
 end # class Object</diff>
      <filename>lib/data_mapper/support/object.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 module DataMapper
-  
+
   class Transaction
 
     attr_reader :transaction_primitives, :adapters, :state
@@ -29,8 +29,8 @@ module DataMapper
     #   DataMapper::Repositories will have their @adapters added.
     #   DataMapper::Resource subclasses will have all the repositories of all their properties added.
     #   DataMapper::Resource instances will have all repositories of all their properties added.
-    # block&lt;Block&gt;:: A block (taking one argument, the Transaction) to execute within this 
-    #   transaction. The transaction will begin and commit around the block, and rollback if 
+    # block&lt;Block&gt;:: A block (taking one argument, the Transaction) to execute within this
+    #   transaction. The transaction will begin and commit around the block, and rollback if
     #   an exception is raised.
     #
     def link(*things, &amp;block)
@@ -68,8 +68,8 @@ module DataMapper
     # Commit the transaction
     #
     # ==== Parameters
-    # block&lt;Block&gt;:: A block (taking the one argument, the Transaction) to execute within this 
-    #   transaction. The transaction will begin and commit around the block, and rollback if 
+    # block&lt;Block&gt;:: A block (taking the one argument, the Transaction) to execute within this
+    #   transaction. The transaction will begin and commit around the block, and rollback if
     #   an exception is raised.
     #
     # If no block is given, it will simply commit any changes made since the Transaction did #begin.
@@ -237,4 +237,3 @@ module DataMapper
   end
 
 end
-</diff>
      <filename>lib/data_mapper/transaction.rb</filename>
    </modified>
    <modified>
      <diff>@@ -158,9 +158,9 @@ module DataMapper
     def self.load(value, property)
       value
     end
-    
+
     def self.bind(property)
-      # This method should not modify the state of this type class, and 
+      # This method should not modify the state of this type class, and
       # should produce no side-effects on the type class. It's just a
       # hook to allow your custom-type to modify the property it's bound to.
     end</diff>
      <filename>lib/data_mapper/type.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,18 +1,18 @@
 module DataMapper
   class TypeMap
-    
+
     attr_accessor :parent, :chains
-    
+
     def initialize(parent = nil, &amp;blk)
       @parent, @chains = parent, {}
-      
+
       blk.call(self) unless blk.nil?
     end
-    
+
     def map(type)
       @chains[type] ||= TypeChain.new
     end
-    
+
     def lookup(type)
       if type_mapped?(type)
         lookup_from_map(type)
@@ -20,11 +20,11 @@ module DataMapper
         lookup_by_type(type)
       end
     end
-    
+
     def lookup_from_map(type)
       lookup_from_parent(type).merge(map(type).translate)
     end
-    
+
     def lookup_from_parent(type)
       if !@parent.nil? &amp;&amp; @parent.type_mapped?(type)
         @parent[type]
@@ -32,40 +32,40 @@ module DataMapper
         {}
       end
     end
-    
+
     def lookup_by_type(type)
       raise &quot;TypeMap Exception: type #{type} must have a default primitive or type map entry&quot; unless type.respond_to?(:primitive) &amp;&amp; !type.primitive.nil?
 
       lookup(type.primitive).merge(Type::PROPERTY_OPTIONS.inject({}) {|h, k| h[k] = type.send(k); h})
     end
-    
+
     alias [] lookup
-    
+
     def type_mapped?(type)
       @chains.has_key?(type) || (@parent.nil? ? false : @parent.type_mapped?(type))
     end
-    
+
     class TypeChain
       attr_accessor :primitive, :attributes
-      
+
       def initialize
         @attributes = {}
       end
-      
+
       def to(primitive)
         @primitive = primitive
         self
       end
-      
+
       def with(attributes)
         raise &quot;method 'with' expects a hash&quot; unless Hash === attributes
         @attributes.merge!(attributes)
         self
       end
-      
+
       def translate
         @attributes.merge((@primitive.nil? ? {} : {:primitive =&gt; @primitive}))
       end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/data_mapper/type_map.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,5 +3,5 @@ module DataMapper
     class Boolean &lt; DataMapper::Type
       primitive TrueClass
     end # class Boolean
-  end # module Types  
-end # module DataMapper
\ No newline at end of file
+  end # module Types
+end # module DataMapper</diff>
      <filename>lib/data_mapper/types/boolean.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,10 +14,10 @@ module DataMapper
             save
           end
         EOS
-      
+
         model.send(:scope_stack) &lt;&lt; DataMapper::Query.new(repository, model, property.name =&gt; nil)
-        
-      end      
+
+      end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/data_mapper/types/paranoid_boolean.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,10 +13,10 @@ module DataMapper
             save
           end
         EOS
-      
+
         model.send(:scope_stack) &lt;&lt; DataMapper::Query.new(repository, model, property.name =&gt; nil)
-        
-      end      
+
+      end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/data_mapper/types/paranoid_datetime.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,5 +6,5 @@ module DataMapper
       size 65535
       lazy true
     end # class Text
-  end # module Types  
-end # module DataMapper
\ No newline at end of file
+  end # module Types
+end # module DataMapper</diff>
      <filename>lib/data_mapper/types/text.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,9 +2,9 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
 
 if HAS_SQLITE3
   describe 'association proxying' do
-    
+
     before(:all) do
-      
+
       class Zebra
         include DataMapper::Resource
 
@@ -12,51 +12,51 @@ if HAS_SQLITE3
         property :name, String
         property :age, Integer
         has n, :stripes
-      
+
       end
 
       class Stripe
         include DataMapper::Resource
-        
+
         property :id, Integer, :serial =&gt; true
         property :name, String
         property :age,  Integer
         property :zebra_id, Integer
-        
+
         belongs_to :zebra
-      
+
       end
-      
+
       Zebra.auto_migrate!(:sqlite3)
       Stripe.auto_migrate!(:sqlite3)
-        
+
       repository(:sqlite3) do
-              
+
         nancy  = Zebra.new(:age =&gt; 11)
         nancy.name = 'nance'
         nancy.save
-        
+
         bessie = Zebra.new(:age =&gt; 10)
         bessie.name = 'Bessie'
         bessie.save
-        
+
         steve  = Zebra.new(:age =&gt; 8)
         steve.name = 'Steve'
         steve.save
-              
+
         @babe      = Stripe.new
         @babe.name = 'Babe'
         @babe.save
-              
+
         @snowball  = Stripe.new
         @snowball.name = 'snowball'
         @snowball.save
-        
+
         nancy.stripes &lt;&lt; @babe
         nancy.stripes &lt;&lt; @snowball
       end
     end
-    
+
     it &quot;should proxy the relationships of the model&quot; do
       repository(:sqlite3) do
         zebras = Zebra.all
@@ -66,5 +66,5 @@ if HAS_SQLITE3
       end
     end
   end
-  
-end
\ No newline at end of file
+
+end</diff>
      <filename>spec/integration/collection_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ module DataMapper
       def create(repository, instance)
         instance
       end
-      
+
       def exists?(storage_name)
         true
       end
@@ -16,12 +16,12 @@ end
 
 module DataObjects
   module Mock
-    
+
     def self.logger
     end
-    
+
     def self.logger=(value)
     end
-    
+
   end
 end</diff>
      <filename>spec/lib/mock_adapter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -93,27 +93,27 @@ describe DataMapper::Adapters::AbstractAdapter do
   it &quot;should raise NotImplementedError when #delete_set is called&quot; do
     lambda { @adapter.delete_set(:repository, :query) }.should raise_error(NotImplementedError)
   end
-  
+
   it &quot;should raise NotImplementedError when #create_model_storage is called&quot; do
     lambda { @adapter.create_model_storage(:repository, :resource) }.should raise_error(NotImplementedError)
   end
-  
+
   it &quot;should raise NotImplementedError when #destroy_model_storage is called&quot; do
     lambda { @adapter.destroy_model_storage(:repository, :resource) }.should raise_error(NotImplementedError)
   end
-  
+
   it &quot;should raise NotImplementedError when #alter_model_storage is called&quot; do
     lambda { @adapter.alter_model_storage(:repository, :resource) }.should raise_error(NotImplementedError)
   end
-  
+
   it &quot;should raise NotImplementedError when #create_property_storage is called&quot; do
     lambda { @adapter.create_property_storage(:repository, :property) }
   end
-  
+
   it &quot;should raise NotImplementedError when #destroy_property_storage is called&quot; do
     lambda { @adapter.destroy_property_storage(:repository, :property) }
   end
-  
+
   it &quot;should raise NotImplementedError when #alter_property_storage is called&quot; do
     lambda { @adapter.alter_property_storage(:repository, :property) }
   end</diff>
      <filename>spec/unit/adapters/abstract_adapter_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,8 +13,8 @@ describe &quot;DataMapper::Associations&quot; do
 
     class C
         include DataMapper::Resource
-        
-        repository(:r) do 
+
+        repository(:r) do
           has 1, :b
         end
     end
@@ -136,7 +136,7 @@ describe &quot;DataMapper::Associations&quot; do
 
       it &quot;should create a many-to-many relationship if references are circular&quot; do
         Manufacturer.should_receive(:many_to_many).with(:subsidiaries, { :max=&gt; @n, :class_name =&gt;&quot;Manufacturer&quot;, :min =&gt; @n })
-          
+
         class Manufacturer
           has n..n, :subsidiaries, :class_name =&gt; 'Manufacturer'
         end</diff>
      <filename>spec/unit/associations_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,12 @@ describe DataMapper do
   describe &quot;.prepare&quot; do
     it &quot;should pass the default repository to the block if no argument is given&quot; do
       DataMapper.should_receive(:repository).with(nil).and_return :default_repo
-      
+
       DataMapper.prepare do |r|
         r.should == :default_repo
       end
     end
-    
+
     it &quot;should allow custom type maps to be defined inside the prepare block&quot; do
       lambda {
         DataMapper.prepare do |r|
@@ -18,4 +18,4 @@ describe DataMapper do
       }.should_not raise_error
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/unit/data_mapper_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,29 +5,29 @@ describe DataMapper::Migrator do
   before(:each) do
     DataMapper::Migrator.subclasses.clear
   end
-  
+
   after(:each) do
     DataMapper::Migrator.subclasses.clear
   end
-  
+
   it &quot;should keep track of subclasses&quot; do
     lambda { Class.new(DataMapper::Migrator) }.should change{ DataMapper::Migrator.subclasses.size }.by(1)
   end
-  
+
   it &quot;should define a class level 'models' method for each subclass&quot; do
     klass = Class.new(DataMapper::Migrator)
-    
+
     klass.should respond_to(:models)
   end
-  
+
   it &quot;should keep subclass models seperated&quot; do
     klass_a = Class.new(DataMapper::Migrator)
     klass_b = Class.new(DataMapper::Migrator)
-    
+
     klass_a.models &lt;&lt; :foo
-    
+
     klass_b.models.should be_empty
-    
+
     klass_a.models.should == [:foo]
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/unit/migrator_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,15 +10,15 @@ describe &quot;DataMapper::NamingConventions&quot; do
     DataMapper::NamingConventions::UnderscoredAndPluralized.call('User').should == 'users'
     DataMapper::NamingConventions::UnderscoredAndPluralized.call('UserAccountSetting').should == 'user_account_settings'
   end
-  
+
   it &quot;should coerce a string into the UnderscoredAndPluralized convention joining namespace with underscore&quot; do
     DataMapper::NamingConventions::UnderscoredAndPluralized.call('Model::User').should == 'model_users'
-    DataMapper::NamingConventions::UnderscoredAndPluralized.call('Model::UserAccountSetting').should == 'model_user_account_settings'  
+    DataMapper::NamingConventions::UnderscoredAndPluralized.call('Model::UserAccountSetting').should == 'model_user_account_settings'
   end
-  
+
   it &quot;should coerce a string into the  UnderscoredAndPluralizedWithoutModule convention&quot; do
     DataMapper::NamingConventions::UnderscoredAndPluralizedWithoutModule.call('Model::User').should == 'users'
-    DataMapper::NamingConventions::UnderscoredAndPluralizedWithoutModule.call('Model::UserAccountSetting').should == 'user_account_settings'  
+    DataMapper::NamingConventions::UnderscoredAndPluralizedWithoutModule.call('Model::UserAccountSetting').should == 'user_account_settings'
   end
 
   it &quot;should coerce a string into the Yaml convention&quot; do</diff>
      <filename>spec/unit/naming_conventions_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -79,15 +79,15 @@ describe DataMapper::PropertySet do
       @properties.instance_variable_get(&quot;@property_for&quot;).should_not be_empty
       @properties.dup.instance_variable_get(&quot;@property_for&quot;).should be_empty
     end
-    
+
     it 'should be able to retarget a new model' do
       copy = Icon.properties.dup(Boat)
       copy.should have(4).entries
-      
+
       copy.each do |property|
         property.model.should == Boat
       end
-      
+
       copy &lt;&lt; DataMapper::Property.new(Icon, :z_index, Integer, {})
       copy.should have(5).entries
       Icon.properties.should have(4).entries</diff>
      <filename>spec/unit/property_set_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,33 +2,33 @@ require 'pathname'
 require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper'
 
 describe DataMapper::TypeMap do
-  
+
   before(:each) do
     @tm = DataMapper::TypeMap.new
   end
-  
+
   describe &quot;#map&quot; do
     it &quot;should return a type map chain&quot; do
       @tm.map(String).should be_instance_of(DataMapper::TypeMap::TypeChain)
     end
-    
+
     it &quot;should return the original chain if the type has already been mapped&quot; do
       tc = @tm.map(String)
       @tm.map(String).should == tc
     end
   end
-  
+
   describe &quot;#lookup&quot; do
     it &quot;should the primitive's mapping the class has a primitive type&quot; do
       @tm.map(String).to(:varchar)
-      
+
       lambda { @tm.lookup(DM::Text) }.should_not raise_error
     end
-    
+
     it &quot;should merge in the parent type map's translated match&quot; do
-      
+
     end
-    
+
     describe &quot;#lookup_from_map&quot; do
       it &quot;should merge the translated type match into the parent match&quot; do
         @tm.map(String).to(:varchar)
@@ -39,7 +39,7 @@ describe DataMapper::TypeMap do
         child.lookup_from_map(String).should == {:primitive =&gt; :varchar, :size =&gt; 100}
       end
     end
-    
+
     describe &quot;#lookup_by_type&quot; do
       it &quot;should raise an exception if the type is not mapped and does not have a primitive&quot; do
         klass = Class.new
@@ -47,68 +47,68 @@ describe DataMapper::TypeMap do
       end
     end
   end
-  
+
   describe &quot;#map&quot; do
     it &quot;should create a new TypeChain if there is no match&quot; do
       @tm.chains.should_not have_key(String)
-      
+
       DataMapper::TypeMap::TypeChain.should_receive(:new)
-      
+
       @tm.map(String)
     end
-    
+
     it &quot;should not create a new TypeChain if there is a match&quot; do
       @tm.map(String)
-      
+
       DataMapper::TypeMap::TypeChain.should_not_receive(:new)
-      
+
       @tm.map(String)
     end
   end
-  
+
   describe DataMapper::TypeMap::TypeChain do
     describe &quot;#to&quot; do
       it &quot;should be a setter for @primitive&quot; do
         tc = DataMapper::TypeMap::TypeChain.new
-        
+
         lambda { tc.to(:primitive) }.should change { tc.primitive }.to(:primitive)
       end
-      
+
       it &quot;should return itself&quot; do
         tc = DataMapper::TypeMap::TypeChain.new
-        
+
         tc.to(:primitive).should == tc
       end
     end
-    
+
     describe &quot;#with&quot; do
       it &quot;should return itself&quot; do
         tc = DataMapper::TypeMap::TypeChain.new
-        
+
         tc.with(:key =&gt; :value).should == tc
       end
-      
+
       it &quot;should raise an error if the argument is not a hash&quot; do
         tc = DataMapper::TypeMap::TypeChain.new
-        
+
         lambda { tc.with(:key) }.should raise_error(&quot;method 'with' expects a hash&quot;)
       end
-      
+
       it &quot;should merge the argument hash into the attributes hash&quot; do
         tc = DataMapper::TypeMap::TypeChain.new
-        
-        tc.with(:key =&gt; :value).with(:size =&gt; 10).attributes.should == {:key =&gt; :value, :size =&gt; 10} 
+
+        tc.with(:key =&gt; :value).with(:size =&gt; 10).attributes.should == {:key =&gt; :value, :size =&gt; 10}
       end
     end
-    
+
     describe &quot;#translate&quot; do
       it &quot;should merge the attributes hash with the primitive value&quot; do
         DataMapper::TypeMap::TypeChain.new.to(:int).with(:size =&gt; 10).translate.should == {:primitive =&gt; :int, :size =&gt; 10}
       end
-      
+
       it &quot;should overwrite any :primitive entry set using the 'with' method&quot; do
         DataMapper::TypeMap::TypeChain.new.to(:int).with(:primitive =&gt; :varchar).translate.should == {:primitive =&gt; :int}
       end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>spec/unit/type_map_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,11 +20,11 @@ describe DataMapper::Type do
         value.reverse
       end
     end
-    
+
     class TestResource
       include DataMapper::Resource
     end
-    
+
     class TestType3 &lt; DataMapper::Type
       primitive String
       size 10
@@ -85,19 +85,19 @@ describe DataMapper::Type do
     before do
       @property = DataMapper::Property.new TestResource, :name, TestType3, {}
     end
-    
+
     it &quot;should return a object of the same type&quot; do
       TestType3.load(&quot;helo&quot;, @property).class.should == TestType3
     end
-    
+
     it &quot;should contain the property&quot; do
       TestType3.load(&quot;helo&quot;, @property).property.should == @property
     end
-    
+
     it &quot;should contain the value&quot; do
       TestType3.load(&quot;helo&quot;, @property).value.should == &quot;helo&quot;
     end
-    
+
     it &quot;should return the value&quot; do
       obj = TestType3.load(&quot;helo&quot;, @property)
       TestType3.dump(obj, @property).should == &quot;helo&quot;</diff>
      <filename>spec/unit/type_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>07cdcc271dbdd18ba80b6a2c472b0ad43696e10e</id>
    </parent>
  </parents>
  <author>
    <name>Alex Coles</name>
    <email>alexbcoles@mac.com</email>
  </author>
  <url>http://github.com/sam/dm-core/commit/0956c1206c3960749588b03bbbbc411a71aace3e</url>
  <id>0956c1206c3960749588b03bbbbc411a71aace3e</id>
  <committed-date>2008-05-13T02:34:02-07:00</committed-date>
  <authored-date>2008-05-13T02:34:02-07:00</authored-date>
  <message>Whitespace cleanup</message>
  <tree>36481e4ae2bf38adc162140b2749f25c59c3081a</tree>
  <committer>
    <name>Alex Coles</name>
    <email>alexbcoles@mac.com</email>
  </committer>
</commit>
