1. 26 2月, 2014 8 次提交
  2. 25 2月, 2014 15 次提交
  3. 24 2月, 2014 12 次提交
  4. 23 2月, 2014 5 次提交
    • Y
      Coerce strings when reading attributes. · d9314b4c
      Yves Senn 提交于
      d9314b4c
    • Y
      Merge pull request #13793 from senny/postgres/dynamic_range_oid · 96759cf6
      Yves Senn 提交于
      Dynamically define PostgreSQL Range OIDs
      96759cf6
    • Y
      update version to 4.2.0.alpha · c554d170
      Yves Senn 提交于
      c554d170
    • Y
      deprecate support for pg ranges with excluding beginnings. · 91949e48
      Yves Senn 提交于
      The Ruby Range object does not support excluding beginnings.
      We currently support excluding beginnings for some subtypes using
      manually by incrementing them (now using the `#succ` method).
      This is approach is flawed as it's not equal to an excluding beginning.
      
      This commit deprecates the current support for excluding beginnings.
      It also raises an `ArgumentError` for subtypes that do not implement the `succ`
      method.
      
      This is a temporary solution to get rid of the broken state. We might still
      add complete support for excluding beginnings afterwards. (Probably with a
      new `PGRange` object, which acts like a `Range` but has excluding beginnings.
      91949e48
    • Y
      dynamically define PostgreSQL OID range types. · 4cb47167
      Yves Senn 提交于
      This gets AR working with custom defined range types. It also
      removes the need for subtype specific branches in `OID::Range`.
      
      This expands the interface of all `OID` types with the `infinity` method.
      It's responsible to provide a value for positive and negative infinity.
      4cb47167