innodb_ruby
innodb_ruby copied to clipboard
Bump rubocop from 1.35.0 to 1.39.0
Bumps rubocop from 1.35.0 to 1.39.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.39
New features
- #11091: Add autocorrect for
Layout/LineContinuationLeadingSpace. (@FnControlOption)Bug fixes
- #11150: Improve
Style/RedundantRegexpEscapeto catch unnecessarily escaped hyphens within a character class. (@si-lens)- #11168: Fix an incorrect autocorrect for
Style/ClassEqualityComparisonwhen using instance variable comparison in module. (@koic)- #11176: Fix a false positive cases for
Lint/DuplicateMethodswhen using duplicate nested method. (@koic)- #11164: Suppress "RuboCop server starting..." message with
--server --format json. (@koic)- #11156: Fix
Style/OperatorMethodCallautocorrection when operators are chained. (@gsamokovarov)- #11139: Fix a false negative for
Style/HashEachMethodswhen using each with a symbol proc argument. (@ydah)- #11161: Fix a false positive for
Style/HashAsLastArrayItemwhen using double splat operator. (@koic)- #11151: Fix a false positive for
Lint/SuppressedException. (@akihikodaki)- #11123: Fix autocorrection bug for
Style/StringLiteralswhen using multiple escape characters. (@si-lens)- #11165: Fix a false positive for
Style/RedundantEachwhen any method is used between methods containingeachin the method name. (@koic)- #11177: Fix a false positive for
Style/ObjectThencop with TargetRubyVersion < 2.6. (@epaew)- #11173: Fix an incorrect autocorrect for
Style/CollectionCompactwhen usingrejectwith block pass arg and no parentheses. (@koic)- #11137: Fix a false positive for
Style/RedundantEachwhen using a symbol proc argument. (@ydah)- #11142: Fix
Style/RedundantEachfor non-chainedeach_calls. (@fatkodima)Changes
- #11130: Check blank percent literal by
Layout/SpaceInsidePercentLiteralDelimiters. (@r7kamura)- #11163: Mark
Style/HashExceptas unsafe. (@r7kamura)- #11171: Support inline visibility definition on checking visibility. (
@r7kamura)- #11158: Add
ifto allowed names list for MethodParameterName. (@okuramasafumi)RuboCop 1.38
New features
- #11110: Add new
Style/RedundantEachcop. (@koic)- #10255: Add simple autocorrect for
Style/GuardClause. (@FnControlOption)- #11126: Have
Lint/RedundantRequireStatementmarksetas a redundant require in Ruby 3.2+. ([@drenmi][])- #11001: Add option to raise cop errors
--raise-cop-error. ([@wildmaples][])- #10987: Opt-in cop compatibility in redundant directives. ([
@tdeo][])Bug fixes
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.39.0 (2022-11-14)
New features
- #11091: Add autocorrect for
Layout/LineContinuationLeadingSpace. ([@FnControlOption][])Bug fixes
- #11150: Improve
Style/RedundantRegexpEscapeto catch unnecessarily escaped hyphens within a character class. ([@si-lens][])- #11168: Fix an incorrect autocorrect for
Style/ClassEqualityComparisonwhen using instance variable comparison in module. ([@koic][])- #11176: Fix a false positive cases for
Lint/DuplicateMethodswhen using duplicate nested method. ([@koic][])- #11164: Suppress "RuboCop server starting..." message with
--server --format json. ([@koic][])- #11156: Fix
Style/OperatorMethodCallautocorrection when operators are chained. ([@gsamokovarov][])- #11139: Fix a false negative for
Style/HashEachMethodswhen using each with a symbol proc argument. ([@ydah][])- #11161: Fix a false positive for
Style/HashAsLastArrayItemwhen using double splat operator. ([@koic][])- #11151: Fix a false positive for
Lint/SuppressedException. ([@akihikodaki][])- #11123: Fix autocorrection bug for
Style/StringLiteralswhen using multiple escape characters. ([@si-lens][])- #11165: Fix a false positive for
Style/RedundantEachwhen any method is used between methods containingeachin the method name. ([@koic][])- #11177: Fix a false positive for
Style/ObjectThencop with TargetRubyVersion < 2.6. ([@epaew][])- #11173: Fix an incorrect autocorrect for
Style/CollectionCompactwhen usingrejectwith block pass arg and no parentheses. ([@koic][])- #11137: Fix a false positive for
Style/RedundantEachwhen using a symbol proc argument. ([@ydah][])- #11142: Fix
Style/RedundantEachfor non-chainedeach_calls. ([@fatkodima][])Changes
- #11130: Check blank percent literal by
Layout/SpaceInsidePercentLiteralDelimiters. ([@r7kamura][])- #11163: Mark
Style/HashExceptas unsafe. ([@r7kamura][])- #11171: Support inline visibility definition on checking visibility. ([
@r7kamura][])- #11158: Add
ifto allowed names list for MethodParameterName. ([@okuramasafumi][])1.38.0 (2022-11-01)
New features
- #11110: Add new
Style/RedundantEachcop. ([@koic][])- #10255: Add simple autocorrect for
Style/GuardClause. ([@FnControlOption][])- #11126: Have
Lint/RedundantRequireStatementmarksetas a redundant require in Ruby 3.2+. ([@drenmi][])- #11001: Add option to raise cop errors
--raise-cop-error. ([@wildmaples][])- #10987: Opt-in cop compatibility in redundant directives. ([
@tdeo][])Bug fixes
- #11125: Fix an error for
Layout/SpaceInsideHashLiteralBraceswhen using method argument that both key and value are hash literals. ([@koic][])- #11132: Fix clobbering error on
Lint/EmptyConditionalBody. ([@r7kamura][])- #11117: Fix a false positive for
Style/BlockDelimiterswhen specifyingEnforcedStyle: semanticand using a single line block with {} followed by a safe navigation method call. ([@koic][])- #11120: Fix an incorrect autocorrect for
Lint/RedundantRequireStatementwhen using redundantrequirewith modifier form. ([@koic][])Changes
- #11131: Check newline in empty reference bracket on
Layout/SpaceInsideReferenceBrackets. ([@r7kamura][])
... (truncated)
Commits
6bdf42bCut 1.39a0ecf1bUpdate Changelogd6345acMerge pull request #11177 from epaew/bugfix/style/object_thenb13c21aFix a false positive forStyle/ObjectThencop with TargetRubyVersion < 2.63f3c829Fix a false positive forLint/DuplicateMethods31720ce[Fix #11150] Improve redundant_regex_escape.rb57e7c45Merge pull request #11144 from si-lens/fix_auto_correction_bug_for_Style/Stri...45da59a[Fix #11123 ] Fix auto correction bug for Style/StringLiterals7b265aa[Fix #11173] Fix an incorrect autocorrect forStyle/CollectionCompactdfb1ca5Add autocorrect forLayout/LineContinuationLeadingSpace- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)