Skip to content
Commits on Apr 21, 2008
  1. @david

    All specs should pass.

    david committed
  2. @david

    Revert "Moved to one_to_many.rb as Proxy."

    david committed
    This reverts commit 682e5c4.
  3. @david

    Moved to one_to_many.rb as Proxy.

    david committed
  4. @david
  5. @david
Commits on Apr 20, 2008
  1. Updated has() to accept a cardinality of 0..1

    Dan Kubb committed
    * Added specs for exceptions
  2. @andykent

    Privatized the verbose association methods

    andykent committed with Dan Kubb
  3. @andykent

    fixed the has :through docs I missed.

    andykent committed with Dan Kubb
  4. @andykent
  5. @andykent

    Modified the docs to match the Merb doc format

    andykent committed with Dan Kubb
  6. @andykent

    fixed up the docs

    andykent committed with Dan Kubb
  7. @andykent

    Made many-to-many specs pending

    andykent committed with Dan Kubb
  8. @andykent

    added a spec for many-to-many

    andykent committed with Dan Kubb
  9. @andykent

    Moved n-1 functionality from has() into belongs_to

    andykent committed with Dan Kubb
  10. @andykent

    Added in some basic documentation for has()

    andykent committed with Dan Kubb
  11. @andykent
  12. @andykent

    has() method re-write to be more sane

    andykent committed with Dan Kubb
    - fully specced and all specs passing
    - supports 1..n n..1 n..n associations
    - support for 1..4  4..1 4..4 style for setting fixed constraints
    - no support for constraints within a range yet though, have to fall back to :min=>1, :max=>2 for that
    - needs docs
  13. @andykent

    First pass for has() specs. 4 are failing though :(

    andykent committed with Dan Kubb
  14. Fixed all rake tasks to run

    Dan Kubb committed
    * Added descriptions for non-alias tasks
    * Added task to clobber all package, rdoc and spec products
    * Aliased "rake spec" to "rake dm:spec"
  15. Fixed rake dm:profile

    Dan Kubb committed
  16. Removed tasks folder

    Dan Kubb committed
    * Only contained a fixture that uses pre-DM 0.9 compatible code
  17. Removed burn folder

    Dan Kubb committed
    * Can always retrieve code from git repo, but we wanted to de-clutter
      the project files
  18. Make Resource.default_repository_name private

    Dan Kubb committed
    * Outside code should use Repository.default_name instead
  19. Fixed failing specs

    Dan Kubb committed
    * Reorganized DataMapper.repository to try to use a named repository if
      a name is passed in, otherwise it will use the current repository
      in-scope, and failing that, will use a default repository.
    * Some spec code was passing in arguments that were no-longer in use,
      added TODO notes so that when that area is refactored, we explicitly
      check the options to make sure only allowed ones are passed in.
Commits on Apr 19, 2008
  1. @benburkert
  2. @benburkert

    Merge branch 'enum'

    benburkert committed
  3. Updated logging in DM to be compatible with Merb's logger

    Dan Kubb committed
    * Logging methods no longer take a block, they only accept a single
      String argument
  4. Updated LoadedSet API to match "Set" API for associations

    Dan Kubb committed
    * Refactored LoadedSet#add to use LoadedSet#push to add new elements
      to the Set
  5. Minor refactoring

    Dan Kubb committed
    * Updated all SQL logging to include the type of operation it is
    * Changed leading tabs to spaces
    * Changed anywhere that super() is passed the same arguments as the
      method its contained within to omit passing in the arguments
    * Small variable name changes
    * Removed documentation showing multiple properties assigned in a
      single property declaration
    * Updated argument errors to include more debug information
  6. @wycats

    New (failing?) spec

    wycats committed
  7. @wycats

    Merge branch 'master' of

    wycats committed
    * 'master' of
      Associations may now be added inside a repository do ... end block
      Fixed repository(...) do ... end inside a Resource class declaration.
      Made Resource::ClassMethods#find_by_sql slightly more practically useful
      Added Resource::ClassMethods#find_by_sql.
      Added better documentation for Resource.including_classes.
      Enabled DataMapper::Resource to know what classes have included it.
      Resolved ticket #210.
      Resolved ticket #212.
      Added specs for Property type casting
      Fixed failing specs
      Fixes stupid thing I did.
      Assorted fixes.
      Added documentation for the new property parameter
      Added support to pass property information own to custom types in the dump/load
  8. @wycats

    Failing spec

    wycats committed
Commits on Apr 18, 2008
  1. @david
Something went wrong with that request. Please try again.