@rubygems/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.details
- latest
- 0.9.9
- PURL
- pkg:gem/gem.coop/rubygems/timecop@0.9.9
- licenses
- MIT
- ruby
- >= 1.9.2
- rubygems
- >= 0
- executables
- none
- native extensions
- none
- platforms
- ruby
links
- homepage
- https://github.com/travisjeffery/timecop
versions
- 0.9.11 Apr 12 2026 gem.coop system
- 0.9.10 Jun 14 2024 gem.coop system
- 0.9.9 Jun 01 2024 gem.coop system
- 0.9.8 Aug 14 2023 gem.coop system
- 0.9.7 Aug 12 2023 gem.coop system
- 0.9.6 Nov 29 2022 gem.coop system
- 0.9.5 Mar 07 2022 gem.coop system
- 0.9.4 Feb 10 2021 gem.coop system
- 0.9.3 Feb 07 2021 gem.coop system
- 0.9.2 Oct 14 2020 gem.coop system
- 0.9.1 Jul 05 2017 gem.coop system
- 0.9.0 Jun 22 2017 gem.coop system
- 0.8.1 Apr 01 2016 gem.coop system
- 0.8.0 Jul 28 2015 gem.coop system
- 0.7.4 May 31 2015 gem.coop system
- 0.7.3 Feb 19 2015 gem.coop system
- 0.7.2 Feb 19 2015 gem.coop system
- 0.7.1 Dec 30 2013 gem.coop system
- 0.7.0 Nov 30 2013 gem.coop system
- 0.6.3 Aug 04 2013 gem.coop system
usage
- run on your commandline
-
bundle add timecop --source "https://gem.coop/@rubygems" - or, put in your Gemfile
-
gem "timecop", source: "https://gem.coop/@rubygems"