Socket
Book a DemoInstallSign in
Socket

mr_video

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mr_video

1.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Mr. Video Build Status Code Climate Coverage Status

Rails-based front-end for the popular VCR gem. It allows you to browse cassettes and episodes. HTTP body content from episodes can be viewed in the browser, enabling easy debugging of JSON and HTML. Furthermore, cassettes and episodes can be deleted, allowing for easy maintenance of recorded content. While Mr. Video is mainly meant to be used in your development environment, it can be configured for production and is not directly dependent on the VCR gem.

Compatibility

Mr. Video is tested against MRI 2.3.0. For Ruby <= 2.3.0, use version 1.0.5.

Installation

Mr. Video is a Rails Engine and is primarily meant to be used in your development environment.

Add it to your Gemfile.

# Gemfile

group :development do
  gem 'mr_video'
end

Configure the location of your VCR cassettes directory.

# config/initializers/mr_video.rb

if Rails.env.development? && defined?(MrVideo)
  MrVideo.configure do |config|
    config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
  end
end

Mount it in your config/routes.rb.

# config/routes.rb

MyApp::Application.routes.draw do

  if Rails.env.development?
    require 'mr_video'
    mount MrVideo::Engine => '/mr_video'
  end

end

Copyright © 2014 Ilya Scharrenbroich. Released under the MIT License.

FAQs

Package last updated on 30 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.