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

Update dependency rubocop to v1.66.1 #488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) '1.65.0' -> '1.66.1' age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop)

v1.66.1

Compare Source

Bug fixes
  • #​13191: Fix an error for Style/IfWithSemicolon when using nested single-line if/;/end in block of if/else branches. ([@​koic][])
  • #​13178: Fix false positive for Style/EmptyLiteral with Hash.new([]). ([@​earlopain][])
  • #​13176: Fix crash in Style/EmptyElse when AllowComments: true and the else clause is missing. ([@​vlad-pisanov][])
  • #​13185: Fix false negatives in Style/MapIntoArray autocorrection when using ensure, def, defs and for. ([@​vlad-pisanov][])

v1.66.0

Compare Source

New features
  • #​13077: Add new global StringLiteralsFrozenByDefault option for correct analysis with RUBYOPT=--enable=frozen-string-literal. ([@​earlopain][])
  • #​13080: Add new DocumentationExtension global option to serve documentation with extensions different than .html. ([@​earlopain][])
  • #​13074: Add new Lint/UselessNumericOperation cop to check for inconsequential numeric operations. ([@​zopolis4][])
  • #​13061: Add new Style/RedundantInterpolationUnfreeze cop to check for dup and @+ on interpolated strings in Ruby >= 3.0. ([@​earlopain][])
Bug fixes
  • #​13093: Fix an error for Lint/ImplicitStringConcatenation when implicitly concatenating a string literal with a line break and string interpolation. ([@​koic][])
  • #​13098: Fix an error for Style/IdenticalConditionalBranches when handling empty case branches. ([@​koic][])
  • #​13113: Fix an error for Style/IfWithSemicolon when a nested if with a semicolon is used. ([@​koic][])
  • #​13097: Fix an error for Style/InPatternThen when using alternative pattern matching deeply. ([@​koic][])
  • #​13159: Fix an error for Style/OneLineConditional when using if/then/else/end with multiple expressions in the then body. ([@​koic][])
  • #​13092: Fix an incorrect autocorrect for Layout/EmptyLineBetweenDefs when two method definitions are on the same line separated by a semicolon. ([@​koic][])
  • #​13116: Fix an incorrect autocorrect for Style/IfWithSemicolon when a single-line if/;/end has an argument in the then body expression. ([@​koic][])
  • #​13161: Fix incorrect autocorrect for Style/IfWithSemicolon when using multiple expressions in the else body. ([@​koic][])
  • #​13132: Fix incorrect autocorrect for Style/TrailingBodyOnMethodDefinition when an expression precedes a method definition on the same line with a semicolon. ([@​koic][])
  • #​13164: Fix incorrect autocorrect behavior for Layout/BlockAlignment when EnforcedStyleAlignWith: either (default). ([@​koic][])
  • #​13087: Fix an incorrect autocorrect for Style/MultipleComparison when expression with more comparisons precedes an expression with less comparisons. ([@​fatkodima][])
  • #​13172: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when ensure or else and end are on the same line. ([@​koic][])
  • #​13107: Fix an error for Lint/ImplicitStringConcatenation when there are multiple adjacent string interpolation literals on the same line. ([@​koic][])
  • #​13111: Fix an error for Style/GuardClause when if clause is empty and correction would not fit on single line because of Layout/LineLength. ([@​earlopain][])
  • #​13137: Fix an error for Style/ParallelAssignment when using __FILE__. ([@​earlopain][])
  • #​13143: Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax. ([@​earlopain][])
  • #​13131: Fix false negatives for Lint/Void when using ensure, defs and numblock. ([@​vlad-pisanov][])
  • #​13174: Fix false negatives for Style/MapIntoArray when initializing the destination using Array[], Array([]), or Array.new([]). ([@​vlad-pisanov][])
  • #​13173: Fix false negatives for Style/EmptyLiteral when using Array[], Hash[], Array.new([]) and Hash.new([]). ([@​vlad-pisanov][])
  • #​13126: Fix a false positive for Style/Alias when using multiple alias in def. ([@​koic][])
  • #​13085: Fix a false positive for Style/EmptyElse when a comment-only else is used after elsif and AllowComments: true is set. ([@​koic][])
  • #​13118: Fix a false positive for Style/MapIntoArray when splatting. ([@​earlopain][])
  • #​13105: Fix false positives for Style/ArgumentsForwarding when forwarding kwargs/block arg with non-matching additional args. ([@​koic][])
  • #​13139: Fix false positives for Style/RedundantCondition when using modifier if or unless. ([@​koic][])
  • #​13134: Fix false negative for Lint/Void when using using frozen literals. ([@​vlad-pisanov][])
  • #​13148: Fix incorrect autocorrect for Lint/EmptyConditionalBody when missing elsif body with end on the same line. ([@​koic][])
  • #​13109: Fix an error for the Lockfile parser when it contains incompatible BUNDLED WITH versions. ([@​earlopain][])
  • #​13112: Fix detection of TargetRubyVersion through the gemfile if the gemfile ruby version is below 2.7. ([@​earlopain][])
  • #​13155: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([@​protocol7][])
Changes
  • #​13050: Allow get_!, set_!, get_?, set_?, get_=, and set_= in Naming/AccessorMethodName. ([@​koic][])
  • #​13103: Make Lint/UselessAssignment autocorrection safe. ([@​koic][])
  • #​13099: Make Style/RedundantRegexpArgument respect the EnforcedStyle of Style/StringLiterals. ([@​koic][])
  • #​13165: Remove dependency on the rexml gem. ([@​bquorning][])
  • #​13090: Require RuboCop AST 1.32.0+ to use RuboCop::AST::RationalNode. ([@​koic][])

v1.65.1

Compare Source

New features
  • #​13068: Add config validation to Naming/PredicateName to check that all ForbiddenPrefixes are being checked. ([@​maxjacobson][])
Bug fixes
  • #​13051: Fix an error for Lint/FloatComparison when comparing with rational literal. ([@​koic][])
  • #​13065: Fix an error for Lint/UselessAssignment when same name variables are assigned using chained assignment. ([@​koic][])
  • #​13062: Fix an error for Style/InvertibleUnlessCondition when using empty parenthesis as condition. ([@​earlopain][])
  • #​11438: Explicitly load fileutils before calculating before_us. ([@​r7kamura][])
  • #​13044: Fix false negatives for Lint/ImplicitStringConcatenation when using adjacent string interpolation literals on the same line. ([@​koic][])
  • #​13083: Fix a false positive for Style/GlobalStdStream when using namespaced constants like Foo::STDOUT. ([@​earlopain][])
  • #​13081: Fix a false positive for Style/ZeroLengthPredicate when using safe navigation and non-zero comparison. ([@​fatkodima][])
  • #​13041: Fix false positives for Lint/UselessAssignment when pattern match variable is assigned and used in a block. ([@​koic][])
  • #​13076: Fix an incorrect autocorrect for Naming/RescuedExceptionsVariableName when using hash value omission. ([@​koic][])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@yegor256
Copy link
Contributor

yegor256 commented Aug 9, 2024

@rultor please, try to merge, since 8 checks have passed

@rultor
Copy link
Contributor

rultor commented Aug 9, 2024

@rultor please, try to merge, since 8 checks have passed

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Contributor

rultor commented Aug 9, 2024

@rultor please, try to merge, since 8 checks have passed

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 10min)

/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:132:in
`do_install'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:117:in
`install_serially'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:93:in
`call'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer/parallel_installer.rb:66:in
`call'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer.rb:244:in
`install_in_parallel'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer.rb:201:in
`install'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer.rb:89:in
`block in run'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/process_lock.rb:12:in
`block in lock'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/process_lock.rb:9:in
`open'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/process_lock.rb:9:in
`lock'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer.rb:71:in
`run'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/installer.rb:23:in
`install'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/cli/install.rb:63:in
`run'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/cli.rb:244:in
`block in install'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/settings.rb:158:in
`temporary'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/cli.rb:243:in
`install'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in
`run'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in
`dispatch'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in
`dispatch'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in
`start'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in
`start'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/exe/bundle:28:in `block in
<top (required)>'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in
`with_friendly_errors'
/usr/local/rvm/gems/ruby-3.2.2/gems/bundler-2.5.6/exe/bundle:20:in `<top
(required)>'
  /usr/local/rvm/gems/ruby-3.2.2/bin/bundle:25:in `load'
  /usr/local/rvm/gems/ruby-3.2.2/bin/bundle:25:in `<main>'

An error occurred while installing openssl (2.2.3), and Bundler cannot continue.

In Gemfile:
  glogin was resolved to 0.16.4, which depends on
    openssl
container a407ee2c29198b0e5934dd9e1572fad5a261007e6be85beb191835f2c5cb9f7a is dead
Fri Aug  9 08:51:45 UTC 2024

@renovate renovate bot changed the title Update dependency rubocop to v1.65.1 Update dependency rubocop to v1.66.0 Aug 31, 2024
@renovate renovate bot changed the title Update dependency rubocop to v1.66.0 Update dependency rubocop to v1.66.1 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants