pcriv / statics

Base class and modules for YAML backed static models.
MIT License
43 stars 3 forks source link

Update rubocop-rspec requirement from ~> 1.3 to ~> 2.0 #17

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on rubocop-rspec to permit the latest version.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.0.0

This a major release, so please consider all changes “potentially breaking”. Read more about upgrading in our Upgrade to Version 2.x document.

  • Remove deprecated class ::RuboCop::Cop::RSpec::Cop. (@bquorning)
  • Retire RSpec/InvalidPredicateMatcher cop. (@pirj)
  • Remove the code responsible for filtering files to inspect. (@pirj)
  • Make RSpec language elements configurable. (@sl4vr)
  • Remove CustomIncludeMethods RSpec/EmptyExampleGroup option in favour of the new RSpec DSL configuration. (@pirj)
  • Enabled pending cop (RSpec/StubbedMock). (@pirj)

See also https://github.com/rubocop-hq/rubocop-rspec/releases/v2.0.0.pre

Changelog

Sourced from rubocop-rspec's changelog.

2.0.0 (2020-11-06)

  • Remove deprecated class ::RuboCop::Cop::RSpec::Cop. ([@bquorning][])
  • Retire RSpec/InvalidPredicateMatcher cop. ([@pirj][])
  • Remove the code responsible for filtering files to inspect. ([@pirj][])
  • Make RSpec language elements configurable. ([@sl4vr][])
  • Remove CustomIncludeMethods RSpec/EmptyExampleGroup option in favour of the new RSpec DSL configuration. ([@pirj][])
  • Enabled pending cop (RSpec/StubbedMock). ([@pirj][])

2.0.0.pre (2020-10-22)

  • Update RuboCop dependency to v1.0.0. ([@bquorning][])
  • Change namespace of several cops (Capybara/* -> RSpec/Capybara/*, FactoryBot/* -> RSpec/FactoryBot/*, Rails/* -> RSpec/Rails/*). ([@pirj][], [@bquorning][])

1.44.1 (2020-10-20)

1.44.0 (2020-10-20)

  • Move our documentation from rubocop-rspec.readthedocs.io to docs.rubocop.org/rubocop-rspec. ([@bquorning][])
  • Add RSpec/RepeatedIncludeExample cop. ([@biinari][])
  • Add RSpec/StubbedMock cop. ([@bquorning][], [@pirj][])
  • 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][])
  • Add RSpec/MultipleMemoizedHelpers cop. ([@mockdeep][])

1.42.0 (2020-07-09)

Commits
  • c3fa5ba Merge pull request #1055 from rubocop-hq/release-2.0
  • 056ee5a Bump version to 2.0.0
  • cc09e7d Merge pull request #1075 from rubocop-hq/refactor-top-level-group
  • 38be753 Merge pull request #1013 from rubocop-hq/add-v2-migration-docs
  • c61929a Use case instead of if
  • 5a9714e Fix shared example name
  • 60afe4c Clarify how to include several RuboCop extensions
  • f3849e0 Add v2 update docs
  • 9a5d604 Merge pull request #1071 from rubocop-hq/enable-pending-2.0-cops
  • 06d6abd Enable pending cop(s)
  • Additional commits viewable in compare view


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)