Permalink
Commits on Aug 20, 2010
  1. Make sure the parser is created when building the Windows gem

    Also, remove the windows_gem_clean task, as distclean can be
    used instead.
    committed Aug 20, 2010
  2. Print help to stderr if no options or command given to bin/home_run

    This is more friendly than a backtrace.
    committed Aug 20, 2010
  3. Fix crashing that can happen if users remove constants

    Instread of just defining constants and hoping the
    references are never removed, register the static
    constants with the garbage collector using
    rb_global_variable.
    
    Add the Date::Format::ZONES hash back, for greater
    compatibility.
    
    Add some more descriptive comments in the Init_* methods.
    committed Aug 20, 2010
Commits on Aug 19, 2010
  1. Fix caching in DateTime#hash

    committed Aug 19, 2010
  2. Cache value of Date#start to a static variable

    It's the same for all instances, since the Gregorian calendar is
    always used.
    committed Aug 19, 2010
  3. Guess IRB program name from ruby program name, instead of assuming 'irb'

    Also, no need for a top level constant if it is only used in one task.
    committed Aug 19, 2010
  4. Note in the README that install isn't needed on 1.9

    Some other minor changes too.
    committed Aug 19, 2010
  5. Fix bin/home_run install/uninstall tasks after extension rename

    Also, handle differences in the DLEXT between platforms.
    committed Aug 19, 2010
  6. Mess with load orders in cpu_bench so that we work on 1.9

    On 1.9, gem directories get added to the load path automatically,
    so we need to make sure the stdlib dir one is loaded first.
    committed Aug 19, 2010
  7. Use inttypes.h for portable format strings

    This fixes builds on mingw, which uses an old Microsoft runtime
    that requires I64d instead of lld for scanf and printf modifiers.
    committed Aug 19, 2010
Commits on Aug 18, 2010
  1. Add a default.mspec file so you don't have to use the rake task

    Also, work around an mspec bug in Windows by making sure that
    ENV['HOME'] is set
    committed Aug 18, 2010
  2. Update README now that RDoc 2.5.10 has been released

    Also note the Date::Format::STYLE feature.
    committed Aug 18, 2010
  3. Allow modifying the parsing using Date::Format::STYLE

    Date::Format::STYLE[:slash] and Date::Format::STYLE[:dot]
    can be set to :ymd, :mdy, or :dmy to specify how to
    parse DD/DD/DD and DD.DD.DD formatted dates.  The default
    is set to the way that was previously hard coded for
    each ruby version.
    committed Aug 18, 2010