Permalink
Commits on Nov 20, 2009
Commits on Nov 11, 2009
  1. Added specs to ensure Unioned Collections work with aggregate functions

    dkubb committed Nov 11, 2009
    * This corresponds with fixes made in dm-core that allow these specs
      to pass.
    
    [#1121 state:resolved]
  2. [dm-validations] Removed allow_blank option from acceptance validator

    dkubb committed Nov 11, 2009
    * Acceptance criteria can sometimes be true/false, and if false
      is provided and the allow_blank is true (which was the default)
      then the validator would incorrectly return true.
    * Blank values like "" will now (correctly) return false in the
      acceptance validator.
    * Only use :allow_nil to with acceptance validator
  3. [dm-more] Updated to use :required instead of :nullable for Property …

    dkubb committed Nov 11, 2009
    …declarations
    
    [#935]
Commits on Nov 10, 2009
  1. [dm-validations] Add :allow_blank option to validators

    dkubb committed Nov 10, 2009
    * Refactored logic testing allow_nil and allow_blank
    * Refactored #call methods for validators to use a private #valid? method
      when possible, that performs the validator and returns true/false.
    
    [#935]
    [#1058 state:resolved]
  2. [dm-constraints] Automatically add constraints to all models when req…

    dkubb committed Nov 10, 2009
    …uired
    
    * This change is consistent with behavior of other DM plugins.
    * Minor doc update to show that intermediaries inherit constraints from
      the anonymous m:m relationships.
    
    [#1078 state:resolved]
Commits on Nov 6, 2009
  1. Merge branch 'master' into next

    dkubb committed Nov 6, 2009
  2. [dm-aggregates] Compare Time objects using stringified representations

    dkubb committed Nov 6, 2009
    * Microsecond differences will cause the Time objects not to compare
      properly, and we only care that they are the same at the resolution
      of seconds.
Commits on Nov 4, 2009
  1. Merge branch 'master' into next

    myabc committed Nov 4, 2009
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  2. [all] Fixes for Windows, JRuby

    myabc committed Oct 31, 2009
    * Remove tar requirement to placate Windows.
    * Do not try to install dm-ferret-adapter on Windows, JRuby when
      running `rake install` from repository root (adapter relies on
      native extension).
    * Do not return true after each install task.
    
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  3. [all] rake install task should use sudo on JRuby

    myabc committed with dkubb Oct 31, 2009
    * *NIX platforms only.
    * SUDOLESS env may be set to prevent this behavior, but this brings it
      closer inline to how rake install works for MRI.
    
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  4. [all] Correctly identify Windows on JRuby

    myabc committed with dkubb Oct 31, 2009
    * Identifying Windows correctly is essential for ensuring various Rake
      tasks work as expected, implicit sudo is not used and the right
      commands are passed to cmd.exe. This patch should help with install
      problems running JRuby on Windows.
    
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  5. [all] Remove unecessary flag in install task

    myabc committed with dkubb Oct 31, 2009
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  6. [all] Fixes for Windows, JRuby

    myabc committed with dkubb Oct 31, 2009
    * Remove tar requirement to placate Windows.
    * Do not try to install dm-ferret-adapter on Windows, JRuby when
      running `rake install` from repository root (adapter relies on
      native extension).
    * Do not return true after each install task.
    
    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
Commits on Oct 29, 2009
Commits on Oct 26, 2009
Commits on Oct 25, 2009
  1. [dm-more] Removed invalid specs

    dkubb committed Oct 25, 2009
    * dm-core now has behavior where Resource#attributes will not return
      unloaded attributes when called on a new Resource.  So attributes like
      :id, which usually won't be set until the resource is saved will not
      appear as keys in the Hash.
    * Marked failing specs in dm-tags as pending until the underlying issue
      can be resolved
Commits on Oct 22, 2009
Commits on Oct 21, 2009
  1. [dm-more] Removed dm-querizer

    dkubb committed Oct 21, 2009
  2. [dm-more] Removed dm-shorthand

    dkubb committed Oct 21, 2009
  3. [dm-more] Removed dm-is-viewable

    dkubb committed Oct 21, 2009
Commits on Oct 16, 2009
  1. Merge branch 'master' into next

    dkubb committed Oct 16, 2009
Commits on Oct 15, 2009
  1. [dm-tags] Simplified Model#tagged_with

    dkubb committed Oct 15, 2009
    * Removed unecessary validates_present call in Tagging because it is
      already being handled by auto-validation.
  2. [dm-adjust] Simplified Collection#adjust!

    dkubb committed Oct 15, 2009
    * No longer modify the conditions, but instead reset the conditions
      to match the resources in the collection when reload is passed
      to #adjust!
    * DataObjectsAdapter#adjust returns the number of affected rows rather
      than the DataObjects::Result object
    * DataObjectsAdapter#adjust accepts a Collection, like other CRUD methods
Commits on Oct 14, 2009
Commits on Oct 13, 2009
  1. [dm-rest-adapter] Now using model storage names

    namelessjon committed Oct 13, 2009
    [#1067 state:resolved]
    
    Previously, dm-rest-adapter used its own methods for determining the
    model part of the URL, which meant that the standard ways of overriding
    this name were not possible.