Sha256: 100bdc99a4098a51aaeb1c7a4d0b0e2eb142a74b63ff29b06f1d7ce68a21e8ae

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

=== 0.2.0 / 2008-12-23

* API Changes

  * Timecop#travel no longer freezes time.  Rather, it computes the current offset between the new "now" and the real "now", and
    returns times as if Time had continued to move forward
    
  * Timecop#freeze now behaves exactly as the old Timecop#travel behaved.  Unless you depended on the actual freezing of time
    (which I think would be rare), you should be able to continue to use #travel without worry.
    
  * Timecop#return is now exposed (previously Timecop#unset_all, but not well advertised).  It will completely unmock time,
    and will probably be rarely used outside of the actual implementation of this library.
    
* More Test Coverage

  * Tests now explicitly cover the cases when the Date and DateTime objects are not loaded, and ensures proper functionality
    in their absence and existence.
    
  * Still haven't done regression testing against anything other than a few version of 1.8.6 (including REE).  We should
    probably try to get this tested on both 1.8.7 and 1.9.1.

* Documentation

  * Fixed up a lot of the poorly-formatted rdoc syntax.  The public API should now be properly published in the rdoc,
    and the internals are omitted.
    
=== 0.1.0 / 2008-11-09

* Initial Feature Set

  * Temporarily (or permanently if you prefer) change the concept of Time.now, DateTime.now (if defined), and Date.today (if defined)
  * Timecop#travel api allows an argument to be passed in as one of: 1) Time instance, 2) DateTime instance, 3) Date instance,
    4) individual arguments (year, month, day, hour, minute, second)
  * Nested calls to Timecop#travel are supported -- each block will maintain it's interpretation of now.

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
jtrupiano-timecop-0.2.0 History.txt
jtrupiano-timecop-0.2.1 History.txt
timecop-0.2.0 History.txt