RubyGems Navigation menu

timecop 0.2.0

A gem providing simple ways to temporarily override Time.now, Date.today, and DateTime.now. It provides "time travel" capabilities, making it dead simple to write test time-dependent code.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.9.8 - August 14, 2023 (11.5 KB)
  2. 0.9.7 - August 12, 2023 (11.5 KB)
  3. 0.9.6 - November 29, 2022 (17 KB)
  4. 0.9.5 - March 07, 2022 (17 KB)
  5. 0.9.4 - February 10, 2021 (16.5 KB)
  6. 0.2.0 - December 24, 2008* (11.5 KB)
Show all versions (51 total)

Development Dependencies (1):

hoe >= 1.8.2

Owners:

Authors:

  • John Trupiano

SHA 256 checksum:

65697eadbe832d7b7860647ef80772992e1534b2fd98e3efac9942bf44aeee0d

Total downloads 191,124,225

For this version 3,987

Licenses:

N/A

Required Ruby Version: None

Links: