Sha256: d02ec719565012e4c2035e5dfb0b2fc7cfe84f39eec2678998f637c90e296eb6

Contents?: true

Size: 542 Bytes

Versions: 9

Compression:

Stored size: 542 Bytes

Contents

require 'vcr'
require 'webmock'
require 'docker'

VCR.configure do |c|
  c.allow_http_connections_when_no_cassette = false
  c.filter_sensitive_data('<DOCKER_HOST>') { Docker.url.sub(/tcp\:/, 'https:') }
  c.filter_sensitive_data('<USERNAME>') { ENV['DOCKER_API_USER'] }
  c.filter_sensitive_data('<PASSWORD>') { ENV['DOCKER_API_PASS'] }
  c.filter_sensitive_data('<EMAIL>') { ENV['DOCKER_API_EMAIL'] }
  c.hook_into :excon, :webmock
  c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'vcr')
  c.configure_rspec_metadata!
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
docker-api-1.21.2 spec/support/vcr.rb
docker-api-1.21.1 spec/support/vcr.rb
docker-api-1.21.0 spec/support/vcr.rb
docker-api-1.20.0 spec/support/vcr.rb
docker-api-1.19.0 spec/support/vcr.rb
docker-api-1.18.0 spec/support/vcr.rb
docker-api-1.17.0 spec/support/vcr.rb
docker-api-1.16.1 spec/support/vcr.rb
docker-api-1.16.0 spec/support/vcr.rb