github_records_archiver
                                
                                 github_records_archiver copied to clipboard
                                
                                    github_records_archiver copied to clipboard
                            
                            
                            
                        Update rubocop requirement from ~> 0.50 to ~> 1.12
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop 1.12
New features
- #9615: Add new
Style/StringCharscop. (@koic)- #9629: Add
AllowParenthesesInStringInterpolationconfiguration toStyle/MethodCallWithArgsParenthesesto allow parenthesized calls in string interpolation. (@gsamokovarov)- #9219: Allow excluding some constants from Style/Documentation. (
@fsateler)- Add
AllowNiloption forLint/SuppressedExceptionto allow/disallowrescue nil. (@corroded)Bug fixes
- #9560: Fix an error for
Lint/ClassMethodsDefinitionswhen defining class methods withclass << selfwith comment only body. (@koic)- #9551: Fix a false positive for
Style/UnlessLogicalOperatorswhen using||operator and invoked method name includes "or" in the conditional branch. (@koic)- #9620: Allow parentheses in operator methods calls for
Style/MethodCallWithArgsParenthesesEnforcedStyle: omit_parentheses. (@gsamokovarov)- #9622: Fixed
Style/BisectedAttrAccessorautocorrection to handle multiple bisected attrs in the same macro. (@dvandersluis)- #9606: Fix an error for
Layout/IndentationConsistencywhen using access modifier at the top level. (@koic)- #9619: Fix infinite loop between
Layout/IndentationWidthandLayout/RescueEnsureAlignmentautocorrection. (@dvandersluis)- #9633: Fix an incorrect auto-correct for
Lint/NumberConversionwhento_imethod in symbol form. (@koic)- #9616: Fix an incorrect auto-correct for
Style/EvalWithLocationwhen using#instance_evalwith a string argument in parentheses. (@koic)- #9429: Fix
Style/NegatedIfElseConditionautocorrect to keep comments in correct branch. (@tejasbubane)- #9631: Fix an incorrect auto-correct for
Style/RedundantReturnwhen usingreturnwith splat argument. (@koic)- #9627: Fix an incorrect auto-correct for
Style/StructInheritancewhen extending instance of Struct withoutdo...endand class body is empty. (@koic)- #5953: Fix a false positive for
Style/AccessModifierDeclarationswhen usingmodule_functionwith symbol. (@koic)- #9593: Fix an error when processing a directory is named
{}. (@koic)- #9599: Fix an error for
Style/CaseLikeIfwhen usinginclude?without a receiver. (@koic)- #9582: Fix incorrect auto-correct for
Style/ClassEqualityComparisonwhen comparingModule#namefor equality. (@koic)- #9603: Fix a false positive for
Style/SoleNestedConditionalwhen using nested modifier on value assigned in condition. (@koic)- #9598: Fix RuboCop::MagicComment#valid_shareable_constant_value?. (
@kachick)- #9625: Allow parentheses in yield arguments with
Style/MethodCallWithArgsParenthesesEnforcedStyle: omit_parenthesesto fix invalid Ruby auto-correction. (@gsamokovarov)- #9558: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. (
@dvandersluis)- #9613: Fix a false positive for
Style/RedundantSelfwhen a self receiver on an lvalue of mlhs arguments. (@koic)- #9586: Update
Naming/RescuedExceptionsVariableNameto not register on inner rescues when nested. (@dvandersluis)Changes
- #9487: Mark Naming/MemoizedInstanceVariableName as unsafe. (
@marcandre)- #9601: Make
Style/RedundantBeginaware of redundantbegin/endblocks around memoization. (@koic)- #9617: Disable suggested extensions when using the
--stdinoption. (@dvandersluis)
Changelog
Sourced from rubocop's changelog.
1.12.0 (2021-03-24)
New features
- #9615: Add new
Style/StringCharscop. ([@koic][])- #9629: Add
AllowParenthesesInStringInterpolationconfiguration toStyle/MethodCallWithArgsParenthesesto allow parenthesized calls in string interpolation. ([@gsamokovarov][])- #9219: Allow excluding some constants from Style/Documentation. ([
@fsateler][])- Add
AllowNiloption forLint/SuppressedExceptionto allow/disallowrescue nil. ([@corroded][])Bug fixes
- #9560: Fix an error for
Lint/ClassMethodsDefinitionswhen defining class methods withclass << selfwith comment only body. ([@koic][])- #9551: Fix a false positive for
Style/UnlessLogicalOperatorswhen using||operator and invoked method name includes "or" in the conditional branch. ([@koic][])- #9620: Allow parentheses in operator methods calls for
Style/MethodCallWithArgsParenthesesEnforcedStyle: omit_parentheses. ([@gsamokovarov][])- #9622: Fixed
Style/BisectedAttrAccessorautocorrection to handle multiple bisected attrs in the same macro. ([@dvandersluis][])- #9606: Fix an error for
Layout/IndentationConsistencywhen using access modifier at the top level. ([@koic][])- #9619: Fix infinite loop between
Layout/IndentationWidthandLayout/RescueEnsureAlignmentautocorrection. ([@dvandersluis][])- #9633: Fix an incorrect auto-correct for
Lint/NumberConversionwhento_imethod in symbol form. ([@koic][])- #9616: Fix an incorrect auto-correct for
Style/EvalWithLocationwhen using#instance_evalwith a string argument in parentheses. ([@koic][])- #9429: Fix
Style/NegatedIfElseConditionautocorrect to keep comments in correct branch. ([@tejasbubane][])- #9631: Fix an incorrect auto-correct for
Style/RedundantReturnwhen usingreturnwith splat argument. ([@koic][])- #9627: Fix an incorrect auto-correct for
Style/StructInheritancewhen extending instance of Struct withoutdo...endand class body is empty. ([@koic][])- #5953: Fix a false positive for
Style/AccessModifierDeclarationswhen usingmodule_functionwith symbol. ([@koic][])- #9593: Fix an error when processing a directory is named
{}. ([@koic][])- #9599: Fix an error for
Style/CaseLikeIfwhen usinginclude?without a receiver. ([@koic][])- #9582: Fix incorrect auto-correct for
Style/ClassEqualityComparisonwhen comparingModule#namefor equality. ([@koic][])- #9603: Fix a false positive for
Style/SoleNestedConditionalwhen using nested modifier on value assigned in condition. ([@koic][])- #9598: Fix RuboCop::MagicComment#valid_shareable_constant_value?. ([
@kachick][])- #9625: Allow parentheses in yield arguments with
Style/MethodCallWithArgsParenthesesEnforcedStyle: omit_parenthesesto fix invalid Ruby auto-correction. ([@gsamokovarov][])- #9558: Fix inconsistency when dealing with URIs that are wrapped in single quotes vs double quotes. ([
@dvandersluis][])- #9613: Fix a false positive for
Style/RedundantSelfwhen a self receiver on an lvalue of mlhs arguments. ([@koic][])- #9586: Update
Naming/RescuedExceptionsVariableNameto not register on inner rescues when nested. ([@dvandersluis][])Changes
- #9487: Mark Naming/MemoizedInstanceVariableName as unsafe. ([
@marcandre][])- #9601: Make
Style/RedundantBeginaware of redundantbegin/endblocks around memoization. ([@koic][])- #9617: Disable suggested extensions when using the
--stdinoption. ([@dvandersluis][])1.11.0 (2021-03-01)
New features
- #5388: Add new
Style/UnlessLogicalOperatorscop. ([@caalberts][])- #9525: Add
AllowMethodsWithArgumentsoption toStyle/SymbolProc. ([@koic][])Bug fixes
- #9520: Fix an incorrect auto-correct for
Style/MultipleComparisonwhen comparing a variable with multiple items inifandelsifconditions. ([@koic][])- #9548: Fix a false positive for
Style/TrailingBodyOnMethodDefinitionwhen endless method definition body is after newline in opening parenthesis. ([@koic][])
... (truncated)
Commits
- fa02e85Cut 1.12
- 50650ddUpdate Changelog
- 56d645d[Fix #9622] Fixed- Style/BisectedAttrAccessorautocorrection to handle multi...
- 211c017Merge pull request #9632 from koic/fix_a_false_positive_for_style_access_modi...
- 107624aMerge pull request #9633 from koic/fix_incorrect_autocorrect_for_lint_number_...
- ee40857Fix an incorrect auto-correct for- Lint/NumberConversion
- c5913b3[Fix #5953] Fix a false positive for- Style/AccessModifierDeclarations
- 98ff684Refactor CommentConfig
- 5125284[Fix #9621] Add- consistentstyle to- Lint/SymbolConversionto require all ...
- 8535e32Fix an incorrect auto-correct for- Style/RedundantReturn
- 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.
If all status checks pass Dependabot will automatically merge this pull request.
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)
- @dependabot use these labelswill set the current labels as the default for future PRs for this repo and language
- @dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language
- @dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language
- @dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
- @dependabot badge mewill 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
One of your CI runs failed on this pull request, so Dependabot won't merge it.
Dependabot will still automatically merge this pull request if you amend it and your tests pass.
This pull request will no longer be automatically closed when a new version is found as this pull request was created by Dependabot Preview and this repo is using a version: 2 config file. You can close this pull request and let Dependabot re-create it the next time it checks for updates.