Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ mocha (>= 0.9.12, <=1.1.0 → >= 0.9.12, <= 1.12.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 45 commits:
[skip ci] Update documentation for v1.12.0 release
Bump version to 1.12.0 & prepare for release
Update docs to point to travis-ci.com instead of travis-ci.org
Remove docs & tests from gem to reduce its size by over 50%
Temporarily ignore Ruby v1.8.7 build failures
Improvements to docs for Expectation#yields & #multiple_yields
Patch app.js to work with jquery v1.9.0
Downgrade jquery from v1.9.0 -> v1.8.3
Remove reference to non-existent jquery source map
Manually upgrade jquery in docs from v1.7.1 -> v1.9.0
Generate docs using newer version of yard (v0.9.25)
Update Travis CI badge to point to main vs master branch
hide respond_to? from yard documentation
Use code block in doc for Expectation#when state_predicate param
Merge pull request #474 from nitishr/remember-invocations
Refactor: remove unnecessary return self
persist cardinality instance across updates
Refactor: prep to turn class methods into instance
Simplify Mockery
Remove redundant stubbing_method_unnecessarily conditional
Inline on_stubbing_method_unnecessarily
Replace `unless empty?` with simpler `if any?`
Consistently terminate Mockery#mocha_inspect with newline
Add test coverage for displaying state in error message
Replace conditional next inside each block with call to Enumerable#reject
Move stubbing_method_unnecessarily check outside loop
Consistently use instances instance variable in Mockery
Remove redundant assignment of @instances in Mockery.setup
Add Ruby 2.7 to Travis-CI matrix
Remove redundant test
Refactor StateMachine-related classes & improve related documentation
DRY up StateMachine#mocha_inspect
Improvements to docs for StateMachine#is & #is_not
Make signature of Expectation#then more explicit & simplify impl
Update documentation referring to states in Expectation
DRY up by subclassing State from StatePredicate
Move StatePredicate definition above State definition
Prepare to make StatePredicate into superclass by passing active_check
Prepare to make StatePredicate into superclass by passing description
Various improvements to README
Consistently use single quotes in README
Add sub-section under Rails section of README for other test frameworks
Move RSpec & Cucumber sub-sections into Bundler section of README
Add note to README re Rails tests using MiniTest by default
Remove duplicate MiniTest sub-section in Rails section of README
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands