Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps mocha from 2.6.1 to 2.7.0.

Changelog

Sourced from mocha's changelog.

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
  • f2e8ab1 [skip ci] Update documentation for v2.7.0
  • 8faedac Bump version to 2.7.0 & prepare for release
  • b2b1773 Merge pull request #679 from freerange/expectation-with-never-cardinality-sho...
  • d9a2254 Fail fast if invocation matches never expectation
  • 727ce52 Merge pull request #689 from freerange/ruby-3.4-backtick
  • 009f348 Ruby v3.4 stacktrace uses single-quote vs backtick
  • 52446eb Add Ruby v3.4.0-preview2 to CI in prep for v3.4.0
  • bc144ae Merge pull request #690 from freerange/workaround-for-jruby-jar-dependencies-...
  • 3127e00 Workaround for JRuby jar-dependencies issue
  • See full diff in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
mocha [>= 2.0.a, < 2.1]

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.0.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](freerange/mocha@v2.6.1...v2.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 9, 2024 00:15
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 9, 2024
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 9, 2024

@dgholz dgholz self-assigned this Dec 9, 2024
@dgholz dgholz merged commit 0a780e5 into main Dec 9, 2024
7 checks passed
@dgholz dgholz deleted the dependabot/bundler/mocha-2.7.0 branch December 9, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants