Skip to content

HTTPS clone URL

Subversion checkout URL

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

    All specs should pass.

    david authored
  2. @david

    Revert "Moved to one_to_many.rb as Proxy."

    david authored
    This reverts commit 682e5c4.
  3. @david
  4. @david
  5. @david
Commits on Apr 20, 2008
  1. Updated has() to accept a cardinality of 0..1

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

    Privatized the verbose association methods

    andykent authored Dan Kubb committed
  3. @andykent

    fixed the has :through docs I missed.

    andykent authored Dan Kubb committed
  4. @andykent

    Tweaked the docs and wrote the specs to include through

    andykent authored Dan Kubb committed
  5. @andykent

    Modified the docs to match the Merb doc format

    andykent authored Dan Kubb committed
  6. @andykent

    fixed up the docs

    andykent authored Dan Kubb committed
  7. @andykent

    Made many-to-many specs pending

    andykent authored Dan Kubb committed
  8. @andykent

    added a spec for many-to-many

    andykent authored Dan Kubb committed
  9. @andykent

    Moved n-1 functionality from has() into belongs_to

    andykent authored Dan Kubb committed
  10. @andykent

    Added in some basic documentation for has()

    andykent authored Dan Kubb committed
  11. @andykent

    has() now supports overriding the auto assigned constraints with :min…

    andykent authored Dan Kubb committed
    … & :max
  12. @andykent

    has() method re-write to be more sane

    andykent authored Dan Kubb committed
    - 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 authored Dan Kubb committed
  14. Fixed all rake tasks to run

    Dan Kubb authored
    * 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 authored
  16. Removed tasks folder

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

    Dan Kubb authored
    * 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 authored
    * Outside code should use Repository.default_name instead
  19. Fixed failing specs

    Dan Kubb authored
    * 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 authored
  3. Updated logging in DM to be compatible with Merb's logger

    Dan Kubb authored
    * 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 authored
    * Refactored LoadedSet#add to use LoadedSet#push to add new elements
      to the Set
  5. Minor refactoring

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

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

    wycats authored
    * 'master' of git@github.com:sam/dm-core:
      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 authored
Commits on Apr 18, 2008
  1. @david
Something went wrong with that request. Please try again.