RubyGems.org

timecop

0.3.0

A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.

installgem install timecop -v 0.3.0
Authors

John Trupiano

3,483,287 total downloads 2,846 for this version
Owners

63d809dbf4d44297f73caad307972ec53ee6c3893e75232ed43ed4e8e9a7cf39

Gemfile
gem 'timecop', '~> 0.3.0'
Versions
  1. 0.7.1 December 30, 2013 (15 KB)
  2. 0.7.0 November 29, 2013 (15.5 KB)
  3. 0.6.3 August 4, 2013 (15.5 KB)
  4. 0.6.2.2 July 20, 2013 (15 KB)
  5. 0.6.1 March 11, 2013 (14 KB)
Show all versions (37 total)