Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 30, 2009
  1. @dkubb

    Updated History

    dkubb committed
  2. @dkubb

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

    dkubb committed
    * 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. @snusnu

    [dm-validations] Improved active_model compatibility

    snusnu committed
    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. @dkubb

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

    dkubb committed
    * 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. @dkubb
  2. @dkubb

    Bumped version to 0.10.1

    dkubb committed
  3. @dkubb
  4. @dkubb
Commits on Sep 19, 2009
  1. @dkubb
  2. @dkubb

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

    dkubb committed
    * 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. @dkubb

    Updated History files

    dkubb committed
  2. @dkubb
Commits on Sep 15, 2009
  1. @dkubb

    Merge branch 'master' into next

    dkubb committed
  2. @dkubb
  3. @xaviershay @dkubb
  4. @xaviershay @dkubb
  5. @xaviershay
  6. @xaviershay
Commits on Sep 12, 2009
  1. @dkubb

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

    dkubb committed
    * Skip requiring rcov if the syntax is invalid
  2. @dkubb

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

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

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

    dkubb committed
    * 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. @namelessjon

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

    namelessjon committed
    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. @dkubb

    [dm-validations] Refactored length validator

    dkubb committed
    * 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. @dkubb

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

    dkubb committed
    * 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. @snusnu
  3. @dkubb

    [dm-more] Fixed broken hoe task file

    dkubb committed
    * The previous syntax was broken with newer versions of hoe
  4. @dkubb

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

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

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

    dkubb committed
    * 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. @dkubb
Commits on Sep 9, 2009
  1. @snusnu

    [all] Trying hard to please the CI gods

    snusnu committed
    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. @snusnu
  3. @snusnu
  4. @snusnu

    [all] Improved rubygems citizenship

    snusnu committed
    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. @namelessjon @snusnu

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

    namelessjon committed with snusnu
    Also, avoid hoe deprecation warnings by using Hoe.spec instead
Commits on Sep 3, 2009
  1. @dkubb

    Merge branch 'next'

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