Sha256: 0b4a07cf0249a96d59da0f7a9c33f77e2e0d20f8348e41b70a22af865e1049a6

Contents?: true

Size: 693 Bytes

Versions: 5

Compression:

Stored size: 693 Bytes

Contents

# frozen_string_literal: true

if defined?(::WebMock)
  ::VCR.configure do |config|
    config.hook_into :webmock
  end
end

if defined?(::Faraday)
  ::VCR.configure do |config|
    config.hook_into :faraday
  end
end

::VCR.configure do |config|
  config.ignore_hosts 'lvh.me', 'localhost', '127.0.0.1', '0.0.0.0' # rubocop:disable Style/IpAddresses

  # So that the Code Climate coverage reporter (if installed) can send reports
  # even though VCR is enabled.
  config.ignore_hosts 'codeclimate.com'

  config.cassette_library_dir                    = ::File.expand_path('./tmp/vcr_cassettes')
  config.allow_http_connections_when_no_cassette = true

  config.configure_rspec_metadata!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspeckled-1.1.2 lib/rspeckled/plugins/configuration/vcr.rb
rspeckled-1.1.1 lib/rspeckled/plugins/configuration/vcr.rb
rspeckled-1.1.0 lib/rspeckled/plugins/configuration/vcr.rb
rspeckled-1.0.5 lib/rspeckled/plugins/configuration/vcr.rb
rspeckled-1.0.4 lib/rspeckled/plugins/configuration/vcr.rb