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

Bump mocha from 1.9.0 to 1.10.0 #1567

Merged
merged 1 commit into from
Dec 3, 2019
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps mocha from 1.9.0 to 1.10.0.

Changelog

Sourced from mocha's changelog.

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)
  • Simplify AnyInstanceMethod, ClassMethod, InstanceMethod, ModuleMethod class hierarchy - thanks to @​nitishr (#381)
  • Simplify ClassMethods#method_exists? & ObjectMethods#method_exists? making them consistent - thanks to @​nitishr (#270, #362, #370)
  • Don't override definition of singleton_class in ClassMethods - thanks to @​nitishr (#391, #392)
  • Do not include 'method_definer' methods into all objects (#268, #402)
  • Distinguish different ObjectMethods modules (#268, #404)
... (truncated)
Commits
  • 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
  • ef70734 Update release notes & bump version in preparation for release
  • 894243e Hide ClassMethods#method_visibility & #method_exists? methods to avoid clash ...
  • 3e76e4b Rename ClassMethods#method_exists? -> method_exists?
  • 11befbe Rename ClassMethods#method_visibility -> method_visibility
  • 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.


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)

@bevanloon bevanloon merged commit bcfd91d into master Dec 3, 2019
@bevanloon bevanloon deleted the dependabot/bundler/mocha-1.10.0 branch December 3, 2019 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant