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 mocha from 2.6.1 to 2.7.1 #1651

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

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)

Bumps [mocha](https://github.com/freerange/mocha) from 2.6.1 to 2.7.1.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](freerange/mocha@v2.6.1...v2.7.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 9, 2024
Copy link

github-actions bot commented Dec 9, 2024

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Copy link
Contributor

@govuk-ci govuk-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger.

@govuk-ci govuk-ci merged commit d14831c into main Dec 10, 2024
11 checks passed
@govuk-ci govuk-ci deleted the dependabot/bundler/mocha-2.7.1 branch December 10, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant