Permalink
Commits on Nov 24, 2009
  1. @dkubb

    [dm-more] Fixed file permissions

    dkubb committed Nov 24, 2009
  2. @dkubb

    [dm-more] Converted to use Jeweler

    * Removed old/unecessary files
    dkubb committed Nov 24, 2009
Commits on Nov 20, 2009
  1. @dkubb
Commits on Nov 11, 2009
  1. @dkubb

    Added specs to ensure Unioned Collections work with aggregate functions

    * This corresponds with fixes made in dm-core that allow these specs
      to pass.
    
    [#1121 state:resolved]
    dkubb committed Nov 11, 2009
  2. @dkubb

    [dm-validations] Removed allow_blank option from acceptance validator

    * 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
    dkubb committed Nov 11, 2009
  3. @dkubb
  4. @dkubb
  5. @dkubb
  6. @dkubb

    [dm-more] Updated to use :required instead of :nullable for Property …

    …declarations
    
    [#935]
    dkubb committed Nov 11, 2009
Commits on Nov 10, 2009
  1. @dkubb

    [dm-validations] Add :allow_blank option to validators

    * 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]
    dkubb committed Nov 10, 2009
  2. @dkubb

    [dm-constraints] Automatically add constraints to all models when req…

    …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]
    dkubb committed Nov 10, 2009
Commits on Nov 6, 2009
  1. @dkubb

    Merge branch 'master' into next

    dkubb committed Nov 6, 2009
  2. @dkubb

    [dm-aggregates] Compare Time objects using stringified representations

    * 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.
    dkubb committed Nov 6, 2009
  3. @dkubb
Commits on Nov 4, 2009
  1. @myabc

    Merge branch 'master' into next

    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
    myabc committed Nov 4, 2009
  2. @myabc

    [all] Fixes for Windows, JRuby

    * 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>
    myabc committed Oct 31, 2009
  3. @myabc @dkubb

    [all] rake install task should use sudo on JRuby

    * *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>
    myabc committed with dkubb Oct 31, 2009
  4. @myabc @dkubb

    [all] Correctly identify Windows on JRuby

    * 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>
    myabc committed with dkubb Oct 31, 2009
  5. @myabc @dkubb

    [all] Remove unecessary flag in install task

    Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
    myabc committed with dkubb Oct 31, 2009
  6. @myabc @dkubb

    [all] Fixes for Windows, JRuby

    * 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>
    myabc committed with dkubb Oct 31, 2009
Commits on Oct 29, 2009
  1. @snusnu
Commits on Oct 26, 2009
  1. @dkubb
Commits on Oct 25, 2009
  1. @dkubb

    [dm-more] Removed invalid specs

    * 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
    dkubb committed Oct 25, 2009
Commits on Oct 22, 2009
  1. @dkubb
  2. @dkubb
Commits on Oct 21, 2009
  1. @dkubb

    [dm-more] Removed dm-querizer

    dkubb committed Oct 21, 2009
  2. @dkubb

    [dm-more] Removed dm-shorthand

    dkubb committed Oct 21, 2009
  3. @dkubb

    [dm-more] Removed dm-is-viewable

    dkubb committed Oct 21, 2009
Commits on Oct 16, 2009
  1. @abhay @dkubb
  2. @abhay @dkubb
  3. @dkubb

    Merge branch 'master' into next

    dkubb committed Oct 16, 2009
  4. @dkubb
Commits on Oct 15, 2009
  1. @dkubb

    [dm-tags] Simplified Model#tagged_with

    * Removed unecessary validates_present call in Tagging because it is
      already being handled by auto-validation.
    dkubb committed Oct 15, 2009
  2. @dkubb

    [dm-adjust] Simplified Collection#adjust!

    * 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
    dkubb committed Oct 15, 2009
  3. @dkubb