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'".
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.
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.
Previously, strptime grabbed an arbitrary number of digits for the %Y and %G formats. Now it operates like the standard library, checking to see if %Y or %G is followed by a numeric literal or format, and restricting the number of digits to 4 if so.
Previously, it wasn't handling the order of operations properly, only multipling the fractional part by the negative.
… C files Switch to the standard C way of doing things, with a shared header file. This bloats the code a bit as we have to add prototypes that were unnecessary before, as well as add extern for some static variables. However, it's probably better to do things in a standard way. Thanks to Luis Lavena for suggesting this.
You can control them using the N and S environment variables.