Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Apr 17, 2008
  1. @sam

    Merge branch 'master' of git://github.com/krobertson/dm-core

    sam authored
    Conflicts:
    
    	lib/data_mapper/property.rb
    	lib/data_mapper/resource.rb
  2. Resolved ticket #210.

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

    Martin Kihlgren authored
     * 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 authored
  2. Fixed failing specs

    Dan Kubb authored
    * 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.

    authored
  4. Assorted fixes.

    David Leal authored
      * 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

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

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

    Dan Kubb authored
    * 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 authored
    …only as uri
  3. Exposed @uri as uri in the abstract adapter. Read only.

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

    Dan Kubb authored
    * 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 authored
    …alidation_contexts => [contexts]
  4. Fixed documentation concerning lazy loading

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

    Dan Kubb authored
    * 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
  4. Added documentation for the new property parameter

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

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

    Make DM more jruby friendly.

    david authored
  11. Moved mock_adapter into spec/lib

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

    Dan Kubb authored
    * 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 authored
  14. @sam
Something went wrong with that request. Please try again.