Bump slim_lint, rubocop-performance, rubocop-rspec and rubocop
requested to merge dependabot/bundler/slim_lint-and-rubocop-performance-and-rubocop-rspec-and-rubocop-0.21.0 into master
Bumps slim_lint, rubocop-performance, rubocop-rspec and rubocop. These dependencies needed to be updated together.
Updates slim_lint
from 0.18.0 to 0.21.0
Release notes
Sourced from slim_lint's releases.
Slim-Lint 0.21.0
- Add
linter
field toJSONReporter
- Add
EmbeddedEngines
linter- Add
EmacsReporter
reporter- Add
--stdin-file-path
option for specifying the name of a file passed via standard inputSlim-Lint 0.20.2
- Ignore
Style/WhileUntilDo
RuboCop cop by defaultSlim-Lint 0.20.1
- Disable
Style/IdenticalConditionalBranches
cop by defaultSlim-Lint 0.20.0
This is a hotfix to address breaking changes in the upstream RuboCop gem.
- Update minimum RuboCop version to 0.78.0 due to renaming of various cops and namespaces
Slim-Lint 0.19.0
- Remove dependency on
sysexits
gem- Update RuboCop dependency to require
0.77.0
or newer
Changelog
Sourced from slim_lint's changelog.
0.21.0
- Add
linter
field toJSONReporter
- Add
EmbeddedEngines
linter- Add
EmacsReporter
reporter- Add
--stdin-file-path
option for specifying the name of a file passed via standard input0.20.2
- Ignore
Style/WhileUntilDo
RuboCop cop by default0.20.1
- Disable
Style/IdenticalConditionalBranches
cop by default0.20.0
- Update minimum RuboCop version to 0.78.0 due to renaming of various cops and namespaces
0.19.0
- Remove dependency on
sysexits
gem- Update RuboCop dependency to require
0.77.0
or newer
Commits
-
1ce5737
Cut version 0.21.0 -
1213afd
Update changelog -
82fe833
Add --stdin-file-path option (#125) -
f9c2c21
Add emacs style reporter (#126) -
5417321
CI: Attempt to add 3.0.0 to build matrix (#121) -
f4d868c
Linter for embedded engines (#120) -
83a14c3
Addlinter
field to JSON reporter (#124) -
a89a91d
CI: Use latest Ruby patch versions (#119) -
c2812ae
Cut version 0.20.2 -
9d4dbeb
Ignore Style/WhileUntilDo RuboCop lint - Additional commits viewable in compare view
Updates rubocop-performance
from 1.5.1 to 1.11.3
Release notes
Sourced from rubocop-performance's releases.
RuboCop Performance 1.11.3
Bug fixes
- #242: Fix an error for
Performance/MapCompact
when using multilinemap { ... }.compact
and assigning to return value. (@koic)RuboCop Performance 1.11.2
Bug fixes
- #238: Fix an incorrect auto-correct for
Performance/MapCompact
when invoking a method aftermap { ... }.compact
on the same line. (@koic)RuboCop Performance 1.11.1
Bug fixes
- #236: Fix an incorrect auto-correct for
Performance/MapCompact
when using multi-line leading dot method calls. (@koic)RuboCop Performance 1.11.0
New features
- #229: Add new
Performance/MapCompact
cop. (@koic)- #178: Add new
Performance/SelectMap
cop. (@koic)Bug fixes
- #230: Fix a false positive for
Performance/ChainArrayAllocation
when usingEnumerable#lazy
. (@koic)Changes
- #228: Mark
Performance/RedundantMerge
as unsafe. (@dvandersluis)- #232: Drop Ruby 2.4 support. (@koic)
- #235: Require RuboCop 1.7 or higher. (@koic)
RuboCop Performance 1.10.2
Bug fixes
... (truncated)
- #162: Fix a false positive for
Performance/RedundantBlockCall
when an optional block that is overridden by block variable. (@koic)- #36: Fix a false positive for
Performance/ReverseEach
wheneach
is called onreverse
and using the result value. (@koic)- #224: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when using one argument with comma separator in block argument. (@koic)- #225: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when usingany?
with===
comparison block and block argument is not used as a receiver for===
. (@koic)- #222: Fix a false positive for
Performance/RedundantSplitRegexpArgument
whensplit
method argument is exactly one spece regexp/ /
. (@koic)
Changelog
Sourced from rubocop-performance's changelog.
1.11.3 (2021-05-06)
Bug fixes
- #242: Fix an error for
Performance/MapCompact
when using multilinemap { ... }.compact
and assigning to return value. ([@koic][])1.11.2 (2021-05-05)
Bug fixes
- #238: Fix an incorrect auto-correct for
Performance/MapCompact
when invoking a method aftermap { ... }.compact
on the same line. ([@koic][])1.11.1 (2021-05-02)
Bug fixes
- #236: Fix an incorrect auto-correct for
Performance/MapCompact
when using multi-line leading dot method calls. ([@koic][])1.11.0 (2021-04-22)
New features
- #229: Add new
Performance/MapCompact
cop. ([@koic][])- #178: Add new
Performance/SelectMap
cop. ([@koic][])Bug fixes
- #230: Fix a false positive for
Performance/ChainArrayAllocation
when usingEnumerable#lazy
. ([@koic][])Changes
- #228: Mark
Performance/RedundantMerge
as unsafe. ([@dvandersluis][])- #232: Drop Ruby 2.4 support. ([@koic][])
- #235: Require RuboCop 1.7 or higher. ([@koic][])
1.10.2 (2021-03-23)
Bug fixes
- #162: Fix a false positive for
Performance/RedundantBlockCall
when an optional block that is overridden by block variable. ([@koic][])- #36: Fix a false positive for
Performance/ReverseEach
wheneach
is called onreverse
and using the result value. ([@koic][])- #224: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when using one argument with comma separator in block argument. ([@koic][])- #225: Fix a false positive for
Style/RedundantEqualityComparisonBlock
when usingany?
with===
comparison block and block argument is not used as a receiver for===
. ([@koic][])- #222: Fix a false positive for
Performance/RedundantSplitRegexpArgument
whensplit
method argument is exactly one spece regexp/ /
. ([@koic][])1.10.1 (2021-03-02)
Bug fixes
... (truncated)
- #214: Fix a false positive for
Performance/RedundantEqualityComparisonBlock
when using multiple block arguments. ([@koic][])
Commits
-
5e95a5a
Cut 1.11.3 -
7136ab4
Merge pull request #244 from koic/update_doc_for_performance_map_compact -
3896ce7
Merge pull request #243 from koic/fix_error_for_performance_map_compact -
31531e8
Update the doc forPerformance/MapCompact
-
57f5395
[Fix #242] Fix an error forPerformance/MapCompact
-
1db41d7
Switch back docs version to master -
19da7a4
Cut 1.11.2 -
73d3e38
Merge pull request #239 from koic/fix_an_incorrect_autocorrect_for_performanc... -
0320422
[Fix #238] Fix an incorrect auto-correct forPerformance/MapCompact
-
71d2ccb
Switch back docs version to master - Additional commits viewable in compare view
Updates rubocop-rspec
from 1.37.1 to 2.3.0
Release notes
Sourced from rubocop-rspec's releases.
RuboCop RSpec v2.3.0
- Allow
RSpec/ContextWording
to accept multi-word prefixes. (@hosamaly)- Drop support for ruby 2.4. (@bquorning)
- Add
CountAsOne
configuration option toRSpec/ExampleLength
. (@stephannv)- Fix a false positive for
RSpec/RepeatedExampleGroupBody
whenpending
orskip
have argument(s). (@Tietew)RuboCop RSpec v2.2.0
- Fix
HooksBeforeExamples
,LeadingSubject
,LetBeforeExamples
andScatteredLet
autocorrection to take into account inline comments and comments immediately before the moved node. (@Darhazer)- Improve rubocop-rspec performance. (@Darhazer, @bquorning)
- Include
Enabled: true
to prevent a mismatched configuration parameter warning whenRSpec
cops are explicitly enabled in the user configuration. (@pirj)RuboCop RSpec v2.1.0
... (truncated)
- Fix
RSpec/FilePath
false positive for relative file path runs with long namespaces. ([@ahukkanen][])- Update
RSpec/Focus
to have auto-correction. ([@dvandersluis][])
Changelog
Sourced from rubocop-rspec's changelog.
2.3.0 (2021-04-28)
- Allow
RSpec/ContextWording
to accept multi-word prefixes. ([@hosamaly][])- Drop support for ruby 2.4. ([@bquorning][])
- Add
CountAsOne
configuration option toRSpec/ExampleLength
. ([@stephannv][])- Fix a false positive for
RSpec/RepeatedExampleGroupBody
whenpending
orskip
have argument(s). ([@Tietew][])2.2.0 (2021-02-02)
- Fix
HooksBeforeExamples
,LeadingSubject
,LetBeforeExamples
andScatteredLet
autocorrection to take into account inline comments and comments immediately before the moved node. ([@Darhazer][])- Improve rubocop-rspec performance. ([@Darhazer][], [@bquorning][])
- Include
Enabled: true
to prevent a mismatched configuration parameter warning whenRSpec
cops are explicitly enabled in the user configuration. ([@pirj][])2.1.0 (2020-12-17)
- Fix
RSpec/FilePath
false positive for relative file path runs with long namespaces. ([@ahukkanen][])- Update
RSpec/Focus
to have auto-correction. ([@dvandersluis][])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][])1.44.1 (2020-10-20)
- Relax
rubocop-ast
version constraint. ([@PhilCoggins][])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 toRSpec/DescribeClass
. ([@Rafix02][])- Fix false positives in
RSpec/EmptyExampleGroup
. ([@pirj][])- Fix a false positive for
RSpec/EmptyExampleGroup
when example is defined in anif
branch. ([@koic][])1.43.2 (2020-08-25)
... (truncated)
Commits
-
db9b566
Merge pull request #1146 from rubocop/release -
3669b6e
Bump version to 2.3.0 -
d2daba7
Merge pull request #1039 from Tietew/pending_with_arguments -
59632d9
Fix a false positive forRSpec/RepeatedExampleGroupBody
whenpending
or `... -
3538c8f
Merge pull request #1142 from tnir/github-url -
781a046
Merge pull request #1141 from tnir/circleci-badge -
7c25cc6
Update GitHub repo URLs -
b6e1aba
Update CircleCI badge for new repo URL -
098bd42
Merge pull request #1139 from stephannv/master -
368aecb
Add CountAsOne config option to ExampleLength - Additional commits viewable in compare view
Updates rubocop
from 0.76.0 to 1.7.0
Release notes
Sourced from rubocop's releases.
RuboCop 1.7
New features
- #9260: Support auto-correction for
Style/MultilineMethodSignature
. (@koic)- #9282: Make
Style/RedundantFreeze
andStyle/MutableConstant
cops aware of frozen regexp and range literals when using Ruby 3.0. (@koic)- #9223: Add new
Lint/AmbiguousAssignment
cop. (@fatkodima)- #9243: Support auto-correction for
Style/CommentedKeyword
. (@koic)- #9283: Add new
Style/HashExcept
cop. (@koic)- #9231: Add new
Layout/SpaceBeforeBrackets
cop. (@koic)Bug fixes
- #9232: Fix
Style/SymbolProc
registering wrong offense when using a symbol numbered block argument greater than 1, i.e.[[1, 2]].map { _2.succ }
. (@tdeo)- #9274: Fix error in
Metrics/ClassLength
when the class only contains comments. (@dvandersluis)- #9213: Fix a false positive for
Style/RedanduntFreeze
when usingArray#*
. (@koic)- #9279: Add support for endless methods to
Style/MethodCallWithArgsParentheses
. (@dvandersluis)- #9245: Fix
Lint/AmbiguousRegexpLiteral
when given amatch_with_lvasgn
node. (@dvandersluis)- #9276: Add support for endless methods to
Style/SingleLineMethods
. (@dvandersluis)- #9225: Fix Style/LambdaCall ignoring further offenses after opposite style is detected. (@sswander)
- #9234: Fix the error for
Style/KeywordParametersOrder
and make it aware of block keyword parameters. (@koic)- #8938: Fix some ConfigurableEnforcedStyle cops to output
Exclude
file lists in--auto-gen-config
runs. (@h-lame)- #9257: Fix false positive for
Style/SymbolProc
when the block uses a variable from outside the block. (@dvandersluis)- #9251: Fix extracted cop warning when the extension is loaded using
--require
. (@dvandersluis)- #9244: When a cop defined in an extension is explicitly enabled, ensure that it remains enabled. (@dvandersluis)
- #8046: Fix an error for
Layout/HeredocArgumentClosingParenthesis
when there is an argument between a heredoc argument and the closing paretheses. (@koic)- #9261: Fix an incorrect auto-correct for
Style/MultilineWhenThen
when one line for multiple condidate values ofwhen
statement. ([@makicamel][])- #9258: Fix calculation of cop department for nested departments. ([@mvz][])
- #9277: Fix
Layout/EmptyLineBetweenDefs
error with endless method definitions. (@dvandersluis)- #9278: Update
Style/MethodDefParentheses
to ignore endless method definitions since parentheses are always required. (@dvandersluis)Changes
... (truncated)
- #9212: Make
Style/RedundantArgument
aware ofString#chomp
andString#chomp!
. (@koic)- #8482: Allow simple math for
Lint/BinaryOperatorWithIdenticalOperands
cop. (@fatkodima)- #9237: Add
IgnoredPatterns
configuration toLint/UnreachableLoop
to allow for block methods that share a name with anEnumerable
method. (@dvandersluis)- #9206: Allow extensions to disable cop obsoletions. (@dvandersluis)
- #9262: Update
Style/CollectionMethods
to be handle additional arguments and methods that accept a symbol instead of a block. (@dvandersluis)- #9235: Allow
--only
and--except
to be able to properly qualify cops added by require. (@dvandersluis)- #9205: Update
Naming/MemoizedInstanceVariableName
to handle dynamically defined methods. (@dvandersluis)- #9285: Add
AllowPercentLiteralArrayArgument
option forLint/RedundantSplatExpansion
to enable the option by default. (@koic)- #9208: Use Array#bsearch instead of Array#include? to detect hidden files. ([@dark-panda][])
- #9228: Suppress any config warnings for
rubocop -V
. (@dvandersluis)- #9193: Add
IgnoreLiteralBranches
andIgnoreConstantBranches
options toLint/DuplicateBranch
. (@dvandersluis)
Changelog
Sourced from rubocop's changelog.
1.7.0 (2020-12-25)
New features
- #9260: Support auto-correction for
Style/MultilineMethodSignature
. ([@koic][])- #9282: Make
Style/RedundantFreeze
andStyle/MutableConstant
cops aware of frozen regexp and range literals when using Ruby 3.0. ([@koic][])- #9223: Add new
Lint/AmbiguousAssignment
cop. ([@fatkodima][])- #9243: Support auto-correction for
Style/CommentedKeyword
. ([@koic][])- #9283: Add new
Style/HashExcept
cop. ([@koic][])- #9231: Add new
Layout/SpaceBeforeBrackets
cop. ([@koic][])Bug fixes
- #9232: Fix
Style/SymbolProc
registering wrong offense when using a symbol numbered block argument greater than 1, i.e.[[1, 2]].map { _2.succ }
. ([@tdeo][])- #9274: Fix error in
Metrics/ClassLength
when the class only contains comments. ([@dvandersluis][])- #9213: Fix a false positive for
Style/RedanduntFreeze
when usingArray#*
. ([@koic][])- #9279: Add support for endless methods to
Style/MethodCallWithArgsParentheses
. ([@dvandersluis][])- #9245: Fix
Lint/AmbiguousRegexpLiteral
when given amatch_with_lvasgn
node. ([@dvandersluis][])- #9276: Add support for endless methods to
Style/SingleLineMethods
. ([@dvandersluis][])- #9225: Fix Style/LambdaCall ignoring further offenses after opposite style is detected. ([@sswander][])
- #9234: Fix the error for
Style/KeywordParametersOrder
and make it aware of block keyword parameters. ([@koic][])- #8938: Fix some ConfigurableEnforcedStyle cops to output
Exclude
file lists in--auto-gen-config
runs. ([@h-lame][])- #9257: Fix false positive for
Style/SymbolProc
when the block uses a variable from outside the block. ([@dvandersluis][])- #9251: Fix extracted cop warning when the extension is loaded using
--require
. ([@dvandersluis][])- #9244: When a cop defined in an extension is explicitly enabled, ensure that it remains enabled. ([@dvandersluis][])
- #8046: Fix an error for
Layout/HeredocArgumentClosingParenthesis
when there is an argument between a heredoc argument and the closing paretheses. ([@koic][])- #9261: Fix an incorrect auto-correct for
Style/MultilineWhenThen
when one line for multiple condidate values ofwhen
statement. ([@makicamel][])- #9258: Fix calculation of cop department for nested departments. ([@mvz][])
- #9277: Fix
Layout/EmptyLineBetweenDefs
error with endless method definitions. ([@dvandersluis][])- #9278: Update
Style/MethodDefParentheses
to ignore endless method definitions since parentheses are always required. ([@dvandersluis][])Changes
- #9212: Make
Style/RedundantArgument
aware ofString#chomp
andString#chomp!
. ([@koic][])- #8482: Allow simple math for
Lint/BinaryOperatorWithIdenticalOperands
cop. ([@fatkodima][])- #9237: Add
IgnoredPatterns
configuration toLint/UnreachableLoop
to allow for block methods that share a name with anEnumerable
method. ([@dvandersluis][])- #9206: Allow extensions to disable cop obsoletions. ([@dvandersluis][])
- #9262: Update
Style/CollectionMethods
to be handle additional arguments and methods that accept a symbol instead of a block. ([@dvandersluis][])- #9235: Allow
--only
and--except
to be able to properly qualify cops added by require. ([@dvandersluis][])- #9205: Update
Naming/MemoizedInstanceVariableName
to handle dynamically defined methods. ([@dvandersluis][])- #9285: Add
AllowPercentLiteralArrayArgument
option forLint/RedundantSplatExpansion
to enable the option by default. ([@koic][])- #9208: Use Array#bsearch instead of Array#include? to detect hidden files. ([@dark-panda][])
- #9228: Suppress any config warnings for
rubocop -V
. ([@dvandersluis][])- #9193: Add
IgnoreLiteralBranches
andIgnoreConstantBranches
options toLint/DuplicateBranch
. ([@dvandersluis][])1.6.1 (2020-12-10)
Bug fixes
... (truncated)
- #9196: Fix
ConfigObsoletion::ExtractedCop
raising errors for loaded features when bundler is not activated. ([@dvandersluis][])
Commits
-
44270f4
Cut 1.7.0 -
eca0c87
Update Changelog -
7d1dece
AddAllowPercentLiteralArrayArgument
option toLint/RedundantSplatExpansion
-
bee3bb5
Add newStyle/HashExcept
cop -
d160595
Inline and remove inspect_source_file -
f57312a
Use new expect_offense and expect_correction -
8a85e4f
AddInternalAffairs/StyleDetectedApiUse
-
0ebbbe9
Add changelog entry -
21a97b6
[Fix #8938] Fix--auto-gen-config
forStyle/SpaceInsideBlockBraces
-
bd0131c
[Fix #8938] Fix--auto-gen-config
forStyle/SpaceInsideHashLiteralBraces
- Additional commits viewable in compare view