Upgrade rubocop-rspec to version 2.19.0 #135
Merged
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?
✳️ rubocop-rspec (2.18.1 → 2.19.0) · Repo · Changelog
Release Notes
2.19.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 56 commits:
Merge pull request #1590 from rubocop/release
Bump version to v2.19.0
Merge pull request #1575 from ydah/refactor-skipped-or-pending
Merge pull request #1589 from ydah/ydah/fix-1588
Refactor and adding a common matcher in SkipOrPending module
Fix an incorrect autocorrect for `RSpec/VerifiedDoubleReference` when namespaced class
Merge pull request #1586 from r7kamura/feature/internal-affairs
Auto-correct `InternalAffairs/LocationExpression` offenses
Merge pull request #1585 from ydah/fix-ProcessedSourceBufferName
Correct `InternalAffairs/ProcessedSourceBufferName` cop
Merge pull request #1581 from rubocop/sunset-_pattern-helpers
Add deprecation warning and a changelog entry
Prepare _pattern abstraction for retirement
Merge pull request #1580 from ydah/ci_against_jruby_9_4
Merge pull request #1556 from ydah/extract_location
Change to ignore `example?`, `hook?`, `let?`, `include?` and `subject?` matchers with `RSpec` receivers
CI against JRuby 9.4 instead of JRuby 9.3
Merge pull request #1579 from ydah/enable-some-new-cops
Enable Style/RedundantStringEscape
Enable Style/RedundantHeredocDelimiterQuotes and fix offenses
Extract Location module as mixin
Merge pull request #1577 from ydah/not-use-comment_line
Use `line_with_comment?` instead of bad API
Merge pull request #1573 from ydah/patch-refactor
Add `block_or_numblock_pattern` and replace where used
Merge pull request #1572 from rubocop/rename-pending-to-skip-block-cop
Rename and narrow to `skip` only
Merge pull request #1566 from ydah/fix/1565
Fix edge cases & refactor
Fix a false positive for `RSpec/PendingWithoutReason` when not inside example and pending/skip with block
Merge pull request #464 from rubocop/match_array
Add specs for non-splat case and % literal
Rely on RESTRICT_ON_SEND
Merge pull request #1571 from ydah/suppression-typo
Add settings for typo suppression
Performance optimization
Handle percent literals as an exception
Modernize
Clean up code and add a changelog entry
Implement Rubocop::Cop::RSpec::ContainExactly and Rubocop::Cop::RSpec::MatchArray
Merge pull request #1503 from r7kamura/feature/freeze-time-around
Add `RSpec/Rails/TravelAround` cop
Add `RSpec/RedundantAround` cop
Merge pull request #1569 from ydah/fix/1149
Merge branch 'master' into fix/1149
Merge pull request #1564 from ydah/feature/1563
Add new `RSpec/PendingBlockInsideExample` cop
Fix a false positive for `RSpec/VariableDefinition` when inside non-spec code
Fix a false positive for `RSpec/VariableName` when inside non-spec code
Merge pull request #1558 from ydah/fix-false-positive-rspec-DescribeMethod
Merge pull request #1568 from ydah/patch-1
Add a link to RSpec
Explicitly show that we ignore non-string arguments
Fix a false positive for `RSpec/DescribeMethod` when multi-line describe without `#` or `.` at the beginning
Merge pull request #1557 from ydah/fix-false-positive-rspec-ContextWording
Fix a false positive for `RSpec/ContextWording` when context is interpolated string literal or execute string
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