BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

timecop

v0.9.11RubyGems· Ruby

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.

The verdict
Solid choice. Well-adopted and active, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityWidely used
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 1 month ago.
Popularity
291K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.9.111 month ago
  • 0.9.10over a year ago
  • 0.9.9over a year ago
  • 0.9.82 years ago
  • 0.9.72 years ago
  • 0.9.63 years ago
  • 0.9.54 years ago
  • 0.9.45 years ago
timecop — 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. (Ruby / RubyGems) · Modules