RubyGems Navigation menu

timecop 0.8.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:
= 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.8.1 - April 01, 2016 (16 KB)
Show all versions (51 total)

Owners:

Authors:

  • Travis Jeffery, John Trupiano

SHA 256 checksum:

bdce943521113e0b9ed2a6136e1c7396fa413ec7100814f2fe5bc1ee319f8b6f

Total downloads 188,891,534

For this version 19,438,122

License:

MIT

Required Ruby Version: >= 1.9.2

Links: