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

External changes

  • Fix regression introduced in v1.10.0 that meant Object#inspect was called unnecessarily (368abd98)
  • Warn when mock object receives invocations in another test - thanks to @nitishr (#442)
  • Avoid rubocop comments appearing in YARD-generated docs (d8019eed)

Internal changes

  • Replace StubbedMethod#original_method & #original_visibility attribute reader methods with instance variables - thanks to @nitishr (d917f332)
  • Set up MochaExampleTest & StubbaExampleTest as acceptance tests - thanks to @nitishr (4881cc58)
  • Delete unused PrettyParameters class - thanks to @nitishr (314ea922)

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

... (truncated)
Commits
  • 3fc8e30 [skip ci] Update documentation for v1.11.2 release
  • 0f90426 Bump version to 1.11.2 & prepare for release
  • 368abd9 Only inspect objects when necessary
  • 314ea92 Delete unused PrettyParameters class
  • 4881cc5 set up {Moch,Stubb}aExampleTest as acceptance tests
  • d917f33 replace original_{method,visibility} attrs w/ ivars
  • d8019ee Avoid rubocop comments appearing in YARD-generated docs
  • 6296fd5 Warn when mock object receives invocations in another test
  • 2389ff3 Extract Mock#raise_unexpected_invocation_error method
  • d53327a Extract Mock#check_responder_responds_to method
  • 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.2)

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 Jan 6, 2020
@dependabot-preview
Copy link
Author

Superseded by #17.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/mocha-tw-1.11.2 branch December 24, 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