artichoke / strftime-ruby

⏳ Ruby `Time#strftime` parser and formatter
https://crates.io/crates/strftime-ruby
MIT License
12 stars 0 forks source link

Bump rubocop from 1.47.0 to 1.48.1 #89

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rubocop from 1.47.0 to 1.48.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.48.1

Bug fixes

  • #11673: Fix incorrect Style/HashSyntax autocorrection for assignment methods. (@​gsamokovarov)
  • #11682: Fix a false positive for Lint/UselessRescue when using Thread#raise in rescue clause. (@​koic)
  • #11672: Fix an error for Layout/BlockEndNewline when multiline block } is not on its own line and it is used as multiple arguments. (@​koic)
  • #11675: Style/AccessorGrouping: Fix sibling detection for methods with type sigs. (@​issyl0)
  • #11658: Fix Lint/Debugger should not allow pry. (@​ThHareau)
  • #11689: Fix Lint/Syntax behavior when Enabled: false of Lint department. (@​koic)
  • #11677: Fix the severity for Lint/Syntax. (@​koic)
  • #11691: Fix an error for Gemspec/DependencyVersion when method called on gem name argument for add_dependency. (@​koic)

RuboCop 1.48

New features

Bug fixes

  • #11654: Fix a false positive for Lint/MissingSuper when no super call and when defining some method. (@​koic)
  • #11661: Fix an error for Style/Documentation when namespace is a variable. (@​koic)
  • #11647: Fix an error for Style/IfWithBooleanLiteralBranches when using () as a condition. (@​koic)
  • #11646: Fix an error for Style/NegatedIfElseCondition when using () as a condition. (@​koic)
  • #11659: Fix an incorrect autocorrect for Lint/OrAssignmentToConstant when using or-assignment to a constant in method definition. (@​koic)
  • #11663: Fix an incorrect autocorrect for Style/BlockDelimiters when multi-line blocks to { and } with arithmetic operation method chain. (@​koic)
  • #11638: Fix a false positive for Lint/UselessAccessModifier when using same access modifier inside and outside the included block. (@​ydah)
  • #11164: Suppress server mode message with -f json. (@​jasondoc3)
  • #11643: Fix incorrect shorthand autocorrections in calls inside parentheses. (@​gsamokovarov)
  • #11650: Style/AccessorGrouping: Fix detection of Sorbet sig {} blocks. (@​issyl0)
  • #11657: Use cop name to check if cop inside registry is enabled. Previously, it was able to cause large memory usage during linting. (@​fatkodima)

Changes

  • #11482: Avoid comment deletion by Style/IfUnlessModifier when the modifier form expression has long comment. (@​nobuyo)
  • #11649: Support MinBranchesCount config for Style/CaseLikeIf cop. (@​fatkodima)
Changelog

Sourced from rubocop's changelog.

1.48.1 (2023-03-13)

Bug fixes

  • #11673: Fix incorrect Style/HashSyntax autocorrection for assignment methods. ([@​gsamokovarov][])
  • #11682: Fix a false positive for Lint/UselessRescue when using Thread#raise in rescue clause. ([@​koic][])
  • #11672: Fix an error for Layout/BlockEndNewline when multiline block } is not on its own line and it is used as multiple arguments. ([@​koic][])
  • #11675: Style/AccessorGrouping: Fix sibling detection for methods with type sigs. ([@​issyl0][])
  • #11658: Fix Lint/Debugger should not allow pry. ([@​ThHareau][])
  • #11689: Fix Lint/Syntax behavior when Enabled: false of Lint department. ([@​koic][])
  • #11677: Fix the severity for Lint/Syntax. ([@​koic][])
  • #11691: Fix an error for Gemspec/DependencyVersion when method called on gem name argument for add_dependency. ([@​koic][])

1.48.0 (2023-03-06)

New features

Bug fixes

  • #11654: Fix a false positive for Lint/MissingSuper when no super call and when defining some method. ([@​koic][])
  • #11661: Fix an error for Style/Documentation when namespace is a variable. ([@​koic][])
  • #11647: Fix an error for Style/IfWithBooleanLiteralBranches when using () as a condition. ([@​koic][])
  • #11646: Fix an error for Style/NegatedIfElseCondition when using () as a condition. ([@​koic][])
  • #11659: Fix an incorrect autocorrect for Lint/OrAssignmentToConstant when using or-assignment to a constant in method definition. ([@​koic][])
  • #11663: Fix an incorrect autocorrect for Style/BlockDelimiters when multi-line blocks to { and } with arithmetic operation method chain. ([@​koic][])
  • #11638: Fix a false positive for Lint/UselessAccessModifier when using same access modifier inside and outside the included block. ([@​ydah][])
  • #11164: Suppress server mode message with -f json. ([@​jasondoc3][])
  • #11643: Fix incorrect shorthand autocorrections in calls inside parentheses. ([@​gsamokovarov][])
  • #11650: Style/AccessorGrouping: Fix detection of Sorbet sig {} blocks. ([@​issyl0][])
  • #11657: Use cop name to check if cop inside registry is enabled. Previously, it was able to cause large memory usage during linting. ([@​fatkodima][])

Changes

  • #11482: Avoid comment deletion by Style/IfUnlessModifier when the modifier form expression has long comment. ([@​nobuyo][])
  • #11649: Support MinBranchesCount config for Style/CaseLikeIf cop. ([@​fatkodima][])
Commits
  • 675114c Cut 1.48.1
  • a0d896a Update Changelog
  • ed786ab [Fix #11658] Register Object#pry as an offense (#11669)
  • 96911a9 [Doc] Tweak the doc for DisabledByDefault config
  • e79974b Merge pull request #11691 from koic/fix_an_error_for_gemspec_dependency_version
  • a3b8a8d Fix an error for Gemspec/DependencyVersion
  • f035637 Fix Lint/Syntax behavior when Enabled: false of Lint department
  • d11e25f Add Ruby 3.3 context to rspec/support.rb
  • 0fc26d8 [Fix #11677] Fix the severity for Lint/Syntax
  • 6c3bbff [Fix #11682] Fix a false positive for Lint/UselessRescue
  • 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)