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

Update mocha requirement from ~> 1.1 to ~> 2.0 #170

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 2, 2022

Updates the requirements on mocha to permit the latest version.

Changelog

Sourced from mocha's changelog.

2.0.0

External changes

  • Remove support for Ruby v1.9 - thanks to @​wasabigeek (#552)
  • Support strict keyword argument matching - see docs for Expectation#with & Configuration#strict_keyword_argument_matching= - thanks to @​wasabigeek (#446,#535,#544,#562)
  • Deprecate Hash args that don't strictly match (#563,981c31be)
  • Drop support for older versions of test-unit - gem versions of test-unit earlier than v2.5.1 and versions of test-unit from the Ruby v1.8 standard library are no longer supported (#540,969f4845)
  • Drop support for older versions of minitest - versions of minitest earlier than v3.3.0 are no longer supported (#541,ca69dc9e)
  • Remove deprecated mocha/setup.rb mechanism (642a0ff4)
  • Add missing docs for API#stub parameter (257b4cb4)
  • Remove optional reinstatement of v1.9 behaviour (#436,#438,#569,1473ee25)
  • Remove deprecated methods in Configuration (#421,e7ff7528)
  • Fail fast when mock receives invocations in another test (#440,#442,cb054d59)
  • Improve docs re using matchers in Expectation#with (da7237cd)
  • Expand Expectation#with docs re keyword arguments (fed6808d)
  • Improve docs for strict_keyword_argument_matching (8d8f881d)
  • Remove deprecated Rails plugin init.rb file (1c617175)
  • Improve strict keyword argument matching deprecation warning by including the source location of the stub definition (77c0d4cc)
  • Add README section re semantic versioning (00758246)

Internal changes

  • Separate linting from tests in terms of Rake tasks & CircleCI jobs - thanks to @​wasabigeek (#556)
  • Remove tests specific to Ruby v1.8 behaviour (46fca7ac, 3b369e99)
  • Multi-line rubocop disable in Mock#method_missing (af2194c4)
  • Remove unused arg for HashMethods#mocha_inspect (4f59e27f)
  • Improve test runner assertions - failure vs error (eec7200a)
  • Improve test coverage of PositionalOrKeywordHash (c294fe70)
  • More consistent Test::Unit & Minitest integration (27dd3817)
  • Remove redundant require statements (d82218a8,fa17b114)
  • Add missing require statement (73493761)
  • Disable Style/Semicolon cop globally (8cd0b705)

1.16.0

External changes

  • Default Configuration#reinstate_undocumented_behaviour_from_v1_9= to false (6fcaf947)
  • Deprecate Configuration#reinstate_undocumented_behaviour_from_v1_9= (a797c5fd)

Internal changes

  • Remove redundant deprecation disabling in MockTest (dc8ca969)

1.15.0

External changes

... (truncated)

Commits
  • c5cf324 [skip ci] Update documentation for v2.0.0.
  • fcd5450 Bump version to 2.0.0 & prepare for release
  • 0075824 Add README section re semantic versioning
  • 1099679 Improve docs for strict keyword argument matching
  • a5e07fc [skip ci] Add v1.16.0 into release docs
  • e32e9e5 [skip ci] Update documentation for v2.0.0.alpha.1
  • 90e1157 Bump version to 2.0.0.alpha.1 & prepare for release
  • 77c0d4c Improve keyword argument deprecation warning
  • 8cd0b70 Disable Style/Semicolon cop globally
  • 9cd08be [skip ci] Update documentation for v2.0.0.alpha
  • Additional commits viewable in compare view

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 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 dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 2, 2022
Updates the requirements on [mocha](https://github.com/freerange/mocha) to permit the latest version.
- [Release notes](https://github.com/freerange/mocha/releases)
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](freerange/mocha@v1.1.0...v2.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/mocha-tw-2.0 branch from 2940bc9 to c401eea Compare November 3, 2022 08:15
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2023

A newer version of mocha exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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.

1 participant