Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the rubocop-gems group with 3 updates #807

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2023

Bumps the rubocop-gems group with 3 updates: rubocop, rubocop-rails and rubocop-rspec.

Updates rubocop from 1.56.2 to 1.57.2

Release notes

Sourced from rubocop's releases.

RuboCop 1.57.2

Bug fixes

  • #12274: Fix a false positive for Lint/Void when each's receiver is an object of Enumerator to which filter has been applied. (@​koic)
  • #12291: Fix a false positive for Metrics/ClassLength when a class with a singleton class definition. (@​koic)
  • #12293: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge and method chain. (@​koic)
  • #12298: Fix a false positive for Style/RedundantParentheses when using a parenthesized hash literal as the first argument in a method call without parentheses. (@​koic)
  • #12283: Fix an error for Style/SingleLineDoEndBlock when using single line do...end with no body. (@​koic)
  • #12312: Fix an incorrect autocorrect for Style/HashSyntax when braced hash key and value are the same and it is used in if...else. (@​koic)
  • #12307: Fix an infinite loop error for Layout/EndAlignment when EnforcedStyleAlignWith: variable and using a conditional statement in a method argument on the same line and end with method call is not aligned. (@​koic)
  • #11652: Make --auto-gen-config generate inherit_from correctly inside ERB if. (@​jonas054)
  • #12310: Drop base64 gem from runtime dependency. (@​koic)
  • #12300: Fix an error for Style/IdenticalConditionalBranches when if...else with identical leading lines and using index assign. (@​koic)
  • #12286: Fix false positives for Style/RedundantDoubleSplatHashBraces when using double splat with a hash literal enclosed in parenthesized ternary operator. (@​koic)
  • #12279: Fix false positives for Lint/EmptyConditionalBody when missing 2nd if body with a comment. (@​koic)
  • #12275: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat within block argument containing a hash literal in an array literal. (@​koic)
  • #12284: Fix false positives for Style/SingleArgumentDig when using some anonymous argument syntax. (@​koic)
  • #12301: Make Style/RedundantFilterChain aware of safe navigation operator. (@​koic)

RuboCop 1.57.1

Bug fixes

  • #12271: Fix a false positive for Lint/RedundantSafeNavigation when using snake case constant receiver. (@​koic)
  • #12265: Fix an error for Layout/MultilineMethodCallIndentation when usingarithmetic operation with block inside a grouped expression. (@​koic)
  • #12177: Fix an incorrect autocorrect for Style/RedundantException. (@​ydah)
  • #12261: Fix an infinite loop for Layout/MultilineMethodCallIndentation when multiline method chain with a block argument and method chain. (@​ydah)
  • #12263: Fix false positives for Style/RedundantDoubleSplatHashBraces when method call for no hash braced double splat receiver. (@​koic)
  • #12262: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge method call twice. (@​koic)

RuboCop 1.57

New features

  • #12227: Add new Style/SingleLineDoEndBlock cop. (@​koic)
  • #12246: Make Lint/RedundantSafeNavigation aware of constant receiver. (@​koic)
  • #12257: Make Style/RedundantDoubleSplatHashBraces aware of merge methods. (@​koic)

Bug fixes

  • #12244: Fix a false negative for Lint/Debugger when using debugger method inside block. (@​koic)
  • #12231: Fix a false negative for Metrics/ModuleLength when defining a singleton class in a module. (@​koic)
  • #12249: Fix a false positive Style/IdenticalConditionalBranches when if..else with identical leading lines and assign to condition value. (@​koic)
  • #12253: Fix Lint/LiteralInInterpolation to accept an empty string literal interpolated in words literal. ([@​knu][])
  • #12198: Fix an error for flip-flop with beginless or endless ranges. (@​koic)
  • #12259: Fix an error for Lint/MixedCaseRange when using nested character class in regexp. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.57.2 (2023-10-26)

Bug fixes

  • #12274: Fix a false positive for Lint/Void when each's receiver is an object of Enumerator to which filter has been applied. ([@​koic][])
  • #12291: Fix a false positive for Metrics/ClassLength when a class with a singleton class definition. ([@​koic][])
  • #12293: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge and method chain. ([@​koic][])
  • #12298: Fix a false positive for Style/RedundantParentheses when using a parenthesized hash literal as the first argument in a method call without parentheses. ([@​koic][])
  • #12283: Fix an error for Style/SingleLineDoEndBlock when using single line do...end with no body. ([@​koic][])
  • #12312: Fix an incorrect autocorrect for Style/HashSyntax when braced hash key and value are the same and it is used in if...else. ([@​koic][])
  • #12307: Fix an infinite loop error for Layout/EndAlignment when EnforcedStyleAlignWith: variable and using a conditional statement in a method argument on the same line and end with method call is not aligned. ([@​koic][])
  • #11652: Make --auto-gen-config generate inherit_from correctly inside ERB if. ([@​jonas054][])
  • #12310: Drop base64 gem from runtime dependency. ([@​koic][])
  • #12300: Fix an error for Style/IdenticalConditionalBranches when if...else with identical leading lines and using index assign. ([@​koic][])
  • #12286: Fix false positives for Style/RedundantDoubleSplatHashBraces when using double splat with a hash literal enclosed in parenthesized ternary operator. ([@​koic][])
  • #12279: Fix false positives for Lint/EmptyConditionalBody when missing 2nd if body with a comment. ([@​koic][])
  • #12275: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat within block argument containing a hash literal in an array literal. ([@​koic][])
  • #12284: Fix false positives for Style/SingleArgumentDig when using some anonymous argument syntax. ([@​koic][])
  • #12301: Make Style/RedundantFilterChain aware of safe navigation operator. ([@​koic][])

1.57.1 (2023-10-13)

Bug fixes

  • #12271: Fix a false positive for Lint/RedundantSafeNavigation when using snake case constant receiver. ([@​koic][])
  • #12265: Fix an error for Layout/MultilineMethodCallIndentation when usingarithmetic operation with block inside a grouped expression. ([@​koic][])
  • #12177: Fix an incorrect autocorrect for Style/RedundantException. ([@​ydah][])
  • #12261: Fix an infinite loop for Layout/MultilineMethodCallIndentation when multiline method chain with a block argument and method chain. ([@​ydah][])
  • #12263: Fix false positives for Style/RedundantDoubleSplatHashBraces when method call for no hash braced double splat receiver. ([@​koic][])
  • #12262: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge method call twice. ([@​koic][])

1.57.0 (2023-10-11)

New features

  • #12227: Add new Style/SingleLineDoEndBlock cop. ([@​koic][])
  • #12246: Make Lint/RedundantSafeNavigation aware of constant receiver. ([@​koic][])
  • #12257: Make Style/RedundantDoubleSplatHashBraces aware of merge methods. ([@​koic][])

Bug fixes

  • #12244: Fix a false negative for Lint/Debugger when using debugger method inside block. ([@​koic][])
  • #12231: Fix a false negative for Metrics/ModuleLength when defining a singleton class in a module. ([@​koic][])
  • #12249: Fix a false positive Style/IdenticalConditionalBranches when if..else with identical leading lines and assign to condition value. ([@​koic][])
  • #12253: Fix Lint/LiteralInInterpolation to accept an empty string literal interpolated in words literal. ([@​knu][])
  • #12198: Fix an error for flip-flop with beginless or endless ranges. ([@​koic][])
  • #12259: Fix an error for Lint/MixedCaseRange when using nested character class in regexp. ([@​koic][])
  • #12237: Fix an error for Style/NestedTernaryOperator when a ternary operator has a nested ternary operator within an if. ([@​koic][])
  • #12228: Fix false negatives for Style/MultilineBlockChain when using multiline block chain with safe navigation operator. ([@​koic][])
  • #12247: Fix false negatives for Style/RedundantParentheses when using logical or comparison expressions with redundant parentheses. ([@​koic][])

... (truncated)

Commits

Updates rubocop-rails from 2.20.2 to 2.22.1

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.22.1

Bug fixes

  • #1168: Fix a false positive for Rails/DuplicateAssociation when using duplicate belongs_to associations of same class without other arguments. (@​koic)

RuboCop Rails 2.22.0

New features

  • #906: Add Rails/EnvLocal cop. (@​sambostock)
  • #1128: Make Rails/DuplicateAssociation aware of duplicate class_name. (@​koic)
  • #1157: Support some Rails 7.1's new querying methods for Rails/RedundantActiveRecordAllMethod. (@​koic)
  • #1147: Support the Trilogy adapter for MySQL. (@​koic)

Bug fixes

  • #952: Fix a false positive for Rails/NotNullColumn when using null: false for MySQL's TEXT type. (@​koic)
  • #1041: Fix a false positive for Rails/Output when output method is called with block argument. (@​koic)
  • #1143: Fix an error for Rails/RedundantActiveRecordAllMethod when using RuboCop 1.51 or lower. (@​koic)
  • #1105: Fix false positives for Rails/RedundantPresenceValidationOnBelongsTo when using validates with :if or :unless options. (@​koic)
  • #1158: Rails/HasManyOrHasOneDependent does not add offence when has_many or has_one is called on an explicit receiver. (@​samrjenkins)
  • #1160: Fix Rails/SaveBang to ignore parenthesis. (@​fatkodima)

Changes

  • #1152: Add more dangerous column names to Rails/DangerousColumnNames. (@​r7kamura)
  • #1039: Deprecate Rails/ActionFilter cop; it will be disabled by default. (@​koic)
  • #893: Support local as an environment for Rails/UnknownEnv from Rails 7.1 onward. (@​ghiculescu)

RuboCop Rails 2.21.2

Bug fixes

  • #1126: Fix a false positive for Rails/RedundantActiveRecordAllMethod when using some Enumerable's methods with block argument. (@​koic)
  • #1121: Fix an error for Rails/SelectMap when using select(:column_name).map(&:column_name) without receiver model. (@​koic)
  • #1119: Fix an incorrect autocorrect for Rails/RedundantActiveRecordAllMethod when all has parentheses. (@​masato-bkn)
  • #1130: Fix crash for Rails/UniqueValidationWithoutIndex with bare validate. (@​jamiemccarthy)
  • #1124: Fix false positives for Rails/RedundantActiveRecordAllMethod when receiver is not an Active Record model. (@​koic)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.22.1 (2023-10-28)

Bug fixes

  • #1145: Fix a false positive for Rails/DuplicateAssociation when using duplicate belongs_to associations of same class without other arguments. ([@​koic][])

2.22.0 (2023-10-27)

New features

  • #906: Add Rails/EnvLocal cop. ([@​sambostock][])
  • #1128: Make Rails/DuplicateAssociation aware of duplicate class_name. ([@​koic][])
  • #1157: Support some Rails 7.1's new querying methods for Rails/RedundantActiveRecordAllMethod. ([@​koic][])
  • #1147: Support the Trilogy adapter for MySQL. ([@​koic][])

Bug fixes

  • #952: Fix a false positive for Rails/NotNullColumn when using null: false for MySQL's TEXT type. ([@​koic][])
  • #1041: Fix a false positive for Rails/Output when output method is called with block argument. ([@​koic][])
  • #1143: Fix an error for Rails/RedundantActiveRecordAllMethod when using RuboCop 1.51 or lower. ([@​koic][])
  • #1105: Fix false positives for Rails/RedundantPresenceValidationOnBelongsTo when using validates with :if or :unless options. ([@​koic][])
  • #1158: Rails/HasManyOrHasOneDependent does not add offence when has_many or has_one is called on an explicit receiver. ([@​samrjenkins][])
  • #1160: Fix Rails/SaveBang to ignore parenthesis. ([@​fatkodima][])

Changes

  • #1152: Add more dangerous column names to Rails/DangerousColumnNames. ([@​r7kamura][])
  • #1039: Deprecate Rails/ActionFilter cop; it will be disabled by default. ([@​koic][])
  • #893: Support local as an environment for Rails/UnknownEnv from Rails 7.1 onward. ([@​ghiculescu][])

2.21.2 (2023-09-30)

Bug fixes

  • #1126: Fix a false positive for Rails/RedundantActiveRecordAllMethod when using some Enumerable's methods with block argument. ([@​koic][])
  • #1121: Fix an error for Rails/SelectMap when using select(:column_name).map(&:column_name) without receiver model. ([@​koic][])
  • #1119: Fix an incorrect autocorrect for Rails/RedundantActiveRecordAllMethod when all has parentheses. ([@​masato-bkn][])
  • #1130: Fix crash for Rails/UniqueValidationWithoutIndex with bare validate. ([@​jamiemccarthy][])
  • #1124: Fix false positives for Rails/RedundantActiveRecordAllMethod when receiver is not an Active Record model. ([@​koic][])

2.21.1 (2023-09-14)

Bug fixes

  • #1108: Fix an incorrect autocorrect for Rails/TimeZone when using String#to_time. ([@​koic][])
  • #1109: Fix error for Rails/RedundantActiveRecordAllMethod when all is an argument for AR methods. ([@​masato-bkn][])
  • #1110: Fix false positive for Rails/RedundantActiveRecordAllMethod when all has any parameters. ([@​masato-bkn][])

2.21.0 (2023-09-09)

... (truncated)

Commits

Updates rubocop-rspec from 2.24.0 to 2.25.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.25.0

  • Add support single quoted string and percent string and heredoc for RSpec/Rails/HttpStatus. (@​ydah)
  • Change to be inline disable for RSpec/SpecFilePathFormat like RSpec/FilePath. (@​ydah)
  • Fix a false positive for RSpec/MetadataStyle with example groups having multiple string arguments. (@​franzliedke)

RuboCop RSpec v2.24.1

  • Fix an error when using RSpec/FilePath and revert to enabled by default. If you have already moved to RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat, disable RSpec/FilePath explicitly as Enabled: false. The RSpec/FilePath before migration and the RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat as the target are available respectively. (@​ydah)
Changelog

Sourced from rubocop-rspec's changelog.

2.25.0 (2023-10-27)

  • Add support single quoted string and percent string and heredoc for RSpec/Rails/HttpStatus. ([@​ydah])
  • Change to be inline disable for RSpec/SpecFilePathFormat like RSpec/FilePath. ([@​ydah])
  • Fix a false positive for RSpec/MetadataStyle with example groups having multiple string arguments. ([@​franzliedke])

2.24.1 (2023-09-23)

  • Fix an error when using RSpec/FilePath and revert to enabled by default. If you have already moved to RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat, disable RSpec/FilePath explicitly as Enabled: false. The RSpec/FilePath before migration and the RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat as the target are available respectively. ([@​ydah])
Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop-gems group with 3 updates: [rubocop](https://github.com/rubocop/rubocop), [rubocop-rails](https://github.com/rubocop/rubocop-rails) and [rubocop-rspec](https://github.com/rubocop/rubocop-rspec).


Updates `rubocop` from 1.56.2 to 1.57.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.56.2...v1.57.2)

Updates `rubocop-rails` from 2.20.2 to 2.22.1
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.20.2...v2.22.1)

Updates `rubocop-rspec` from 2.24.0 to 2.25.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v2.24.0...v2.25.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop-gems
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 1, 2023
@tagliala tagliala merged commit 70ef315 into main Nov 1, 2023
1 check passed
@tagliala tagliala deleted the dependabot/bundler/rubocop-gems-2926d194b0 branch November 1, 2023 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant