Upgrade rubocop-rspec to version 1.33.0
Created by: depfu[bot]
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 (~> 1.32.0 → ~> 1.33.0) · Repo · Changelog
Release Notes
1.33.0
- Let
RSpec/DescribedClass
passStruct
instantiation closures. (@schmijos)- Fixed
RSpec/ContextWording
missingcontext
s with metadata. (@pirj)- Fix
FactoryBot/AttributeDefinedStatically
not working with an explicit receiver. (@composerinteralia)- Add
RSpec/Dialect
enforces custom RSpec dialects. (@gsamokovarov)- Fix redundant blank lines in
RSpec/MultipleSubjects
's autocorrect. (@pirj)- Drop support for ruby
2.2
. (@bquorning)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
Merge pull request #766 from rubocop-hq/release
Bump version to v1.33.0
Merge pull request #764 from rubocop-hq/drop-support-for-ruby-2.2
Drop support for Ruby 2.2
Merge pull request #763 from pirj/fix-blank-lines-in-multiple-subjects
Fix blank lines produced by MultipleSubjects cop
Merge pull request #756 from renuo/fix-described-class-with-structs
Let `RSpec/DescribedClass` pass `Struct` instantiation closures
Merge pull request #755 from rubocop-hq/fix-rubocop-offenses
Fix Naming/RescuedExceptionsVariableName offense
Merge pull request #732 from gsamokovarov/no-context
Merge pull request #746 from rubocop-hq/runners-in-language-module
Add RSpec/Dialect
Use `Runners::ALL` from the `Language` module
Add Runners to Language module
Merge pull request #689 from thoughtbot/static-attribute-with-receiver
Enforce dynamic attributes with explicit receiver
Merge pull request #741 from rubocop-hq/remove-range-between-usage
Remove `range_between` usage in favor of `with(end_pos: ...)`
Merge pull request #738 from rubocop-hq/expect_correction-2
Reword examples in hooks_before_examples_spec
Use expect_correction on more specs
Merge pull request #737 from rubocop-hq/expect_correction
Use the new expect_correction spec helper
Merge pull request #736 from toptal/fix-context-wording-to-support-metadata
Add support for metadata to ContextWording
Merge pull request #733 from rubocop-hq/extract-rspec-receiver-to-language
Extract RSpec receiver definition to Language module
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
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)