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

Last updated: May 20,2024

1. Install "ruby-webmock" package

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

$ sudo apt update $ sudo apt install ruby-webmock

2. Uninstall "ruby-webmock" package

This tutorial shows how to uninstall ruby-webmock on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: ruby-webmock
Priority: optional
Section: universe/ruby
Installed-Size: 211
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 1.22.6-1
Depends: ruby | ruby-interpreter, ruby-addressable, ruby-crack, ruby-hashdiff, ruby-httpclient, ruby-typhoeus, ruby-em-http-request
Recommends: ca-certificates
Filename: pool/universe/r/ruby-webmock/ruby-webmock_1.22.6-1_all.deb
Size: 33276
MD5sum: 7cc15fd8ba5ca778eba42bc3abad95e0
SHA1: 6ddc438318805569db0602833a9707208bfbab31
SHA256: afff5a549e50729495f9d3f1655f3a9890f2706ed0c935970c0383018f76612a
Description-en: library for stubbing HTTP requests in Ruby
WebMock allows stubbing HTTP requests and setting expectations on HTTP
requests.
.
Features
.
* Stubbing HTTP requests at low http client lib level (no need to change
tests when you change HTTP library).
* Setting and verifying expectations on HTTP requests.
* Matching requests based on method, URI, headers and body.
* Smart matching of the same URIs in different representations (also encoded
and non encoded forms).
* Smart matching of the same headers in different representations.
Description-md5: 83ffa69d71660251c94341505328406f
Homepage: http://github.com/bblimke/webmock
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu