Skip to content
Commits on May 3, 2014
  1. @snusnu

    Add NamingConventions::Field::FQN

    Given
    
    * a model with storage_name = ‘accounts’
    * a property with name = ‘name’
    
    returns ‘account_name’
    
    This is useful for defining database schemas which need minimal
    renaming for natural joins
    snusnu committed May 3, 2014
Commits on Mar 22, 2014
  1. @snusnu

    Respect :unique_index option in #belongs_to

    This simply passes the :unique_index passed to
    #belongs_to on to ManyToOne#source_key_options
    
    I have no time for refamiliarizing myself with the
    testsuite, but it works for our app.
    snusnu committed Mar 22, 2014
Commits on Jul 9, 2013
  1. @dkubb
  2. @dkubb
  3. @dkubb
  4. @dkubb
  5. @dkubb

    Remove rcov gem dependency

    dkubb committed Jul 9, 2013
  6. @dkubb

    Fix ci task to run spec task

    * The metrics:all task was removed earlier.
    dkubb committed Jul 9, 2013
  7. @dkubb

    Fix usage of zip for Ruby 2.0

    * In Ruby 2.0 it does not automatically coerce arguments to an
      Array, so it needs to be done manually, which is good since the
      resulting code is nicer anyway.
    dkubb committed Jul 9, 2013
Commits on Jun 18, 2013
  1. @dkubb
Commits on Jun 15, 2013
  1. @dkubb

    Update shared adapter specs to ensure the resource are saved

    * Later tests can fail, and it's not always clear why. This will
      help isolate the failure more closely.
    dkubb committed Jun 14, 2013
Commits on Jun 14, 2013
  1. @dkubb
  2. @dkubb

    Update references to localhost to be 127.0.0.1

    * Not all hosts seem to have localhost mapped to 127.0.0.1
      (travis-ci?) in all environments.
    dkubb committed Jun 14, 2013
  3. @dkubb
  4. @dkubb

    Fix spec to use include after merging in master changes

    * There were so many changes between master and release-1.2 I
      must've missed this regression.
    dkubb committed Jun 14, 2013
  5. @dkubb
Commits on Jun 13, 2013
  1. @dkubb

    Change specs from be_include to include

    * This provides better feedback on failure
    dkubb committed Jun 13, 2013
  2. @dkubb

    Add cleanup to shared adapter specs

    * The specs now properly clean up after themselves.
    dkubb committed Jun 13, 2013
Commits on Jun 10, 2013
  1. @solnic

    No need to build 1.9.2

    solnic committed Jun 10, 2013
  2. @solnic

    Relax dep on addressable

    solnic committed Jun 10, 2013
Commits on Apr 12, 2013
  1. @dkubb

    Fix Property#typecast to pass-through values that cannot be handled

    * This fixes a related problem to #242. Most of properties that ship
      with dm-core define #typecast_to_primitive, but custom properties
      may not and I believe we should pass-through the value when it
      cannot be handled.
    dkubb committed Apr 11, 2013
  2. @dkubb
Commits on Mar 18, 2013
  1. @dkubb
Commits on Mar 16, 2013
  1. @dkubb
  2. @dkubb

    Upgrade addressable gem dependency

    dkubb committed Mar 16, 2013
  3. @gix @dkubb
  4. @gix @dkubb
  5. @gix @dkubb

    Avoid unnecessary dirty state when mutating properties to an equal va…

    …lue.
    
    Mutators check whether the new value equals the current value and change
    the state accordingly. The typecast in Property#set occurs after this check
    which results in unnecessary dirty flagging when the new value equals the
    current one after casting.
    
    Typecasting now happens in property mutators (and Resource#attribute_set)
    at the earliest point possible.
    gix committed with dkubb Nov 8, 2010
Commits on Feb 8, 2013
  1. @dkubb

    Update specs to use Collection#get! when the record is expected

    * Some of the specs on rbx (on travis) are blowing up with weird
      results because earlier attempts to load the record silently
      failed. This puts the error closer to where it happens and makes
      it more clear when there is a problem with persistence.
    dkubb committed Feb 8, 2013
  2. @dkubb
  3. @dkubb
Commits on Feb 7, 2013
  1. @dkubb
  2. @dkubb
  3. @dkubb
  4. @dkubb

    Change Mash#to_hash to use Hash#replace

    * This should silence a problem with rbx on travis-ci. Also it's
      faster and more precise.
    dkubb committed Feb 7, 2013
Something went wrong with that request. Please try again.