Upgrade mocha to version 1.12.0 #177
Closed
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 releaseBump version to 1.12.0 & prepare for releaseUpdate docs to point to travis-ci.com instead of travis-ci.orgRemove docs & tests from gem to reduce its size by over 50%Temporarily ignore Ruby v1.8.7 build failuresImprovements to docs for Expectation#yields & #multiple_yieldsPatch app.js to work with jquery v1.9.0Downgrade jquery from v1.9.0 -> v1.8.3Remove reference to non-existent jquery source mapManually upgrade jquery in docs from v1.7.1 -> v1.9.0Generate docs using newer version of yard (v0.9.25)Update Travis CI badge to point to main vs master branchhide respond_to? from yard documentationUse code block in doc for Expectation#when state_predicate paramMerge pull request #474 from nitishr/remember-invocationsRefactor: remove unnecessary return selfpersist cardinality instance across updatesRefactor: prep to turn class methods into instanceSimplify MockeryRemove redundant stubbing_method_unnecessarily conditionalInline on_stubbing_method_unnecessarilyReplace `unless empty?` with simpler `if any?`Consistently terminate Mockery#mocha_inspect with newlineAdd test coverage for displaying state in error messageReplace conditional next inside each block with call to Enumerable#rejectMove stubbing_method_unnecessarily check outside loopConsistently use instances instance variable in MockeryRemove redundant assignment of @instances in Mockery.setupAdd Ruby 2.7 to Travis-CI matrixRemove redundant testRefactor StateMachine-related classes & improve related documentationDRY up StateMachine#mocha_inspectImprovements to docs for StateMachine#is & #is_notMake signature of Expectation#then more explicit & simplify implUpdate documentation referring to states in ExpectationDRY up by subclassing State from StatePredicateMove StatePredicate definition above State definitionPrepare to make StatePredicate into superclass by passing active_checkPrepare to make StatePredicate into superclass by passing descriptionVarious improvements to READMEConsistently use single quotes in READMEAdd sub-section under Rails section of README for other test frameworksMove RSpec & Cucumber sub-sections into Bundler section of READMEAdd note to README re Rails tests using MiniTest by defaultRemove duplicate MiniTest sub-section in Rails section of READMEDepfu 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