RubyGems Navigation menu

timecop 0.7.1

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:
=

install:
=

Versions:

  1. 0.9.11 April 12, 2026 (12.5 KB)
  2. 0.9.10 June 14, 2024 (12.5 KB)
  3. 0.9.9 June 01, 2024 (12.5 KB)
  4. 0.9.8 August 14, 2023 (11.5 KB)
  5. 0.9.7 August 12, 2023 (11.5 KB)
  6. 0.7.1 December 30, 2013 (15 KB)
Show all versions (54 total)

Owners:

Authors:

  • Travis Jeffery, John Trupiano

SHA 256 checksum:

=

Total downloads 254,313,308

For this version 7,447,280

Version Released:

License:

MIT

Required Ruby Version: >= 1.9.2

Links: