How to Install and Uninstall ruby-vcr Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 13,2024

1. Install "ruby-vcr" package

Please follow the guidelines below to install ruby-vcr on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-vcr

2. Uninstall "ruby-vcr" package

Please follow the guidance below to uninstall ruby-vcr on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby-vcr package on Ubuntu 21.10 (Impish Indri)

Package: ruby-vcr
Architecture: all
Version: 6.0.0+really5.0.0-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 214
Filename: pool/universe/r/ruby-vcr/ruby-vcr_6.0.0+really5.0.0-1_all.deb
Size: 38316
MD5sum: 1254e86da576347e5455b9a3c0562e0b
SHA1: 506fcbfec94a6e7a30391bca19cc4e609fe843d7
SHA256: 410091b7306a3a5490ec803f796451535d250945a3cfdac433f1cca658f15dd8
SHA512: 612943e3a38478279cb576c3c1e8a738fb23cd5c380a5626e54019675e1055ab05f8c8f6b7d742f33a623d73331820297e36c0a6263d3e603a42860d9910b82a
Homepage: https://relishapp.com/vcr/vcr/docs
Description-en: Record and replay HTTP interactions (Ruby library)
Record your test suite's HTTP interactions and replay them during future test
runs for fast, deterministic, accurate tests.
.
* Automatically records and replays your HTTP interactions with minimal
setup/configuration code.
* Supports and works with the HTTP stubbing facilities of multiple libraries.
Currently, the following are supported:
* WebMock
* Typhoeus
* Faraday
* Excon
* Supports multiple HTTP libraries:
* Patron (when using WebMock)
* Curb (when using WebMock -- only supports Curl::Easy at the moment)
* HTTPClient (when using WebMock)
* em-http-request (when using WebMock)
* Net::HTTP (when using WebMock)
* Typhoeus (Typhoeus::Hydra, but not Typhoeus::Easy or Typhoeus::Multi)
* Excon
* Faraday
* And of course any library built on Net::HTTP, such as Mechanize, HTTParty
or Rest Client
* Request matching is configurable based on HTTP method, URI, host, path, body
and headers, or you can easily implement a custom request matcher to handle
any need.
* The same request can receive different responses in different tests--just
use different cassettes.
* The recorded requests and responses are stored on disk in a serialization
format of your choice (currently YAML and JSON are built in, and you can
easily implement your own custom serializer) and can easily be inspected and
edited.
* Dynamic responses are supported using ERB.
* Optionally re-records cassettes on a configurable regular interval to keep
them fresh and current.
* Disables all HTTP requests that you don't explicitly allow.
* Simple Cucumber integration is provided using tags.
* Includes convenient RSpec macros and integration with RSpec 2 metadata.
* Known to work well with many popular Ruby libraries including RSpec 1 & 2,
Cucumber, Test::Unit, Capybara, Mechanize, Rest Client and HTTParty.
* Includes Rack and Faraday middleware.
Description-md5: a55c4555e417aec44b291c7f5818fcde
Ruby-Versions: all