Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 30, 2009
  1. Dan Kubb

    Updated History

    dkubb authored
  2. Dan Kubb

    [dm-is-state_machine] Make sure a Symbol state is coerced into a String

    dkubb authored
    * Do not rely on dm-core to coerce Symbol into a String, because it's
      default behavior is extremely permissive, and will likely be
      tightened to only coerce specific types.
Commits on Sep 24, 2009
  1. Martin Gamsjaeger

    [dm-validations] Improved active_model compatibility

    snusnu authored
    With this change, dm-validations is compatible with
    active_model's requirements regarding the #errors and
    the #valid? method.
    The remaining aspects of of active_model compatibility
    are handled inside the dm-active_model plugin.
Commits on Sep 22, 2009
  1. Dan Kubb

    [dm-validations] Minor refactoring of auto-validation methods

    dkubb authored
    * Added gaurd clauses to each auto-validation method cleans up the
      logic and removes some nested conditional code.
    * Always pass the base options into the validation methods so that
      :allow_nil => true is always in effect in auto-validations
    * Changed usage of Hash#has_key? to Hash#key? as a matter of personal
      preference, and consistency with dm-core
    * Renamed infer_numeric_validation_for method to the more correct
    * Minor formatting changes
Commits on Sep 21, 2009
  1. Dan Kubb
  2. Dan Kubb

    Bumped version to 0.10.1

    dkubb authored
  3. Dan Kubb
  4. Dan Kubb
Commits on Sep 19, 2009
  1. Dan Kubb
  2. Dan Kubb

    [dm-ar-finders] Removed usage of Resource#loaded_properties from specs

    dkubb authored
    * Resource#loaded_properties was removed from the API during a refactoring
      of dm-core internals.  It probably won't get exposed in a different
      form, since it is possible to determine which properties are loaded
      using other approaches.  Plus the loaded/unloaded behavior is something
      that happens inside a Resource and probably should not be exposed to
      the outside world.
Commits on Sep 16, 2009
  1. Dan Kubb

    Updated History files

    dkubb authored
  2. Dan Kubb
Commits on Sep 15, 2009
  1. Dan Kubb

    Merge branch 'master' into next

    dkubb authored
  2. Dan Kubb
  3. Xavier Shay Dan Kubb

    [dm-sweatshop] ruby 1.9 compat fix for specs

    xaviershay authored dkubb committed
  4. Xavier Shay Dan Kubb

    [dm-sweatshop] Rearrange specs so that more of them are run when Pars…

    xaviershay authored dkubb committed
    …eTree is not available
  5. Xavier Shay
  6. Xavier Shay
Commits on Sep 12, 2009
  1. Dan Kubb

    [dm-more] Added fix for Ruby 1.9 and rcov conflicts

    dkubb authored
    * Skip requiring rcov if the syntax is invalid
  2. Dan Kubb

    [dm-more] Require rubygems in each spec_helper.rb

    dkubb authored
    * This is a test to fix the CI server and see if it can find dm-core
      within the system path.
  3. Dan Kubb

    [dm-serializer] Updated integration specs to handle validations changes

    dkubb authored
    * dm-validations now skips over extra auto-validation when the value
      is nil to prevent redundant error messages from being raised
Commits on Sep 11, 2009
  1. Jon

    [all] Make dm-more spec task fail if sub-gem specs fail

    namelessjon authored
    Now all specs will still run (rather than aborting on first failure),
    but the exit status of the command will reflect the overall success or
  2. Dan Kubb

    [dm-validations] Refactored length validator

    dkubb authored
    * Removed unecessary usage of Range#max from LengthValidator#call which
      was causing some slowness when the max was large (due to how Range#max
      uses Enumerable#max under the hood)
    * Added YARD docs for all refactored methods
Commits on Sep 10, 2009
  1. Dan Kubb

    [dm-validations] Remove redundant error messages when value is nil

    dkubb authored
    * It is only necessary to return presence error messages when a value
      is nil, not that the length is wrong (because that's obvious), or that
      the format is wrong (also obvious), etc.
  2. Martin Gamsjaeger
  3. Dan Kubb

    [dm-more] Fixed broken hoe task file

    dkubb authored
    * The previous syntax was broken with newer versions of hoe
  4. Dan Kubb

    [dm-more] Added dependency for dm-serializer to dm-rest-adapter

    dkubb authored
    * Removed unecessary require statements from dm-rest-adapter and
    * Minor code cleanup in dm-types Rakefile
  5. Dan Kubb

    [dm-more] Change the spec runner to require rubygems automatically

    dkubb authored
    * Removed usage of rubygems from each Rakefile.  It is automatically
      included by the rake command, so including it in each Rakefile is
    * Updated the shared hoe task file to require hoe ~>2.3.3
    * Fixed broken require line in ferret adapter
  6. Dan Kubb
Commits on Sep 9, 2009
  1. Martin Gamsjaeger

    [all] Trying hard to please the CI gods

    snusnu authored
    Previously export RUBYOPT=-Ispec was masking the
    fact that "lib" and "spec" dirs weren't added to
    rspec's loadpath. This caused rake spec to fail
    when RUBYOPT=-Ispec wasn't set
  2. Martin Gamsjaeger
  3. Martin Gamsjaeger
  4. Martin Gamsjaeger

    [all] Improved rubygems citizenship

    snusnu authored
    Removed a lot of the complexity in specifying
    require paths and which specs to run, relying
    on defaults and not assuming rubygems as much as
    is practical.
    It's still possible to either run 'rake spec' or
    run the 'spec' command on individual files. If
    you want to run specs for individual files, you
    will need to do something to the effect of:
      export RUBYOPT=-Ispec
    Also, when running from a typical dev setup
    (dm-core and dm-more are in the same folder),
    specs will pick up the local version of dm-core
    instead of the gem version. This also happens
    for dm-more plugin specs that depend on other
    dm-more plugins.
Commits on Sep 7, 2009
  1. Jon Martin Gamsjaeger

    [all] Don't use Hoe's spec task to avoid running specs twice

    namelessjon authored snusnu committed
    Also, avoid hoe deprecation warnings by using Hoe.spec instead
Commits on Sep 3, 2009
  1. Dan Kubb

    Merge branch 'next'

    dkubb authored
Something went wrong with that request. Please try again.