Switch branches/tags
Nothing to show
Commits on Apr 17, 2008
  1. Merge branch 'master' of git://

    sam committed Apr 17, 2008
  2. Resolved ticket #210.

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

     * 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.
    Martin Kihlgren committed Apr 17, 2008
Commits on Apr 16, 2008
  1. Added specs for Property type casting

    Dan Kubb committed Apr 16, 2008
  2. Fixed failing specs

    * 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.
    Dan Kubb committed Apr 16, 2008
  3. Fixes stupid thing I did.

    committed Apr 16, 2008
  4. Assorted fixes.

      * 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.
    David Leal committed Apr 16, 2008
Commits on Apr 15, 2008
  1. Improve property-setting

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

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

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

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

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

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

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

    …alidation_contexts => [contexts]
    Guy van den Berg committed Apr 11, 2008
  2. Fixed documentation concerning lazy loading

    Guy van den Berg committed Apr 11, 2008
  3. Changed the Thread.current hash keys to use the dm prefix

    * 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
    Dan Kubb committed Apr 11, 2008
Commits on Apr 10, 2008
  1. Should fix an issue with enumerable.

    sam committed Apr 10, 2008
  2. Added documentation for the new property parameter

    Ken Robertson committed Apr 10, 2008
  3. Added support to pass property information own to custom types in the…

    … dump/load
    Ken Robertson committed Apr 10, 2008
  4. Make DM more jruby friendly.

    david committed Apr 10, 2008
  5. Moved mock_adapter into spec/lib

    Dan Kubb committed Apr 10, 2008
  6. Moved unit specifications into spec/unit

    * 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
    Dan Kubb committed Apr 10, 2008
  7. Fixed specs.

    sam committed Apr 10, 2008