Skip to content

Conversation

@dependabot-preview
Copy link

Bumps mocha from 1.3.0 to 1.11.2.

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 compatibility score

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [mocha](https://github.com/freerange/mocha) from 1.3.0 to 1.11.2.
- [Release notes](https://github.com/freerange/mocha/releases)
- [Changelog](https://github.com/freerange/mocha/blob/master/RELEASE.md)
- [Commits](freerange/mocha@v1.3.0...v1.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 14, 2020
@dependabot-preview
Copy link
Author

Superseded by #38.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/mocha-1.11.2 branch December 24, 2020 06:15
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.

0 participants