Skip to content
Commits on Aug 15, 2010
  1. @snusnu
  2. @snusnu
  3. @snusnu
  4. @snusnu
  5. @snusnu
  6. @postmodern

    Under Ruby 1.8.x, splat will not filter out a nil value.

    * Default the :needs option to an empty Array.
    postmodern committed Aug 15, 2010
  7. @dkubb
  8. @dkubb

    Stripped whitespace

    dkubb committed Aug 14, 2010
  9. @postmodern

    Added DataMapper::Migrations::Graph which uses TSort to sort migratio…

    …ns by position or dependencies.
    * Added DataMapper::Migrations::UnknownMigration.
    * Added DataMapper::Migrations::Graph.
    * Added the :needs and @needs ivar to DataMapper::Migration to store
      the dependencies of a migration.
    * Removed DataMapper::Migration#position, as the migration position is
      now stored in DataMapper::Graph.
    * Refactored DataMapper::Migrations::Runner::ClassMethods to use
      the new DataMapper::Migrations::Graph.
    postmodern committed Aug 14, 2010
  10. @postmodern

    Fixed typo.

    postmodern committed Aug 13, 2010
  11. @postmodern

    Include DataMapper::Property::Lookup into DataMapper::Migrations::Run…

    …ner::ClassMethods, for Property Class lookups in migrations.
    postmodern committed Aug 13, 2010
  12. @postmodern
  13. @postmodern

    Replaced DataMapper::MigrationRunner with DataMapper::Migrations::Run…

    * We simply include DataMapper::Migrations::Runner into Kernel
      and include (instead of extend) DataMapper::Migrations::Runner::ClassMethods.
    * Maintain backwards compatibility by keeping 'dm-migrations/migration_runner.rb'
      and the DataMapper::MigrationRunner constant.
    postmodern committed Aug 7, 2010
  14. @postmodern

    Added the new DataMapper::Migrations::Runner.

    * Allows defining migrations in namespaces by including
      DataMapper::Migrations::Runner into a module.
    * Tracks all registered migration namespaces in Runner.migration_namespaces.
    * Allows defining migrations with positions or versions.
    postmodern committed Aug 7, 2010
  15. @postmodern
Commits on Aug 14, 2010
  1. @postmodern

    Do not print any output if there is no block set for the 'up' or 'dow…

    …n' actions of the migration.
    postmodern committed Aug 13, 2010
  2. @postmodern

    Do not override StandardError#initialize in DuplicateMigration.

    * Other libraries might want to use different messages.
    postmodern committed Aug 13, 2010
  3. @postmodern
  4. @postmodern
  5. @postmodern

    Minor refactoring to DataMapper::Migration.

    * Deprecate the :database option in favor of the :repository option.
    * Only request the repository and adapter before actually performing
      the migration.
    * Initialize up_action and down_action to nil.
    postmodern committed Aug 13, 2010
Commits on Jul 15, 2010
  1. @dbussink

    Put the Inflector into our own namespace

    It's not a sign of being a nice citizen that in case people don't
    use ActiveSupport, they end up with this constant defined anyway.
    dbussink committed Jul 15, 2010
Commits on Jul 12, 2010
  1. @snusnu

    Oracle's 'ALTER TABLE' needs 'ADD' instead of 'ADD COLUMN'

    [#1357 state:resolved]
    snusnu committed Jul 12, 2010
Commits on Jun 8, 2010
  1. @dkubb

    Version bump to 1.0.0

    dkubb committed Jun 8, 2010
Commits on May 27, 2010
  1. @dkubb

    Version bump to 1.0.0.rc3

    dkubb committed May 27, 2010
Commits on May 26, 2010
  1. @dkubb
Commits on May 25, 2010
  1. @dkubb
  2. @dkubb
Commits on May 24, 2010
  1. @dkubb
  2. @dkubb
  3. @dkubb

    Minor formatting update

    dkubb committed May 23, 2010
  4. @dkubb
  5. @dkubb
Commits on May 23, 2010
  1. @dkubb
Commits on May 22, 2010
  1. @dkubb

    Mixin the migration API into each loaded adapter

    * The previous approach relied on the adapters being setup, which
      may not always be true if bundler is being used. Sure, we could tell
      people to use :require => nil on adapters, but I would rather not have
      to explain that exception every-time this or related problems appear.
    * Even though this was not strictly related to #1280, I am tagging it
      with the bug because it is the exact same problem as with transactions
    dkubb committed May 21, 2010
  2. @dkubb
Something went wrong with that request. Please try again.