Add IgnoredMetadata configuration option to RSpec/DescribeClass. ([@Rafix02][])
Fix false positives in RSpec/EmptyExampleGroup. ([@pirj][])
Fix a false positive for RSpec/EmptyExampleGroup when example is defined in an if branch. ([@koic][])
1.43.2 (2020-08-25)
Fix RSpec/FilePath when checking a file with a shared example. ([@pirj][])
Fix subject nesting detection in RSpec/LeadingSubject. ([@pirj][])
1.43.1 (2020-08-17)
Fix RSpec/FilePath when checking a file defining e.g. an empty class. ([@bquorning][])
1.43.0 (2020-08-17)
Add a new base cop class ::RuboCop::Cop::RSpec::Base. The old base class ::RuboCop::Cop::RSpec::Cop is deprecated, and will be removed in the next major release. ([@bquorning][])
Add support for subject detection after includes and example groups in RSpec/LeadingSubject. ([@pirj][])
Ignore trailing punctuation in context description prefix. ([@elliterate][])
Relax RSpec/VariableDefinition cop so interpolated and multiline strings are accepted even when configured to enforce the symbol style. ([@bquorning][])
Fix RSpec/EmptyExampleGroup to flag example groups with examples in invalid scopes. ([@mlarraz][])
Fix RSpec/EmptyExampleGroup to ignore examples groups with examples defined inside iterators. ([@pirj][])
Improve RSpec/NestedGroups, RSpec/FilePath, RSpec/DescribeMethod, RSpec/MultipleDescribes, RSpec/DescribeClass's top-level example group detection. ([@pirj][])
Add detection of let! with a block-pass or a string literal to RSpec/LetSetup. ([@pirj][])
Add IgnoredPatterns configuration option to RSpec/VariableName. ([@jtannas][])
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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on rubocop-rspec to permit the latest version.
Release notes
Sourced from rubocop-rspec's releases.
Changelog
Sourced from rubocop-rspec's changelog.
Commits
c3fa5ba
Merge pull request #1055 from rubocop-hq/release-2.0056ee5a
Bump version to 2.0.0cc09e7d
Merge pull request #1075 from rubocop-hq/refactor-top-level-group38be753
Merge pull request #1013 from rubocop-hq/add-v2-migration-docsc61929a
Usecase
instead ofif
5a9714e
Fix shared example name60afe4c
Clarify how to include several RuboCop extensionsf3849e0
Add v2 update docs9a5d604
Merge pull request #1071 from rubocop-hq/enable-pending-2.0-cops06d6abd
Enable pending cop(s)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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)