devel/rubygem-timecop: Update to 0.9.11 Changes: https://github.com/travisjeffery/timecop/blob/master/History.mde7cc36f2d3
Port details
devel/rubygem-timecop 0.9.11
Mock current time to test time-dependent code
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 0.9.11
- Upstream
- up to date
- Last update
- to 0.9.11 · e7cc36f2d3
- Quarterly
- 2026Q4: 0.9.11
- WWW
- https://github.com/travisjeffery/timecop
- Links
- cgit · VuXML
Install
- Package
# pkg install rubygem-timecopinstalls 0.9.11 fromlatest; fromquarterly(2026Q4) 0.9.11- Port
# cd /usr/ports/devel/rubygem-timecop && make install clean- Size
- 10 KiB download · 29 KiB installed
- Depends on
- devel/ruby-gems 4.0.21, lang/ruby34 3.4.9_2,1
- License
- MIT
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.9.11 | 0.9.11 | – |
| FreeBSD 15 | 0.9.11 | 0.9.11 | – |
| FreeBSD 14 | 0.9.11 | 0.9.11 | 0.9.11 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.9.11 | 0.9.11 | – |
| FreeBSD 14 | 0.9.11 | 0.9.11 | 0.9.11 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 0.9.11.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (7)
devel/rubygem-timecop: Update to 0.9.10 Changes: https://github.com/travisjeffery/timecop/blob/master/History.mde13b118582
devel/rubygem-timecop: Update to 0.9.9 Changes: https://github.com/travisjeffery/timecop/blob/master/History.mdd6da91b38c
devel/rubygem-timecop: Update to 0.9.8 Changes: https://github.com/travisjeffery/timecop/blob/master/History.md97e7e1eeb4
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D3792518c6e18276devel/rubygem-timecop: Add NO_ARCHc5306086f7
devel/rubygem-timecop: Add rubygem-timecop 0.9.6
timecop is 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.
Features:
- Freeze time to a specific point.
- Travel back to a specific point in time, but allow time to continue moving
forward from there.
- Scale time by a given scaling factor that will cause time to move at an
accelerated pace.
- No dependencies, can be used with any ruby project
- Timecop api allows arguments to be passed into #freeze and #travel as one of
the following:
- Time instance
- DateTime instance
- Date instance
- individual arguments (year, month, day, hour, minute, second)
- a single integer argument that is interpreted as an offset in seconds from
Time.now
- Nested calls to Timecop#travel and Timecop#freeze are supported -- each block
will maintain its interpretation of now.
- Works with regular Ruby projects, and Ruby on Rails projectsbbe83034d6