Skip to content

Conversation

@dependabot-preview
Copy link

Updates the requirements on mocha to permit the latest version.

Changelog

Sourced from mocha's changelog.

1.10.1

  • Ensure ObjectMethods & ClassMethods included when API extended (43778756)
  • Fix regression in any_instance stubbing of methods on object which has an implementation of #respond_to? that depends on the object's internal state - thanks to @​rafaelfranca for reporting & @​nitishr for fixing (#432, #434, 469d4b17)

1.10.0

  • Improve deprecation warning when requiring 'mocha/setup' (388f44d7)
  • Add documentation for Cucumber integration (13ab797b)
  • Add documentation about an undocumented feature of API#mock, API#stub & API#stub_everything being changed (7ed2e4e7, d30c1717)

1.10.0.beta.1

  • Hide ClassMethods#method_visibility & #method_exists? methods to avoid clash with Rails (#428)

1.10.0.alpha

External changes

  • Remove dependency on metaclass gem (#49, #365)
  • Accept symbol (as well as a string) as mock/stub name - thanks to @​nitishr (#347, #353, #377)
  • More realistic examples in documentation for Expectation#yields and #multiple_yields - thanks to @​nitishr (#352, #383)
  • Improve documentation for Mock#responds_like & #responds_like_instance_of - thanks to @​nitishr (#337, #384)
  • Make Expectation#yields & Expectation#multiple_yields fail when the caller of the stubbed method does not provide a block. This is a change to an undocumented aspect of the public API's behaviour. If this causes your tests to fail, then fix it by removing the unnecessary call to Expectation#yields or Expectation#multiple_yields - thanks to @​nitishr (#382)
  • Document MOCHA_OPTIONS in README - thanks to @​nitishr (#311, #386)
  • Add documentation to explain how Mocha is intended to be used - thanks to @​nitishr (#330, #385)
  • Deprecation warning if integration using 'mocha/test_unit' or 'mocha/minitest' fails - thanks to @​nitishr (#229, #389, c6032d0b)
  • Require at least one specified sequence for Expectation#in_sequence - thanks to @​nitishr (#79, #396, 9020248a)
  • Make signatures of Mock#unstub & ObjectMethods#unstub consistent - thanks to @​nitishr (#397, f04d437)
  • Deprecate requiring 'mocha/setup' (36adf880)
  • Optionally display matching invocations alongside expectations - thanks to @​nitishr (#178, #394, 00f0540, #410)
  • Put deprecations into effect (#400, #418):
    • Remove deprecated 'mocha_standalone.rb' & 'mocha/standalone.rb'
    • Fail fast if no test library loaded
    • Removed optional block for Mocha::API#mock, #stub & #stub_everything
    • Remove deprecated ParameterMatchers#has_equivalent_query_string method
    • Remove deprecated 'mocha/mini_test.rb'
  • Fix typo in docs for Mocha::Configuration.prevent (266ce71c)
  • New-style configuration (see documentation for Mocha::Configuration) (#407, #421)
  • Deprecate support for Ruby versions earlier than v1.9 (#325, c5f8496d)
  • Deprecate support for versions of test-unit & minitest which need monkey-patching (a34e1a88)
  • Deprecate old-style Rails plugin (#403, 2df77134)
  • Documentation fixes & improvements which also fix YARD warnings (472d5416, a2c0d64a)

Internal changes

  • Pin minitest to v5.11.3 for Ruby v1.8.7 to fix build; minitest no longer supports Ruby v1.8.7 (4a0a580)
  • Upgrade JRuby to v9.2.8.0 in Travis CI builds (aa29b3f)
  • Only run rubocop for MRI Ruby versions & non-integration test builds (8f1c6af)
  • Reduce duplication in any instance method class - thanks to @​nitishr (#378)
... (truncated)
Commits
  • 5bb2210 [skip ci] Update documentation for v1.10.1 release
  • f44776e Bump version to 1.10.1 & prepare for release
  • 469d4b1 Reintroduce allow check removed in 948a0c2
  • 4377875 Ensure ObjectMethods & ClassMethods included when API extended
  • 0b768ee [skip ci] Update documentation for v1.10.0 release
  • 059dafb Bump version to 1.10.0 & prepare for release
  • d30c171 Add docs for change to undocumented behaviour in API#mock, #stub, etc
  • 388f44d Improve deprecation warning when requiring 'mocha/setup'
  • 13ab797 Add documentation for integration with Cucumber
  • 2359afc [skip ci] Update documentation in preparation for 1.10.0.beta1 release
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

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/master/RELEASE.md)
- [Commits](freerange/mocha@v1.8.0...v1.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 5, 2019
@dependabot-preview
Copy link
Author

Superseded by #11.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/mocha-tw-1.10.1 branch December 13, 2019 09:12
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

Development

Successfully merging this pull request may close these issues.

1 participant