Skip to content
This repository

Jan 04, 2013

  1. bUg.

    Added ability to compare date/time with infinity

    Date, DateTime, Time and TimeWithZone can now be compared to infinity,
      so it's now possible to create ranges with one infinite bound and
      date/time object as another bound.
      Ex.: @range =, Float::INFINITY)
    Also it's possible to check inclusion of date/time in range with
      Ex.: @range.include?( + 1.year) # => true
           @range.include?( + 1.year) # => true
    Ability to create date/time ranges with infinite bound is required
      for handling postgresql range types.
    slbug authored
Something went wrong with that request. Please try again.