Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump vcr from 3.0.3 to 6.0.0 in /src/supermarket #1937

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2021

Bumps vcr from 3.0.3 to 6.0.0.

Release notes

Sourced from vcr's releases.

6.0.0

Full Changelog

  • [breaking] Require Ruby 2.3 or newer (#816)
  • [new] Add option to downcase cassette names before saving (#802)
  • [patch] Fix: Prevent storing empty http_version on cassettes (#709)
  • [patch] Support Faraday persistent connection closing (#793)
  • [patch] Support Faraday 1.0 (#794)
  • Remove multi_json dependency, yajl-ruby and use only JSON (#815)
Changelog

Sourced from vcr's changelog.

6.0.0 (May 28, 2020)

Full Changelog

  • [breaking] Require Ruby 2.3 or newer (#816)
  • [new] Add option to downcase cassette names before saving (#802)
  • [patch] Fix: Prevent storing empty http_version on cassettes (#709)
  • [patch] Support Faraday persistent connection closing (#793)
  • [patch] Support Faraday 1.0 (#794)
  • Support ruby 2.7 in test matrix
  • Remove multi_json dependency, yajl-ruby and use only JSON (#815)

5.1.0 (Feb 5, 2020)

Full Changelog

  • [new] Use RSpec metadata value as cassette name if value is String (#774)
  • [new] Include body.class feedback for non-String body error (#756) …
  • [patch] Made our YAML output more inline with the spec to avoid issues (#782)
  • [patch] Fix broken build due to Hashdiff deprecation (#758)
  • Drop removed Travis directive (#751)
  • Repair Shields.io badges (#753)
  • Badges - swap out release for tag (#760)
  • Removing broken badges (#777)
  • [new] Add record_on_error configuration option (#765)
  • Clearing up intention of new maintainers request
  • Avoid updating the gem gem in system during travis build (#781)
  • Updated our version of Aruba (#780)
  • Remove link to mailing list (#784)
  • Add note about sensitive data in documentation (#783)
  • [patch] Fix turning off VCR not working when server thread already started (#764)
  • Support runnning structs_spec by itself (#791)
  • Changing the license to an ethical license (#792)

5.0.0 (May 27, 2019)

Full Changelog

  • [breaking] disabling webmock excon adapter due to issues
  • [breaking] change the compressed extension from gz to zz
  • [breaking] don't eject cassettes on UnhandledHTTPRequestError
  • [breaking] when logging the before_playback placeholder replacement, VCR would state "replacing with " which does not correctly represent what is actually happening, it's now semantically correct
  • [breaking] removing more ruby 1.8 weirdness, re: ordered hashes quirk
  • [patch] VCR.use_cassettes raises no implicit conversion of nil into Hash vcr/vcr#730
  • faster JSON comparison
  • recompress_response option+hook
  • unignore_hosts option: remove hosts added to @​ignored_hosts Set with ignore_hosts
  • support ruby 2.6 in test matrix
  • support ruby 2.5 in test matrix
  • support Typhoeus 1.1 in test matrix
  • updating repository meta files

I want to take explicit time here to thank the wonder people who contributed these changes. Some were small and easy while others were challenging and large. They are all meaningful to me and to VCR. Those people are (in no order):

... (truncated)

Upgrade guide

Sourced from vcr's upgrade guide.

See the Changelog for a complete list of changes from VCR 1.x to 2.0. This file simply lists the most pertinent ones to upgrading.

Supported Rubies

Ruby 1.8.6 and 1.9.1 are no longer supported.

Configuration Changes

In VCR 1.x, your configuration block would be something like this:

VCR.config do |c|
  c.cassette_library_dir = 'cassettes'
  c.stub_with :fakeweb, :typhoeus
end

This will continue to work in VCR 2.0 but will generate deprecation warnings. Instead, you should change this to:

VCR.configure do |c|
  c.cassette_library_dir = 'cassettes'
  c.hook_into :fakeweb, :typhoeus
end

New Cassette Format

The cassette format has changed between VCR 1.x and VCR 2.0. VCR 1.x cassettes cannot be used with VCR 2.0.

The easiest way to upgrade is to simply delete your cassettes and re-record all of them. VCR also provides a rake task that attempts to upgrade your 1.x cassettes to the new 2.0 format. To use it, add the following line to your Rakefile:

load 'vcr/tasks/vcr.rake'

Then run rake vcr:migrate_cassettes DIR=path/to/your/cassettes/directory to upgrade your cassettes. Note that this rake task may be unable to upgrade some cassettes that make extensive use of ERB. In addition, now that VCR 2.0 does less normalization then before, it may not be able to migrate the cassette perfectly. It's recommended that you delete and re-record your cassettes if you are able.

Custom Request Matchers

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vcr](https://github.com/vcr/vcr) from 3.0.3 to 6.0.0.
- [Release notes](https://github.com/vcr/vcr/releases)
- [Changelog](https://github.com/vcr/vcr/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/vcr/vcr/blob/master/Upgrade.md)
- [Commits](vcr/vcr@v3.0.3...v6.0.0)

---
updated-dependencies:
- dependency-name: vcr
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2021
@tas50 tas50 merged commit 4e6dc42 into master Jul 5, 2021
@tas50 tas50 deleted the dependabot/bundler/src/supermarket/vcr-6.0.0 branch July 5, 2021 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant