DenisZackharov / teacherss

Web application for help manage staff in school or university
0 stars 0 forks source link

Bump rubocop from 1.37.1 to 1.41.1 #98

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rubocop from 1.37.1 to 1.41.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.41.1

Bug fixes

  • #11293: Fix a false negative for Style/Documentation when using macro. (@​koic)
  • #11313: Fix a false positive for Naming/BlockForwarding when the block argument is reassigned. (@​fatkodima)
  • #11014: Fix a false positive for Style/Aliascop when alias in a method def. (@​ydah)
  • #11309: Fix a false positive for Style/RedundantStringEscape when using a redundant escaped string interpolation \#\{foo}. (@​koic)
  • #11307: Fix an error for Style/GuardClause when using lvar as an argument of raise in else branch. (@​ydah)
  • #11308: Fix disabling departments via comment. (@​fatkodima)

Changes

RuboCop 1.41

New features

Bug fixes

  • #11255: Fix an error for Style/RequireOrder when require with no arguments is put between require. (@​ydah)
  • #11273: Fix a false positive for Lint/DuplicateMethods when there are same alias_method name outside rescue or ensure scopes. (@​koic)
  • #11267: Fix an error for Style/RequireOrder when modifier conditional is used between require. (@​ydah)
  • #11254: Fix an error for Style/RequireOrder when require is a method argument. (@​koic)
  • #11266: Fix a false positive for Style/RedundantConstantBase when enabling Lint/ConstantResolution. (@​koic)
  • #11296: Fix an error for Lint/NonAtomicFileOperation when use file existence checks line break unless by postfix before creating file. (@​koic)
  • #11284: Fix an incorrect autocorrect for Style/WordArray when assigning %w() array. (@​koic)
  • #11299: Fix base_dir in TargetFinder#find_files(). (@​dukaev)
  • #11250: Fix an error for Style/GuardClause when a method call whose last argument is not a string is in the condition body. (@​ydah)
  • #11298: Fix Lint/SafeNavigationChain to correctly handle [] operator followed by save navigation and method chain. (@​fatkodima)
  • #11256: Fix an incorrect autocorrect for Style/HashSyntax when without parentheses call expr follows after multiple keyword arguments method call. (@​koic)
  • #11289: Correctly detect Rails version when using only parts of the framework, instead of the "rails" gem. ([@​bdewater][])
  • #11262: Fix an error for Style/IfUnlessModifier when the body is a method call with hash splat. (@​fatkodima)
  • #11281: Fix NoMethodError for Style/Documentation when a class nested under non-constant values. ([@​arika][])

Changes

  • #11306: Make Style/IfWithSemicolon aware of one line without else body. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.41.1 (2022-12-22)

Bug fixes

  • #11293: Fix a false negative for Style/Documentation when using macro. ([@​koic][])
  • #11313: Fix a false positive for Naming/BlockForwarding when the block argument is reassigned. ([@​fatkodima][])
  • #11014: Fix a false positive for Style/Aliascop when alias in a method def. ([@​ydah][])
  • #11309: Fix a false positive for Style/RedundantStringEscape when using a redundant escaped string interpolation \#\{foo}. ([@​koic][])
  • #11307: Fix an error for Style/GuardClause when using lvar as an argument of raise in else branch. ([@​ydah][])
  • #11308: Fix disabling departments via comment. ([@​fatkodima][])

Changes

1.41.0 (2022-12-20)

New features

  • #11305: Add new Style/RedundantDoubleSplatHashBraces cop. ([@​koic][])
  • #10812: New AllowMultilineFinalElement option for all LineBreaks cops. ([@​Korri][])
  • #11277: Add new Style/ConcatArrayLiterals cop. ([@​koic][])

Bug fixes

  • #11255: Fix an error for Style/RequireOrder when require with no arguments is put between require. ([@​ydah][])
  • #11273: Fix a false positive for Lint/DuplicateMethods when there are same alias_method name outside rescue or ensure scopes. ([@​koic][])
  • #11267: Fix an error for Style/RequireOrder when modifier conditional is used between require. ([@​ydah][])
  • #11254: Fix an error for Style/RequireOrder when require is a method argument. ([@​koic][])
  • #11266: Fix a false positive for Style/RedundantConstantBase when enabling Lint/ConstantResolution. ([@​koic][])
  • #11296: Fix an error for Lint/NonAtomicFileOperation when use file existence checks line break unless by postfix before creating file. ([@​koic][])
  • #11284: Fix an incorrect autocorrect for Style/WordArray when assigning %w() array. ([@​koic][])
  • #11299: Fix base_dir in TargetFinder#find_files(). ([@​dukaev][])
  • #11250: Fix an error for Style/GuardClause when a method call whose last argument is not a string is in the condition body. ([@​ydah][])
  • #11298: Fix Lint/SafeNavigationChain to correctly handle [] operator followed by save navigation and method chain. ([@​fatkodima][])
  • #11256: Fix an incorrect autocorrect for Style/HashSyntax when without parentheses call expr follows after multiple keyword arguments method call. ([@​koic][])
  • #11289: Correctly detect Rails version when using only parts of the framework, instead of the "rails" gem. ([@​bdewater][])
  • #11262: Fix an error for Style/IfUnlessModifier when the body is a method call with hash splat. ([@​fatkodima][])
  • #11281: Fix NoMethodError for Style/Documentation when a class nested under non-constant values. ([@​arika][])

Changes

  • #11306: Make Style/IfWithSemicolon aware of one line without else body. ([@​koic][])

1.40.0 (2022-12-08)

New features

... (truncated)

Commits
  • 4fd14ff Cut 1.41.1
  • 1fc41b0 Update Changelog
  • 46ffe4f Fix a false positive for Style/Aliascop when alias in a method def
  • a5f4a9a Add support @see tags in our document
  • 0c5b1ec Fix disabling departments via comment
  • dbffbf1 Merge pull request #11316 from fatkodima/block_forwarding-reassignment
  • 02660c4 Fix a false positive for Naming/BlockForwarding when the block argument is ...
  • 8bb0c47 [Fix #11312] Mark Style/ConcatArrayLiterals as unsafe
  • 91fe2cf [Fix #11309] Fix a false positive for Style/RedundantStringEscape
  • cc0a9f5 Switch back the docs version
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.