dep: bump rubocop-rspec and rubocop
Bumps rubocop-rspec and rubocop. These dependencies needed to be updated together.
Updates rubocop-rspec
from 1.44.1 to 2.0.1
Release notes
Sourced from rubocop-rspec's releases.
RuboCop RSpec v2.0.1
- Fixed infinite loop in
RSpec/ExpectActual
autocorrection when both expected and actual values are literals. (@Darhazer)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
RuboCop RSpec v2.0.0.pre
- Update RuboCop dependency to v1.0.0. (@bquorning)
- (Potentially breaking) Change namespace of several cops (
Capybara/*
→RSpec/Capybara/*
,FactoryBot/*
→RSpec/FactoryBot/*
,Rails/*
→RSpec/Rails/*
). (@pirj, @bquorning)
Changelog
Sourced from rubocop-rspec's changelog.
2.0.1 (2020-12-02)
- Fixed infinite loop in
RSpec/ExpectActual
autocorrection when both expected and actual values are literals. ([@Darhazer][])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][])
Commits
-
b395672
Merge pull request #1103 from rubocop-hq/release -
c633c86
Bump version to v2.0.1 -
11b1fa4
Merge pull request #1102 from cesc1989/subjectstub-examples -
1684470
Add clearer examples for the SubjectStub Cop -
df1fa3d
Merge pull request #1095 from rubocop-hq/quotes -
cecc4b3
Merge pull request #1098 from rubocop-hq/fix-infinite-loop-expect-actual -
5e5eeba
Merge pull request #1097 from rubocop-hq/add-doc-how-to-configure-rspec-alias... -
412227a
Remove last mentions of 'RuboCop-RSpec' -
22f8099
Add docs on configuring RSpec aliases from gems -
c629172
Fix infinite loop when expected value is literal - Additional commits viewable in compare view
Updates rubocop
from 0.93.1 to 1.6.1
Release notes
Sourced from rubocop's releases.
RuboCop 1.6.1
Bug fixes
- #9196: Fix
ConfigObsoletion::ExtractedCop
raising errors for loaded features when bundler is not activated. (@dvandersluis)RuboCop 1.6
New features
- #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@dvandersluis)
- #9182: Support auto-correction for
Style/RedundantArgument
. (@koic)- #9186: Support auto-correction for
Style/FloatDivision
. (@koic)- #9167: Support auto-correct for
StyleSingleLineBlockParams
. (@koic)Bug fixes
- #9177: Remove back-ref related code from
Style/SpecialGlobalVars
. (@r7kamura)- #9160: Fix an incorrect auto-correct for
Style/IfUnlessModifier
andStyle/SoleNestedConditional
when auto-correction conflicts for guard condition. (@koic)- #9174: Handle send nodes with unparenthesized arguments in
Style/SoleNestedConditional
. (@dvandersluis)- #9184:
Layout/EmptyLinesAroundAttributeAccessor
fails if the attr_accessor is the last line of the file. (@tas50)Changes
- #9171: Add "did you mean" message when failing due to invalid cops in configuration. (@dvandersluis)
- #8897: Change
Style/StringConcatenation
to accept line-end concatenation between two strings so thatStyle/LineEndConcatenation
can handle it instead. (@dvandersluis)- #9172: Add
Style/PerlBackrefs
targets and change message more detailed. (@r7kamura)- #9187: Update formatters to output
[Correctable]
for correctable offenses. (@dvandersluis)- #9169: Add obsoletion warnings for
Performance/*
andRails/*
which are in separate gems now. (@dvandersluis)RuboCop 1.5.2
Bug fixes
- #9152: Fix an incorrect auto-correct for
Style/SoleNestedConditional
when nested||
operator modifier condition. (@koic)- #9161: Fix a false positive for
Layout/HeredocArgumentClosingParenthesis
when using subsequence closing parentheses in the same line. (@koic)- #9151: Fix
SuggestExtensions
to not suggest extensions that are installed but not direct dependencies. (@dvandersluis)- #8985: Fix
Style/StringConcatenation
autocorrect generating invalid ruby. ([@tejasbubane][])- #9155: Fix a false positive for
Layout/MultilineMethodCallIndentation
when multiline method chain has expected indent width and the method is preceded by splat forEnforcedStyle: indented_relative_to_receiver
. (@koic)Changes
- #9080: Make
Lint/ShadowingOuterVariable
aware ofRactor
. ([@tejasbubane][])- #9102: Relax regexp_parser requirement. ([@marcandre][])
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.6.1 (2020-12-10)
Bug fixes
- #9196: Fix
ConfigObsoletion::ExtractedCop
raising errors for loaded features when bundler is not activated. ([@dvandersluis][])1.6.0 (2020-12-09)
New features
- #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. ([@dvandersluis][])
- #9182: Support auto-correction for
Style/RedundantArgument
. ([@koic][])- #9186: Support auto-correction for
Style/FloatDivision
. ([@koic][])- #9167: Support auto-correct for
StyleSingleLineBlockParams
. ([@koic][])Bug fixes
- #9177: Remove back-ref related code from
Style/SpecialGlobalVars
. ([@r7kamura][])- #9160: Fix an incorrect auto-correct for
Style/IfUnlessModifier
andStyle/SoleNestedConditional
when auto-correction conflicts for guard condition. ([@koic][])- #9174: Handle send nodes with unparenthesized arguments in
Style/SoleNestedConditional
. ([@dvandersluis][])- #9184:
Layout/EmptyLinesAroundAttributeAccessor
fails if the attr_accessor is the last line of the file. ([@tas50][])Changes
- #9171: Add "did you mean" message when failing due to invalid cops in configuration. ([@dvandersluis][])
- #8897: Change
Style/StringConcatenation
to accept line-end concatenation between two strings so thatStyle/LineEndConcatenation
can handle it instead. ([@dvandersluis][])- #9172: Add
Style/PerlBackrefs
targets and change message more detailed. ([@r7kamura][])- #9187: Update formatters to output
[Correctable]
for correctable offenses. ([@dvandersluis][])- #9169: Add obsoletion warnings for
Performance/*
andRails/*
which are in separate gems now. ([@dvandersluis][])1.5.2 (2020-12-04)
Bug fixes
- #9152: Fix an incorrect auto-correct for
Style/SoleNestedConditional
when nested||
operator modifier condition. ([@koic][])- #9161: Fix a false positive for
Layout/HeredocArgumentClosingParenthesis
when using subsequence closing parentheses in the same line. ([@koic][])- #9151: Fix
SuggestExtensions
to not suggest extensions that are installed but not direct dependencies. ([@dvandersluis][])- #8985: Fix
Style/StringConcatenation
autocorrect generating invalid ruby. ([@tejasbubane][])- #9155: Fix a false positive for
Layout/MultilineMethodCallIndentation
when multiline method chain has expected indent width and the method is preceded by splat forEnforcedStyle: indented_relative_to_receiver
. ([@koic][])Changes
- #9080: Make
Lint/ShadowingOuterVariable
aware ofRactor
. ([@tejasbubane][])- #9102: Relax regexp_parser requirement. ([@marcandre][])
1.5.1 (2020-12-02)
Bug fixes
- #8684: Fix an error for
Lint/InterpolationCheck
cop. ([@tejasbubane][])
... (truncated)
Commits
-
e338caf
Cut 1.6.1 -
d1a66be
Update Changelog -
9a4cb23
Prevent broken changelog -
025685c
Merge pull request #9199 from dvandersluis/improve-project-spec -
562d701
Improve the test output from project_spec in case there are missing configura... -
d95a384
[Fix #9196] Fix ConfigObsoletion::ExtractedCop raising errors for loaded feat... -
905e363
Tweak the changelog -
a1a8939
Switch back the docs version -
64e8c47
Cut 1.6 -
337570f
Update Changelog - Additional commits viewable in compare view