Permalink
Commits on May 26, 2016
  1. Merge pull request #57 from tillsc/inherit_field_type2

    Inherit DB field type from superclass (second try)
    tpitale committed May 26, 2016
Commits on May 25, 2016
  1. Inherit DB field type from superclass

    Problem: All custom DataMapper::Properties (e.g. in dm-types) have database field types based upon their Ruby primitives. Especially Properties inheriting from DataMapper::Property::Text like DataMapper::Property::JSON have some problems with that behavior (since they will result in VARCARs instead of LOBs).
    
    This commit adds logic to try to find a database field type based upon the superclasses of the (custom) property. Only if no superclass has a direkt mapping from `property.class` to field type the fallback to the Ruby primitive (returned by `dump_as`) will take place.
    tillsc committed May 24, 2016
  2. Add failing spec

    tillsc committed Mar 30, 2015
Commits on May 24, 2016
  1. Merge pull request #58 from datamapper/travis-fix

    Attempt to install bundler to fix undef method spec
    tpitale committed May 24, 2016
  2. attempt to install bundler to fix undef method spec

    tpitale committed May 24, 2016
Commits on Feb 22, 2016
  1. Merge pull request #56 from patcheng/feature/better-sql-server

    Feature/better sql server
    tpitale committed Feb 22, 2016
  2. Merge branch 'master' into feature/better-sql-server

    * master: (36 commits)
      Fix mysql migration to handle integer properties with no min or max
      Fix non-text string property with no length to have a sane default
      Add jruby-19mode to allowed failures
      Fix handling of custom types in MySQL
      Change home-grown retry to built-in travis primitive
      Change .travis.yml to be consistent with dm-types
      Remove excess complexity from the Gemfile
      Remove backports gem dependency
      Fix spec setup and update Gemfile
      Update travis
      Add basic .travis.yml.
      Add basic .travis.yml.
      Add backports to isolated spec helpers
      Add specs for #change_column under MySQL
      Refactor mysql rename column statement generation
      Fix specs that were broken for postgresql since they assumed mysql syntax
      Fix code formatting and whitespace
      Added a spec for calling rename_column in modify_table on postgres/mysql.
      Include all column attributes when generating an ALTER TABLE / CHANGE statement.
      fix for sqlite
      ...
    
    # Conflicts:
    #	lib/dm-migrations/adapters/dm-do-adapter.rb
    patcheng committed Feb 22, 2016
Commits on Apr 7, 2015
Commits on Apr 3, 2015
  1. Add jruby-19mode to allowed failures

    * Remove unused JRUBY_OPTS switch
    dkubb committed Apr 3, 2015
  2. Fix handling of custom types in MySQL

    * This is mainly to assist the dm-validation specs at passing with
      a really funky custom property it defines.
    dkubb committed Apr 3, 2015
Commits on Mar 28, 2015
  1. Remove excess complexity from the Gemfile

    * Upgrade DataObjects minimum version
    * Remove MRI 1.8 configuration
    * Change :git options to use :github
    dkubb committed Mar 28, 2015
  2. Remove backports gem dependency

    dkubb committed Mar 28, 2015
Commits on Mar 27, 2015
  1. Update travis

    solnic committed Mar 27, 2015
  2. Merge branch 'release-1.2'

    solnic committed Mar 27, 2015
  3. Add basic .travis.yml.

    envygeeks committed with solnic Mar 26, 2013
Commits on Mar 26, 2013
  1. Add basic .travis.yml.

    envygeeks committed Mar 26, 2013
Commits on Apr 8, 2012
Commits on Apr 7, 2012
  1. Merge pull request #40 from yevgenko/patch-1

    add missed block variables
    dkubb committed Apr 7, 2012
  2. Refactor mysql rename column statement generation

    * Simplify code
    * Fix to not lose the default value for NOT NULL columns (previous code had a
      bug here)
    * Change base property_schema_statement method to only add a default to the
      statement if it is non-NULL
    dkubb committed Apr 7, 2012
  3. fix for sqlite

    rindek committed with dkubb Nov 29, 2011
  4. again - fix for mysql rename

    rindek committed with dkubb Nov 29, 2011
  5. rename statement fix

    rindek committed with dkubb Nov 29, 2011
  6. Added Migration#select.

    postmodern committed with dkubb Apr 3, 2012
Commits on Mar 13, 2012