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 webmock from 3.1.1 to 3.4.1 #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps webmock from 3.1.1 to 3.4.1.

Changelog

Sourced from webmock's changelog.

3.4.1

  • When comparing url encoded body to a body from request stub, which was declared as hash, only String, Numeric and boolean hash values are stringified before the comparison.

    Thanks to Lukas Pokorny

3.4.0

  • Ruby 2.6 support. Prevent Net/ReadTimeout error in Ruby 2.6

    Thanks to Koichi ITO

  • Handling query params, which represent nested hashes with keys starting with non word characters.

    Thanks to rapides for reporting the issue.

  • Patron adapter handles PATCH requests with body.

    Thanks to Mattia for reporting the issue.

  • Allowing requests with url encoded body to be matched by request stubs declared with hash body with non-string values.

     stub_request(:post, "www.example.com").with(body: {"a" => 1, "b" => false})
    
     RestClient.post('www.example.com', 'a=1&b=false', :content_type => 'application/x-www-form-urlencoded') # ===> Success
    

    Thanks to Kenny Ortmann for suggesting this feature.

  • When request headers contain 'Accept'=>'application/json' and no registered stub matches the request, WebMock prints a suggested stub code with to_return body set to '{}'.

    Thanks to redbar0n

  • Improved suggested stub output when the request stub only contains headers declaration.

    Thanks to Olia Kremmyda

  • Fixed Curb adapter to handle reset method.

    Thanks tp dinhhuydh for reporting the issue.
    Thanks to Olia Kremmyda for fixing it.

3.3.0

  • Better formatting of outputted request stub snippets, displayed on failures due to unstubbed requests.

    Thanks to Olia Kremmyda

3.2.1

... (truncated)
Commits
  • ca54cf8 Version 3.4.1
  • 67b75e9 Merge pull request #756 from luk4s/755_hash_incliding_in_body
  • 5122822 do not convert RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher to_s
  • 15fc3f1 Version 3.4.0
  • 76895a8 Allowing requests with url encoded body to be matched by stubs declared with ...
  • 5979ad9 Patron adapter handles PATCH requests with body.
  • 277da14 Handling query params, which represent nested hashes with keys starting with ...
  • 332af13 Merge pull request #751 from koic/prevent_net_readtimeout_error_in_ruby_2_6
  • cf37b09 Merge pull request #754 from EiNSTeiN-/patch-1
  • 3d34be7 Fix redundant Util:: namespacing
  • Additional commits viewable in compare view

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 ignore this [minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 [this|these] label[s] will set the current labels as the default for future PRs for this repo and language

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant