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 #14

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

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

Updates the requirements on mocha to permit the latest version.

Changelog

Sourced from mocha's changelog.

2.0.2

External changes

2.0.1

External changes

  • Fix LoadError when using v2.0.0 with Ruby < v2.7 by moving declaration of runtime dependency on ruby2_keywords gem from Gemfile to mocha.gemspec - thanks to @​mishina2228 for reporting (#581, #582, cdeb0356)

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.1

External changes

... (truncated)

Commits
  • d4ac8f2 Bump version to 2.0.2 & prepare for release
  • ba4d619 Fix regression in Mock#responds_like behaviour
  • 113b148 [skip ci] Update documentation for v2.0.1.
  • a6d6ac2 Bump version to 2.0.1 & prepare for release
  • cdeb035 ruby2_keywords is runtime dep not development dep
  • 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
  • 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)

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.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 7, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 31, 2023

Superseded by #15.

@dependabot dependabot bot closed this Jul 31, 2023
@dependabot dependabot bot deleted the dependabot/bundler/mocha-tw-2.0 branch July 31, 2023 21:50
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants