activerecord-safer_migrations
activerecord-safer_migrations copied to clipboard
Update rubocop requirement from ~> 0.92.0 to ~> 1.18.4
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
RuboCop 1.18.4
New features
Bug fixes
- #9938: Fix an incorrect auto-correct for
Layout/LineLengthwhen a heredoc is used as the first element of an array. (@koic)- #9940: Fix an incorrect auto-correct for
Style/HashTransformValueswhen value is a hash literal for_.to_h{...}. (@koic)- #9752: Improve error message for top level department used in configuration. (
@jonas054)- #9933: Fix GitHub Actions formatter when running in non-default directory. (
@ojab)- #9922: Make better auto-corrections in
Style/DoubleCopDisableDirective. (@jonas054)- #9848: Fix handling of comments in
Layout/ClassStructureauto-correct. (@jonas054)- #9926: Fix an incorrect auto-correct for
Style/SingleLineMethodswhen method body is enclosed in parentheses. (@koic)- #9928: Fix an infinite loop error and a false auto-correction behavior for
Layout/EndAlignmentwhen using operator methods andEnforcedStyleAlignWith: variable. (@koic)- #9434: Fix false positive for setter calls in
Layout/FirstArgumentIndentation. (@jonas054)
Changelog
Sourced from rubocop's changelog.
1.18.4 (2021-07-23)
New features
Bug fixes
- #9938: Fix an incorrect auto-correct for
Layout/LineLengthwhen a heredoc is used as the first element of an array. ([@koic][])- #9940: Fix an incorrect auto-correct for
Style/HashTransformValueswhen value is a hash literal for_.to_h{...}. ([@koic][])- #9752: Improve error message for top level department used in configuration. ([
@jonas054][])- #9933: Fix GitHub Actions formatter when running in non-default directory. ([
@ojab][])- #9922: Make better auto-corrections in
Style/DoubleCopDisableDirective. ([@jonas054][])- #9848: Fix handling of comments in
Layout/ClassStructureauto-correct. ([@jonas054][])- #9926: Fix an incorrect auto-correct for
Style/SingleLineMethodswhen method body is enclosed in parentheses. ([@koic][])- #9928: Fix an infinite loop error and a false auto-correction behavior for
Layout/EndAlignmentwhen using operator methods andEnforcedStyleAlignWith: variable. ([@koic][])- #9434: Fix false positive for setter calls in
Layout/FirstArgumentIndentation. ([@jonas054][])1.18.3 (2021-07-06)
Bug fixes
- #9891: Fix
--auto-gen-configbug forStyle/HashSyntax. ([@jonas054][])- #9905: Fix false positive for single line concatenation in
Layout/LineEndStringConcatenationIndentation. ([@jonas054][])- #9907: Fix an incorrect auto-correct for
Lint/UselessTimeswhen using block argument for1.times. ([@koic][])- #9869: Fix reference to file in configuration override warning. ([
@jonas054][])- #9902: Fix an incorrect auto-correct for
Style/BlockDelimiterswhen there is a comment after the closing brace. ([@koic][])- #8469: Add inspection of
class <<toLayout/SpaceAroundOperators. ([@jonas054][])- #9909: This PR fixes an incorrect auto-correct for
Style/SingleLineMethodswhen usingreturn,break, ornextfor one line method body in Ruby 3.0. ([@koic][])- #9914: Fix an error for
Layout/HashAlignmentwhen using aligned hash argument forproc.(). ([@koic][])1.18.2 (2021-07-02)
Bug fixes
- #9894: Handle multiline string literals in
Layout/LineEndStringConcatenationIndentation. ([@jonas054][])- #9890: Make colon after comment annotation configurable. ([
@gregfletch][])1.18.1 (2021-06-30)
Bug fixes
- #9897: Fix an incorrect auto-correct for
Layout/HashAlignmentwhen settingEnforcedStyle: with_fixed_indentationofLayout/ArgumentAlignmentand using misaligned keyword arguments. ([@koic][])Changes
- #9895: Set
CheckStrings: falseand RemovemasterfromFlaggedTermsforNaming/InclusiveLanguage. ([@koic][])1.18.0 (2021-06-29)
... (truncated)
Commits
d6fb135Cut 1.18.46da5ca1Update Changelog4874caa[Fix #9940] Fix an incorrect auto-correct forStyle/HashTransformValues36029ffSupport Ruby 2.7's pattern matching forLint/DuplicateBranchdfb9c26[Fix #9752] Improve error message for top level department0886479Fix an incorrect auto-correct forLayout/LineLength3907e07Merge pull request #9932 from koic/fix_false_autocorrection_for_layout_end_al...f2c5f0eUseoffenseinstead ofoffence82d7122Merge pull request #9937 from jonas054/9922_fix_DoubleCopDisableDirective49b3999[Fix #9922] Replace extra disable directives with comma- 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)@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)