Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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.

    postmodern authored
    * Default the :needs option to an empty Array.
  7. @dkubb
  8. @dkubb

    Stripped whitespace

    dkubb authored
  9. @postmodern

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

    postmodern authored
    …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.
  10. @postmodern

    Fixed typo.

    postmodern authored
  11. @postmodern

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

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

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

    postmodern authored
    …ner.
    
    * 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.
  14. @postmodern

    Added the new DataMapper::Migrations::Runner.

    postmodern authored
    * 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.
  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…

    postmodern authored
    …n' actions of the migration.
  2. @postmodern

    Do not override StandardError#initialize in DuplicateMigration.

    postmodern authored
    * Other libraries might want to use different messages.
  3. @postmodern
  4. @postmodern
  5. @postmodern

    Minor refactoring to DataMapper::Migration.

    postmodern authored
    * 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.
Commits on Jul 15, 2010
  1. @dbussink

    Put the Inflector into our own namespace

    dbussink authored
    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.
Commits on Jul 12, 2010
  1. @snusnu

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

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

    Version bump to 1.0.0

    dkubb authored
Commits on May 27, 2010
  1. @dkubb

    Version bump to 1.0.0.rc3

    dkubb authored
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 authored
  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

    dkubb authored
    * 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
    
    [#1280]
  2. @dkubb
Something went wrong with that request. Please try again.