Sha256: e01df190a38d9c86b2e56034a501235791c273420c741d5b1d5fdbb5d8889da0

Contents?: true

Size: 890 Bytes

Versions: 26

Compression:

Stored size: 890 Bytes

Contents

require 'vcr'

VCR.configure do |c|
  c.configure_rspec_metadata!
  c.cassette_library_dir = 'spec/cassettes'
  c.hook_into :webmock

  # Uncomment this to get VCR logger debugging.
  # Run: `rspec spec vcr.log` to get debugging output to vcr.log
  # c.debug_logger = File.open(ARGV[1], 'w')

  c.default_cassette_options = {
    record: ENV['RECORD'] ? :new_episodes : :none,
  }

  c.filter_sensitive_data('<FILTERED_PERCY_TOKEN>') do
    ENV['PERCY_TOKEN']
  end
  c.filter_sensitive_data('<COMMIT_AUTHOR_NAME>') do
    `git show --quiet --format="%an"`.strip
  end
  c.filter_sensitive_data('<COMMIT_AUTHOR_EMAIL>') do
    `git show --quiet --format="%ae"`.strip
  end
  c.filter_sensitive_data('<COMMIT_COMMITTER_NAME>') do
    `git show --quiet --format="%cn"`.strip
  end
  c.filter_sensitive_data('<COMMIT_COMMITTER_EMAIL>') do
    `git show --quiet --format="%ce"`.strip
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
percy-client-2.1.1 spec/support/vcr_setup.rb
percy-client-2.1.0 spec/support/vcr_setup.rb
percy-client-2.0.9 spec/support/vcr_setup.rb
percy-client-2.0.8 spec/support/vcr_setup.rb
percy-client-2.0.7 spec/support/vcr_setup.rb
percy-client-2.0.6 spec/support/vcr_setup.rb
percy-client-2.0.5 spec/support/vcr_setup.rb
percy-client-2.0.4 spec/support/vcr_setup.rb
percy-client-2.0.3 spec/support/vcr_setup.rb
percy-client-2.0.2 spec/support/vcr_setup.rb
percy-client-2.0.1 spec/support/vcr_setup.rb
percy-client-2.0.0 spec/support/vcr_setup.rb
percy-client-1.15.0 spec/support/vcr_setup.rb
percy-client-1.14.1 spec/support/vcr_setup.rb
percy-client-1.14.0 spec/support/vcr_setup.rb
percy-client-1.13.10 spec/support/vcr_setup.rb
percy-client-1.13.9 spec/support/vcr_setup.rb
percy-client-1.13.8 spec/support/vcr_setup.rb
percy-client-1.13.7 spec/support/vcr_setup.rb
percy-client-1.13.6 spec/support/vcr_setup.rb