Permalink
Switch branches/tags
Nothing to show
Commits on Apr 21, 2008
  1. All specs should pass.

    david committed Apr 21, 2008
  2. Revert "Moved to one_to_many.rb as Proxy."

    david committed Apr 21, 2008
    This reverts commit 682e5c4.
  3. Moved to one_to_many.rb as Proxy.

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

    Dan Kubb committed Apr 20, 2008
    * Added specs for exceptions
  2. Privatized the verbose association methods

    andykent committed with Dan Kubb Apr 20, 2008
  3. fixed the has :through docs I missed.

    andykent committed with Dan Kubb Apr 20, 2008
  4. Modified the docs to match the Merb doc format

    andykent committed with Dan Kubb Apr 20, 2008
  5. fixed up the docs

    andykent committed with Dan Kubb Apr 20, 2008
  6. Made many-to-many specs pending

    andykent committed with Dan Kubb Apr 20, 2008
  7. added a spec for many-to-many

    andykent committed with Dan Kubb Apr 19, 2008
  8. Moved n-1 functionality from has() into belongs_to

    andykent committed with Dan Kubb Apr 19, 2008
  9. Added in some basic documentation for has()

    andykent committed with Dan Kubb Apr 18, 2008
  10. has() now supports overriding the auto assigned constraints with :min…

    andykent committed with Dan Kubb Apr 18, 2008
    … & :max
  11. has() method re-write to be more sane

    andykent committed with Dan Kubb Apr 18, 2008
    - 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
  12. First pass for has() specs. 4 are failing though :(

    andykent committed with Dan Kubb Apr 18, 2008
  13. Fixed all rake tasks to run

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

    Dan Kubb committed Apr 20, 2008
  15. Removed tasks folder

    Dan Kubb committed Apr 20, 2008
    * Only contained a fixture that uses pre-DM 0.9 compatible code
  16. Removed burn folder

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

    Dan Kubb committed Apr 20, 2008
    * Outside code should use Repository.default_name instead
  18. Fixed failing specs

    Dan Kubb committed Apr 20, 2008
    * 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. Merge branch 'enum'

    benburkert committed Apr 19, 2008
  2. Updated logging in DM to be compatible with Merb's logger

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

    Dan Kubb committed Apr 19, 2008
    * Refactored LoadedSet#add to use LoadedSet#push to add new elements
      to the Set
  4. Minor refactoring

    Dan Kubb committed Apr 19, 2008
    * 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
  5. New (failing?) spec

    wycats committed Apr 19, 2008
  6. Merge branch 'master' of git@github.com:sam/dm-core

    wycats committed Apr 19, 2008
    * '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
  7. Failing spec

    wycats committed Apr 19, 2008
Commits on Apr 18, 2008