Skip to content
Commits on Apr 17, 2008
  1. @sam

    Merge branch 'master' of git://

    sam committed
  2. Resolved ticket #210.

    Martin Kihlgren committed
     * Made DataObjectsAdapter#update do nothing when no properties
       are updated.
  3. Resolved ticket #212.

    Martin Kihlgren committed
     * Made Property hashable by providing #hash and #eql? methods.
     * Made @dirty_attributes of Resource a Set to let users replace
       old dirty attributes with new ones.
Commits on Apr 16, 2008
  1. Added specs for Property type casting

    Dan Kubb committed
  2. Fixed failing specs

    Dan Kubb committed
    * Updated Property#typecast to use a case statement
    * Updated BigDecimal object to be created rather than a Float when the
      property type is BigDecimal
    * Updated Property#typecase to pass-through nil values
    * Simplified dynamically created getter/setter to use the standard
      Resource#[] and #[]=.  This will probably hurt the benchmarks but
      is probably a better long term solution since the code duplication
      resulted in this bug.
    * Updated Resource#attributes= to use the actual mutator rather than to
      bypass it and use Resource#[]= directly.
  3. Fixes stupid thing I did.

  4. Assorted fixes.

    David Leal committed
      * A method advised with after now returns its value, and not after's.
      * We now detect bad arguments passed to before/after.
      * Methods ending in = can now be advised.
Commits on Apr 15, 2008
  1. Improve property-setting

Commits on Apr 14, 2008
  1. Fixed spelling mistake, now normalize_uri, was normilize_uri

    Dan Kubb committed
    * Updated normalize_uri to be protected
Commits on Apr 13, 2008
  1. Moved OneToMany::Instance to ParentToChildAssociation

    Dan Kubb committed
    * Code was nearly identical in both modules.  Since OneToOne and
      OneToMany also need this code, I decided to use
      ParentToChildAssociation as the base
  2. Renamed #uri to #normilize_uri on AbstractAdapter. Exposed @uri read …

    Guy van den Berg committed
    …only as uri
  3. oops... exposing the uri caused a method name conflict. My bad.

    Guy van den Berg committed
  4. Exposed @uri as uri in the abstract adapter. Read only.

    Guy van den Berg committed
Commits on Apr 12, 2008
  1. Renamed Resource::ClassMethods#resource_name as #storage_name

    Dan Kubb committed
    * Added Repository.default_name
    * Updated Resource::ClassMethods methods that accepted repository_name
      as an argument to use default_repository_name if no argument passed
Commits on Apr 11, 2008
  1. @david
  2. @david
  3. property declaration now users :validates => [contexts] instead of :v…

    Guy van den Berg committed
    …alidation_contexts => [contexts]
  4. Fixed documentation concerning lazy loading

    Guy van den Berg committed
  5. Changed the Thread.current hash keys to use the dm prefix

    Dan Kubb committed
    * Moved class variable declation to Resoruce::ClassMethods#included
    * Object#extend is public, updated calls to not use Object#send
    * Updated Resource::ClassMethods#method_missing to be private
    * Minor cleanup
Commits on Apr 10, 2008
  1. @david
  2. @david
  3. @sam

    Should fix an issue with enumerable.

    sam committed
  4. Added documentation for the new property parameter

    Ken Robertson committed
  5. Added support to pass property information own to custom types in the…

    Ken Robertson committed
    … dump/load
  6. @sam
  7. @david
  8. @david
  9. @david
  10. @david

    Make DM more jruby friendly.

    david committed
  11. Moved mock_adapter into spec/lib

    Dan Kubb committed
  12. Moved unit specifications into spec/unit

    Dan Kubb committed
    * spec/unit/* specs should specify the behaviour of the associated
      code with no external dependencies.
    * Updated autotest rules to match file layout change
    * Updated require paths within the unit specs
  13. @sam

    Fixed specs.

    sam committed
  14. @sam
Something went wrong with that request. Please try again.