Commits on Sep 9, 2011
  1. @solnic
Commits on Sep 5, 2011
  1. @solnic

    Regenerated gemspec

    solnic committed Sep 6, 2011
  2. @solnic

    Version bump to 1.2.0.rc1

    solnic committed Sep 5, 2011
Commits on Sep 1, 2011
  1. @dkubb

    Upgraded gem dependencies

    dkubb committed Sep 1, 2011
Commits on Jul 25, 2011
  1. @solnic

    Regenerate gemspec

    solnic committed Jul 25, 2011
Commits on Jul 24, 2011
  1. @solnic
  2. @emmanuel

    Rename Resource::State -> Resource::PersistenceState.

    Also rename accessor: Resource#persisted_state -> #persistence_state and add previous accessor as a deprecated alias in dm-core/backwards.rb.
    emmanuel committed Jul 23, 2011
Commits on Jul 22, 2011
  1. @dkubb
  2. @dkubb

    Always finalize within an adapter spec block

    * Remove redundant explicit finalization
    dkubb committed Jul 22, 2011
  3. @dkubb
Commits on Jul 21, 2011
  1. @dkubb

    Setup the allowed writer method in Model#finalize

    * This is superior to memoizing the value because Model#finalize should only
      be called when the model has all the properties/methods added to it.
    * Models must be finalize before instances being used. This was always always
      the contract, however the specs never enforced that. Now that this change
      is applied Model#finalize *must* be performed before using the initialized
      objects. Fixed the specs to comply with this.
    dkubb committed Jul 20, 2011
  2. @dkubb
  3. @dkubb

    Extracted common functionality Model#finalize to separate methods

    * Make sure OneToMany::Relationship#finalize calls #inverse.finalize in case
      the inverse relationship is not in the child_model RelationshipSet.
    * Removed duplicate functionality from Model#assert_valid and just call
      #finalize directly.
    dkubb committed Jul 20, 2011
  4. @dkubb

    Explicitly auto-migrate models in alternate repositories

    * No longer rely on the broken behaviour of auto-migration where it will
      automatically add every model to every repository.
    dkubb committed Jul 20, 2011
Commits on Jul 19, 2011
  1. @dkubb

    Update Resource#attributes= to not use Module#public_method_defined?

    * The Module#public_method_defined? method creates an unnecessary Symbol object
      under the hood for non-existent methods, while this new approach does not.
    dkubb committed Jul 18, 2011
  2. @dkubb

    Stripped whitespace

    dkubb committed Jul 18, 2011
Commits on Jul 6, 2011
  1. @emmanuel

    Merge pull request #129 from leereilly/my_new_branch

    Documentation update; call super when overriding accessors
    emmanuel committed Jul 6, 2011
Commits on Jul 2, 2011
  1. @leereilly
  2. @leereilly

    Corrected a spelling mistake

    leereilly committed Jul 1, 2011
  3. @leereilly
Commits on Jul 1, 2011
  1. @leereilly

    Added note to documentation; call super when overriding accessors to …

    …ensure validators are still active
    leereilly committed Jun 30, 2011
Commits on Jun 27, 2011
  1. @emmanuel

    Merge pull request #115 from emmanuel/feature/minimize_chainable_use

    Minimize chainable use
    emmanuel committed Jun 27, 2011
Commits on Jun 23, 2011
  1. @dkubb
Commits on Jun 22, 2011
  1. @emmanuel

    Merge pull request #126 from emmanuel/feature/finalize_api

    Decentralize DataMapper.finalize to Model#finalize and Relationship#final
    emmanuel committed Jun 22, 2011
  2. @emmanuel
  3. @emmanuel
  4. @emmanuel
  5. @emmanuel
Commits on Jun 19, 2011
  1. @dkubb

    Updated gemspec

    dkubb committed Jun 19, 2011
  2. @dkubb

    Copy default values to class options

    * Added specs for Property .options methods
    * Set the String property's default length in the class
    * The Property::String::DEFAULT_LENGTH constant should not be used directly
      but rather the class method should be that returns the default string length.
    * Property.options should return hash entries that are explicitly set to nil
    * Set the precision/scale explicitly for Float and Decimal
    * Do not yet first min/max values for all Numerics, use behaviour similar
      to original code.
    dkubb committed Jun 18, 2011
  3. @dkubb

    Fixed broken shared property spec

    * The property options use the type options as defaults *then* merge in
      the user supplied options, not the other way around.
    dkubb committed Jun 18, 2011
  4. @dkubb
Commits on Jun 17, 2011
  1. @dkubb

    DataMapper::Ext.blank? uses the object#blank? method if it exits

    * This allows custom objects to define their own #blank? method to specify
      the context in which they would like be considered blank and not-blank.
    dkubb committed Jun 17, 2011
  2. @emmanuel
Commits on May 25, 2011
  1. @dkubb

    Revert "Merge pull request #21 from jwkoelewijn/relationships"

    This reverts commit a077b66, reversing
    changes made to 3adb145.
    dkubb committed May 25, 2011