RubyGems Navigation menu

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.

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.3.0 - September 24, 2009 (11.5 KB)
Show all versions (51 total)

Owners:

Authors:

  • John Trupiano

SHA 256 checksum:

2d7a076e6419b9526c2857d51434a170a82740698a651ab3fbf0d7359d96c081

Total downloads 187,290,515

For this version 5,504

Licenses:

N/A

Required Ruby Version: None

Links: