openfoodfacts / openfoodfacts-ruby

💎 Open Food Facts Ruby API Wrapper
https://rubygems.org/gems/openfoodfacts
MIT License
38 stars 11 forks source link

Update webmock requirement from ~> 2.3 to ~> 3.9 #61

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on webmock to permit the latest version.

Changelog

Sourced from webmock's changelog.

3.9.0

  • Allow using a "callable" (like a proc) as URI pattern

    stub_request(:any, ->(uri) { true })
    

    Thanks to John Hawthorn

  • Added stubbed IO on stubbed socket in Net::HTTP adapter.

    Thanks to Thilo Rusche

  • When 'webmock/rspec' is required, reset WebMock after all after(:each/example) hooks

    Thanks to Andrew Stuntz

  • Fixed net_connect_allowed? when invoked with no arguments, when there were any allowed URIs passed to disable_net_connect?.

    Thanks to Lucas Uyezu

  • Fixed async-http adapter which caused Async::HTTP::Client or Async::HTTP::Internet to hang and never return a response.

    Thanks to (Bruno Sutic)[https://github.com/bruno-] and Samuel Williams

  • Fixed warning when using async-http adapter

    Thanks to (Bruno Sutic)[https://github.com/bruno-]

  • Dropped support for Ruby 2.3 - EOL date: 2019-03-31

  • Dropped support for Ruby 2.4 - EOL date: 2020-03-31

  • Handling matching of Addressable::Template patterns that have an ip address without port and patterns that have ip address and don’t have schema and path.

    Thanks to (Rafael França)[https://github.com/rafaelfranca] and (guppy0356)[https://github.com/guppy0356]

3.8.3

  • Fixed problem introduced in version 3.4.2, which caused matching against Addressable::Template representing host part of the URI to raise an error.

    Thanks to Vesa Laakso

3.8.2

  • Support correct encoding parameter for HTTP.rb 2.x and earlier

    Thanks to Alex Coomans

3.8.1

Commits
  • d9c4601 Version 3.9.0
  • 75a3880 Version 3.9.0
  • 72eee63 Handling matching of Addressable::Template patterns that have an ip address w...
  • 0ad9a4e Removed RSpec warning
  • 5e39c5b The default response headers for HTTP 1.0 requests returned by async-http hav...
  • 28ccdb8 Added example on how to match requests using lambda.
  • f011955 Dropped support for Ruby < 2.5. Previous Ruby versions are EOL
  • 4ae891b Merge pull request #902 from bruno-/async_http_adapter_warning
  • 8ce537a Merge pull request #901 from bruno-/fix_async_http_adapter
  • c20bb68 Fix net_connect_allowed? with no arguments when there are some allowed URIs...
  • Additional commits viewable in compare view


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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #62.