autotuner icon indicating copy to clipboard operation
autotuner copied to clipboard

Bump mocha from 2.6.1 to 2.7.1

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps mocha from 2.6.1 to 2.7.1.

Changelog

Sourced from mocha's changelog.

2.7.1

External changes

  • Deprecate Configuration#stubbing_method_on_nil= (#694)
  • Indicate when parameter matcher logic is defined by block passed to Expectation#with (#698, b30e4434)
  • Improve documentation for Expectation#with, especially when it is passed a block (#698, #682, #606 & #681)

2.7.0

External changes

Internal changes

  • Workaround for JRuby jar-dependencies issue (#690)
  • Ruby v3.4 stacktrace uses single-quote vs backtick (#688 & #689) - thanks to Vít Ondruch

WARNING: This release fixes a very old bug

  • The bug relates to the use of Expectation#never in combination with other expectations on the same method.

  • Please ensure you fix the relevant deprecation warnings when running against v2.6.1 before upgrading to v2.7.0.

  • Previously, the following test would have passed, but now it will fail with an unexpected invocation error on the foo.bar line.

    foo = mock('foo') foo.stubs(:bar) foo.expects(:bar).never foo.bar

Commits
  • cb0909e [skip ci] Update documentation for v2.7.1
  • d6ba8b9 Bump version to 2.7.1 & prepare for release
  • 4d4a027 Merge pull request #698 from freerange/expectation-with-improvements
  • b30e443 Indicate when matcher logic is defined by block
  • fed3387 Add custom matcher example to Expectatation#with docs
  • 17a4856 Improve docs for Expectation#with when passed block
  • 3ca865f Document argument precedence for Expectation#with
  • 558d521 Add docs for Expectation#with when passed block
  • 99f3f6b Document Expectation#with called multiple times
  • c3b4b8e Clarify docs for Expectation#with yieldparam
  • 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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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[bot] avatar Dec 16 '24 08:12 dependabot[bot]