Skip to content

Bump webmock from 3.7.6 to 3.10.0

NipaNipa requested to merge dependabot/bundler/webmock-3.10.0 into master

Bumps webmock from 3.7.6 to 3.10.0.

Changelog

Sourced from webmock's changelog.

3.10.0

  • Added option to global stubs to have lower priority than local stubs.

    WebMock.globally_stub_request(:after_local_stubs) do
      { body: "global stub body" }
    end
    stub_request(:get, "www.example.com").to_return(body: 'non-global stub body')
    expect(http_request(:get, "http://www.example.com/").body).to eq("non-global stub body")

    Thanks to Marek Kasztelnik

3.9.5

  • Prevent overwriting teardown method in Test::Unit

    Thanks to Jesse Bowes

3.9.4

  • More intuitive error message when stubbed response body was provided as Hash

    Thanks to Ben Koshy

3.9.3

  • Make httpclient_adapter thread-safe

    Thanks to Adam Harwood

3.9.2

3.9.1

  • Fixed support for passing URI objects as second argument of stub_request

    Thanks to Ryan Kerr

3.9.0

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

    stub_request(:any, ->(uri) { true })
... (truncated)
Commits
  • f61d51a Version 3.10.0
  • bacb8a5 Merge pull request #920 from mkasztelnik/171-global-stubs-order
  • 90eaa4a Option to invoke local stub before global stub
  • d5d8e65 Version 3.9.5
  • a144521 Merge pull request #919 from jessebs/915-test-unit-teardown
  • ec556cb Fixed failure due to minitest
  • d2b3658 #915 - Prevent overwriting teardown
  • 771647b Version 3.9.4
  • 73e0740 Merge pull request #918 from BKSpurgeon/clarify-exception-message
  • d4925b5 Merge pull request #917 from BKSpurgeon/update-documentation
  • Additional commits viewable in compare view

Merge request reports