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

External changes

  • The reinstate_undocumented_behaviour_from_v1_9 configuration option is now enabled by default to give people a chance to see and fix the relevant deprecation warnings before the behaviour is removed in a future release (b91b1c9e)

1.11.0

External changes

  • Add Expectation#with_block_given & Expectation#with_no_block_given (#441).
  • Fix issue with non-Array arguments passed to Expectation#multiple_yields (#444).
    • The undocumented behaviour is now properly supported and documented.

Internal changes

  • Move static YARD options from Rake task to .yardopts file - thanks to @​nitishr (#429)
  • Simplify implementation of yielding functionality - thanks to @​nitishr (#439)
  • Add missing require statement to acceptance_test_helper.rb (1070fc02)
  • Add some baseline acceptance tests for yielding behaviour (c2cac911)
  • Display a sponsor button on GitHub repo page (9fc5911b)
  • Use new Deprecation.warning behaviour in Invocation#call (932d1166)

1.10.2

  • Optionally reinstate undocumented behaviour from v1.9. This introduces a new configuration option (reinstate_undocumented_behaviour_from_v1_9) to reinstate a couple of bits of undocumented behaviour from v1.9 which were changed in v1.10 without any prior deprecation warning (#438):
    • The behaviour of API#mock, API#stub and API#stub_everything when called with a symbol as the first argument.
    • The behaviour of Expectation#yields and Expectation#multiple_yields when the stubbed method is called without a block.

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)
... (truncated)
Commits
  • 6672b62 [skip ci] Update documentation for v1.11.1 release
  • 109829a Bump version to 1.11.1 & prepare for release
  • b91b1c9 Enable reinstate_undocumented_behaviour_from_v1_9 config option by default
  • 54b1b60 [skip ci] Update documentation for v1.11.0 release
  • cbb01cb Bump version to 1.11.0 & prepare for release
  • 2ddbdfd Add Expectation#with_block_given &#with_no_block_given
  • cf4c1e4 Expand deprecation warning in Invocation#call
  • 7ba3d68 Include representation of supplied block in invocation description
  • 454652a Add Expectation#with_block_given & #with_no_block_given
  • 215f8e1 Improve handling of non-Array arguments to Expectation#multiple_yields
  • 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.11.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 18, 2019
@dependabot-preview
Copy link
Author

Superseded by #16.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/mocha-tw-1.11.1 branch January 6, 2020 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