RubyGems Navigation menu

timecop 0.9.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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.9.10 - June 14, 2024 (12.5 KB)
  2. 0.9.9 - June 01, 2024 (12.5 KB)
  3. 0.9.8 - August 14, 2023 (11.5 KB)
  4. 0.9.7 - August 12, 2023 (11.5 KB)
  5. 0.9.6 - November 29, 2022 (17 KB)
  6. 0.9.4 - February 10, 2021 (16.5 KB)
Show all versions (53 total)

Owners:

Pushed by:

Authors:

  • Travis Jeffery, John Trupiano

SHA 256 checksum:

2a6e87f2f6feafaa4169031f8774f03f7a0cc9ea2df9ae8fc225b4cdfcb783bb

Total downloads 196,821,717

For this version 26,088,113

License:

MIT

Required Ruby Version: >= 1.9.2

Links: