RubyGems Navigation menu

timecop 0.9.9

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!

instalar:
=

Versões:

  1. 0.9.9 - June 01, 2024 (12,5 KB)
  2. 0.9.8 - August 14, 2023 (11,5 KB)
  3. 0.9.7 - August 12, 2023 (11,5 KB)
  4. 0.9.6 - November 29, 2022 (17 KB)
  5. 0.9.5 - March 07, 2022 (17 KB)
Mostrar todas as versões (52)

Donos:

Pushed by:

Autores:

  • Travis Jeffery, John Trupiano

SHA 256 checksum:

2cdec6cc23bf8df4f1f5056ada8a41975101a1a3a9aaac09e3d85c05dde320a5

Total de downloads 195.961.093

Desta versão 398.329

Licença:

MIT

Versão Requerida do Ruby: >= 1.9.2

Links: