How to Install and Uninstall ruby-timecop Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 09,2024

1. Install "ruby-timecop" package

Please follow the steps below to install ruby-timecop on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-timecop

2. Uninstall "ruby-timecop" package

Please follow the step by step instructions below to uninstall ruby-timecop on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ruby-timecop $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-timecop package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-timecop
Priority: optional
Section: universe/ruby
Installed-Size: 36
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 0.8.0-1
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-timecop/ruby-timecop_0.8.0-1_all.deb
Size: 9680
MD5sum: 8a28bfc7225f2013b2f12928894ede64
SHA1: 918a0ef6421bec4892187c4594209d82374af447
SHA256: 2984191de5cbe984053ded74c511935e89fb401a9c52bb8a3cf36bf838342085
Description-en: Ruby library to easily test time-dependent code
Timecop makes it easy to travel through or freeze time for creating a
predictable and ultimately testable scenario.
.
It is a wrapper class for manipulating the extensions to the Time, Date,
and DateTime objects. It avoids overloading of functions with optional
arguments while writing test cases. It is possible to nest multiple
calls to Timecop.travel and Timecop.freeze, with each block maintaining
concept of "now". Having no dependencies, it works with regular Ruby projects
and Ruby on Rails projects.
Description-md5: 1ce6edc8e35ae0828b72a1a6470ffdc9
Homepage: https://github.com/travisjeffery/timecop
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu