Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.0.2

Mar 18, 2011

  1. Jeremy Evans

    Bump version to 1.0.2

    authored March 18, 2011
  2. Jeremy Evans

    Use atoi instead of rb_cstr_to_dbl to allow compilation on JRuby 1.6.0

    authored March 18, 2011
  3. Jeremy Evans

    Only run .rb files in the specs

    This fixes issues if you run the specs under rubinius and then under
    MRI or jruby without cleaning.
    authored March 18, 2011

Mar 17, 2011

  1. Sokolov Yura

    add specs for new formats

    authored March 17, 2011
  2. Sokolov Yura

    add sec_fraction handling

    authored March 17, 2011
  3. Sokolov Yura

    relax iso_zone rule (for accepting postgresql and sqlite3)

    authored March 17, 2011

Feb 28, 2011

  1. Jeremy Evans

    Bump version to 1.0.1

    authored February 28, 2011
  2. Jeremy Evans

    Fix #step handling to raise ArgumentError for a 0 step

    authored February 28, 2011
  3. Jeremy Evans

    Enable allocate class method for Date and DateTime

    Also, change dup and clone to call super instead of using
    DUPSETUP and CLONESETUP.  This makes dup and clone work
    correctly on rubinius.  It also makes dup and clone work
    correctly for Date on jruby, but not for DateTime due to
    a bug in JRuby.
    
    allocate is defined to use the julian day 0 for simplicity.
    authored February 28, 2011
  4. Jeremy Evans

    Add support for #dup and #clone, fixes issue #21

    authored February 28, 2011

Feb 01, 2011

  1. Jeremy Evans

    Define Date::Format::ZONES in ruby instead of C, bump version to 1.0.0

    For some unknown reason, defining Date::Format::ZONES in C was
    causing the occassional segfault when loading home_run, either
    in an rb_hash_aset call or when freezing the hash in format.rb.
    
    The reason it was defined in C originally was because it is used
    in the zone_to_diff method defined in C.  However, that can be
    worked around with some additionally checking in the method.
    
    Note that Date::ZONES is no longer defined, only Date::Format::ZONES.
    authored February 01, 2011

Nov 13, 2010

  1. Jeremy Evans

    Add Runt to the incompatibilities section of the README (Fixes #19)

    Thanks to clifton for reporting this issue.
    authored November 12, 2010

Oct 18, 2010

  1. Jeremy Evans

    Bump version to 0.9.4 and update CHANGELOG

    authored October 18, 2010
  2. Jeremy Evans

    Remove ruby-ole from known incompatibilities, since it is now fixed

    authored October 18, 2010
  3. Jeremy Evans

    Make DateTime methods return subclass instances

    Similar as previous changes for Date.  This requires an API change
    for rhrdt__from_jd_nanos to accept a ruby class as a first argument.
    authored October 18, 2010
  4. Jeremy Evans

    Add specs to make DateTime subclass methods return subclass instances

    Similar as previous change made for Date methods.
    authored October 18, 2010
  5. Jeremy Evans

    Fix extension to return subclass instances for subclass methods

    In most cases, this is solved by using rb_obj_class(self) instead
    of hard coding rhrd_class.  This does require an API change
    for rhrd__from_hash, which now takes the class as the first
    argument.
    authored October 18, 2010
  6. Jeremy Evans

    Add specs for subclass methods returning subclass instances

    Previously, Date was hard coded in a few places, so that if you
    did Class.new(Date).new + 1, you got an instance of Date back,
    instead of an instance of the subclass. This adds specs for many
    cases to ensure that the correct class is used.  In some cases,
    these specs pass without code changes, in others the following
    commit is required.
    
    Problem pointed out by aquasync (ruby-ole gem author) as a comment
    on issue #15.
    authored October 18, 2010
  7. Jeremy Evans

    Use INT2FIX instead of LONG2NUM where the argument is hard coded

    If it is hard coded, you know it will fit in a Fixnum, so INT2FIX
    is safe.  Many other places in the library LONG2NUM is used
    where INT2FIX may also work, but I'd have to check each case to be
    sure.
    authored October 18, 2010

Sep 20, 2010

  1. Jeremy Evans

    Fix undefining today if already undefined, bump version to 0.9.3

    authored September 20, 2010

Sep 12, 2010

  1. Jeremy Evans

    Bump version to 0.9.2

    authored September 12, 2010
  2. Jeremy Evans

    Modify some README text (Fixes #12)

    In certain cases, `home_run --install` or `home_run command` is
    necessary on 1.9.  Projects like Bundler that manipulate the
    load path and load things in a certain order may break when used
    with home_run unless you use one of the above.
    
    Add a special note about Rails 3, in order to help some users that
    need to use "require 'home_run'".
    authored September 12, 2010

Sep 02, 2010

  1. Jeremy Evans

    Update CHANGELOG

    authored September 01, 2010
  2. Jeremy Evans

    Fix DateTime#sec_fraction on ruby 1.9

    Previously, it had the 1.8 behavior of returning the fraction of
    the second as a fraction of the day, even on 1.9.  This increases
    compatibility with the 1.9 stdlib.
    
    This also adds a spec for the :sec_fraction entry of Date._parse,
    though that is the fraction of the second on both 1.8 and 1.9.
    authored September 01, 2010

Sep 01, 2010

  1. Jeremy Evans

    Update CHANGELOG

    authored September 01, 2010
  2. Jeremy Evans

    More explicit casting

    authored September 01, 2010
  3. Jeremy Evans

    More explicit casting

    authored September 01, 2010
  4. Jeremy Evans

    Fix casting for flags with "&= ~"

    authored September 01, 2010
  5. Jeremy Evans

    More explicit casting

    Use LONG2NUM instead of INT2NUM in the ragel parser.
    authored September 01, 2010
  6. Jeremy Evans

    Various changes for better compatibility for standards

    This removes the use of the %hhi format specifier, by using the
    %i format specifier and manually casting to int.
    
    Other changes involve explicit casting and the use of literal
    doubles instead of integers.
    
    This also fixes a couple of places where Data_Get_Struct would
    be passed in expression where it would be evaluated twice.
    authored September 01, 2010
  7. Jeremy Evans

    Include CFLAGS from environment when compiling

    Also, check the STRICT environment variable and add a bunch
    of warnings if it is present.
    authored September 01, 2010
  8. Jeremy Evans

    Move global variable definition from header into source file (Fixes #10)

    authored September 01, 2010

Aug 31, 2010

  1. Jeremy Evans

    Bump version to 0.9.1

    authored August 31, 2010
  2. Jeremy Evans

    Don't attempt to rebuild the parser when building the gem

    authored August 31, 2010
  3. Jeremy Evans

    Add specs for trailing digits for combined formats like %c and %v

    authored August 31, 2010
Something went wrong with that request. Please try again.