Skip to content

Conversation

@dependabot-preview
Copy link

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

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v1.41.0

  • Extend the list of Rails spec types for RSpec/DescribeClass. (@pirj)
  • Fix FactoryBot/AttributeDefinedStatically to allow #traits_for_enum without a block. ([@harrylewis][])
  • Improve the performance of FactoryBot/AttributeDefinedStatically, RSpec/InstanceVariable, RSpec/LetSetup, RSpec/NestedGroups and RSpec/ReturnFromStub. ([@andrykonchin][])
Changelog

Sourced from rubocop-rspec's changelog.

1.41.0 (2020-07-03)

  • Extend the list of Rails spec types for RSpec/DescribeClass. ([@pirj][])
  • Fix FactoryBot/AttributeDefinedStatically to allow #traits_for_enum without a block. ([@harrylewis][])
  • Improve the performance of FactoryBot/AttributeDefinedStatically, RSpec/InstanceVariable, RSpec/LetSetup, RSpec/NestedGroups and RSpec/ReturnFromStub. ([@andrykonchin][])

1.40.0 (2020-06-11)

  • Add new RSpec/VariableName cop. ([@tejasbubane][])
  • Add new RSpec/VariableDefinition cop. ([@tejasbubane][])
  • Expand Capybara/VisibilityMatcher to support more than just have_selector. ([@twalpole][])
  • Add new SpecSuffixOnly option to RSpec/FilePath cop. ([@zdennis][])
  • Allow RSpec/RepeatedExampleGroupBody to differ only by described_class. ([@robotdana][])
  • Fix RSpec/FilePath detection across sibling directories. ([@rolfschmidt][])
  • Improve the performance of RSpec/SubjectStub by an order of magnitude. ([@andrykonchin][])

1.39.0 (2020-05-01)

  • Fix RSpec/FilePath detection when absolute path includes test subject. ([@eitoball][])
  • Add new Capybara/VisibilityMatcher cop. ([@aried3r][])
  • Ignore String constants by RSpec/Describe. ([@AlexWayfer][])
  • Drop support for ruby 2.3. ([@bquorning][])
  • Fix multiple cops to detect let with proc argument. ([@tejasbubane][])
  • Add autocorrect support for RSpec/ScatteredLet. ([@Darhazer][])
  • Add new RSpec/EmptyHook cop. ([@tejasbubane][])

1.38.1 (2020-02-15)

  • Fix RSpec/RepeatedDescription to detect descriptions with interpolation and methods. ([@lazycoder9][])

1.38.0 (2020-02-11)

  • Fix RSpec/InstanceVariable detection inside custom matchers. ([@pirj][])
  • Fix RSpec/ScatteredSetup to distinguish hooks with different metadata. ([@pirj][])
  • Add autocorrect support for RSpec/ExpectActual cop. ([@dduugg][], [@pirj][])
  • Add RSpec/RepeatedExampleGroupBody cop. ([@lazycoder9][])
  • Add RSpec/RepeatedExampleGroupDescription cop. ([@lazycoder9][])
  • Add block name and other lines to RSpec/ScatteredSetup message. ([@elebow][])
  • Fix RSpec/RepeatedDescription to take into account example metadata. ([@lazycoder9][])

1.37.1 (2019-12-16)

  • Improve message and description of FactoryBot/FactoryClassName. ([@ybiquitous][])
  • Fix FactoryBot/FactoryClassName to ignore Hash and OpenStruct. ([@jfragoulis][])

1.37.0 (2019-11-25)

  • Implement RSpec/DescribedClassModuleWrapping to disallow RSpec statements within a module. ([@kellysutton][])
  • Fix documentation rake task to support Rubocop 0.75. ([@nickcampbell18][])
  • Fix RSpec/SubjectStub to detect implicit subjects stubbed. ([@QQism][])
Commits
  • e6857d8 Merge pull request #953 from rubocop-hq/release
  • 44e7d6e Bump version to v1.41.0
  • 6e1d698 Merge pull request #951 from andrykonchin/optimize-performance-let-setup
  • 28eab5a RSpec/LetSetup Optimize #on_block callback
  • 5551988 Merge pull request #950 from andrykonchin/optimize-performance-nested-groups
  • 85b0399 RSpec/NestedGroups Optimize #on_top_level_describe callback
  • 172dfe8 Merge pull request #934 from mockdeep/rf-shared_groups
  • 7e2d6dc Merge pull request #946 from andrykonchin/optimize-performance-instance-variable
  • c51c544 Merge pull request #949 from andrykonchin/optimize-performance-attribute_defi...
  • 87229cc Merge pull request #944 from harrylewis/bugfix/add-new-factory-bot-method-to-...
  • 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:

  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant