RubyGems Navigation menu

timecop 0.5.4

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.

Gemfile
          gem 'timecop', '~> 0.5.4'
  
  
  
  
  
  
  

install
          gem install timecop -v 0.5.4
  
  
  
  
  
  
  

Total downloads 4,204,947

For this version 66,182

Show all versions (37 total)

Required Ruby Version: None

Links:

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)