You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#11664: Cache wasn't getting used when using parallelization. ([@jvlara][])
#14411: Fix false negatives for Layout/EmptyLinesAroundClassBody when a class body starts with a blank line and defines a multiline superclass. ([@koic][])
#14413: Fix a false positive for Layout/EmptyLinesAroundArguments with multiline strings that contain only whitespace. ([@earlopain][])
#14408: Fix false-positive for Layout/EmptyLinesAfterModuleInclusion when inclusion is called with modifier. ([@r7kamura][])
#14402: Fix false positives for Lint/UselessAssignment when duplicate assignments appear in if branch inside a loop and the variable is used outside while loop. ([@koic][])
#14416: Fix false positives for Style/MapToHash when using to_h with block argument. ([@koic][])
#14418: Fix false positives for Style/MapToSet when using to_set with block argument. ([@koic][])
#14420: Fix false positives for Style/SafeNavigation when ternary expression with operator method call with method chain. ([@koic][])
Changes
#14407: Register offense for parentheses around method calls with blocks in Style/RedundantParentheses. ([@lovro-bikic][])
#14390: Fix wrong autocorrect for Style/ArgumentsForwarding when the method arguments contain *, ** or &, and the method call contains self as the first argument. ([@earlopain][])
#14399: Fix false positives for Layout/EmptyLinesAfterModuleInclusion when prepend is used with block methods. ([@koic][])
#14396: Fix a false positive for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside a ternary operator. ([@koic][])
#14383: Fix false positives for Lint/UselessAssignment when duplicate assignments in if branch inside a loop. ([@koic][])
#14394: Fix false positive for Lint/UselessAssignment with retry in rescue branch. ([@earlopain][])
#14386: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression inside array or hash literals. ([@koic][])
Failed test name: Internet Explorer Options basic options Win10
Failure summary:
The action failed because RSpec tests in the Ruby examples failed on Windows, specifically the Internet Explorer-related specs. Failures indicate the IE driver/service was not reachable or hung during teardown: - Net::ReadTimeout and Errno::ECONNREFUSED when attempting to @driver&.quit or connect to 127.0.0.1 on ports 5555/5556. - Example failure locations: - ./spec/spec_helper.rb:30 (after hook @driver&.quit) - ./spec/browsers/internet_explorer_spec.rb:31 - Initial attempt: 191 examples, 5 failures (all IE tests). - Retry attempt: 5 examples, 3 failures (still IE tests). The retry action exited with code 1 after both attempts, causing the workflow to fail.
Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
386: ##[endgroup]387: Creating settings.xml with server-id: github388: Writing to C:\Users\runneradmin\.m2\settings.xml389: ##[group]Run nick-invision/retry@v3.0.2390: with:391: timeout_minutes: 40392: max_attempts: 2393: command: cd examples/ruby394: bundle exec rspec395:
396: new_command_on_retry: cd examples/ruby; $env:DEBUG="true"; bundle exec rspec --only-failures --backtrace397:
398: retry_wait_seconds: 10399: polling_interval_seconds: 1400: warning_on_retry: true401: continue_on_error: false402: env:
...
417: MSYSTEM_CARCH: x86_64418: MSYSTEM_CHOST: x86_64-w64-mingw32419: MSYSTEM_PREFIX: /ucrt64420: PKG_CONFIG_PATH: /ucrt64/lib/pkgconfig:/ucrt64/share/pkgconfig421: PROMPT: $P$G422: RI_DEVKIT: C:\hostedtoolcache\windows\Ruby\3.2.9\x64\msys64
423: Path: C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\Program Files (x86)\NSIS\;C:\tools\zstd;C:\Program Files\Mercurial\;C:\hostedtoolcache\windows\stack\3.7.1\x64;C:\cabal\bin;C:\\ghcup\bin;C:\mingw64\bin;C:\Program Files\dotnet;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Program Files\R\R-4.4.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\SeleniumWebDrivers\EdgeDriver\;C:\SeleniumWebDrivers\ChromeDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.24.5\x64\bin;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\Program Files\OpenSSL\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.462-8\x64\bin;C:\Program Files\ImageMagick-7.1.2-Q16-HDRI;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\ProgramData\Chocolatey\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PowerShell\7\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\WiX Toolset v3.14\bin;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.11\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI\;c:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\Amazon\SessionManagerPlugin\bin\;C:\Program Files\Amazon\AWSSAMCLI\bin\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\LLVM\bin;C:\Program Files (x86)\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
424: JAVA_HOME: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.28-6\x64425: JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.28-6\x64426: ##[endgroup]427: ##[group]Attempt 1428: ...................................*..................................................FFF...*.*FF..****.....*........*.......*******..........**************...................................429: Pending: (Failures listed here are expected and do not affect your suite's status)430: 1) Network waits for downloads431: # Test guarded; Guarded by {:platform=>:windows, :reason=>"No reason given"};432: Failure/Error: expect { Selenium::WebDriver::Wait.new.until { @completed } }.not_to raise_exception433: expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 5 seconds> with backtrace:434: # ./spec/bidi/cdp/network_spec.rb:92:in `block (3 levels) in <top (required)>'
...
511: # ./spec/elements/locators_spec.rb:43512: 27) Element Locators with relative locators finds element to the left513: # These are reference following the documentation example514: # ./spec/elements/locators_spec.rb:47515: 28) Element Locators with relative locators finds element to the right516: # These are reference following the documentation example517: # ./spec/elements/locators_spec.rb:51518: 29) Element Locators with relative locators finds near element519: # These are reference following the documentation example520: # ./spec/elements/locators_spec.rb:55521: 30) Element Locators with relative locators chains relative locators522: # These are reference following the documentation example523: # ./spec/elements/locators_spec.rb:59524: Failures:525: 1) Internet Explorer Options basic options Win10526: Failure/Error: config.after { @driver&.quit }527: Net::ReadTimeout:528: Net::ReadTimeout with #<TCPSocket:(closed)>529: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'530: 2) Internet Explorer Options basic options Win11531: Failure/Error: config.after { @driver&.quit }532: Errno::ECONNREFUSED:533: Failed to open TCP connection to 127.0.0.1:5555 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555)534: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'535: # ------------------536: # --- Caused by: ---537: # Errno::ECONNREFUSED:538: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555539: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'540: 3) Internet Explorer Options sets the file upload dialog timeout541: Failure/Error: driver.quit542: Net::ReadTimeout:543: Net::ReadTimeout with #<TCPSocket:(closed)>544: # ./spec/browsers/internet_explorer_spec.rb:31:in `block (3 levels) in <top (required)>'545: 4) Internet Explorer Service logs to file546: Failure/Error: config.after { @driver&.quit }547: Errno::ECONNREFUSED:548: Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)549: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'550: # ------------------551: # --- Caused by: ---552: # Errno::ECONNREFUSED:553: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556554: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'555: 5) Internet Explorer Service logs to console556: Failure/Error: config.after { @driver&.quit }557: Errno::ECONNREFUSED:558: Failed to open TCP connection to 127.0.0.1:5556 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556)559: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'560: # ------------------561: # --- Caused by: ---562: # Errno::ECONNREFUSED:563: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556564: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'565: Finished in 16 minutes 6 seconds (files took 1.03 seconds to load)566: 191 examples, 5 failures, 30 pending567: Failed examples:568: rspec ./spec/browsers/internet_explorer_spec.rb:16 # Internet Explorer Options basic options Win10569: rspec ./spec/browsers/internet_explorer_spec.rb:23 # Internet Explorer Options basic options Win11570: rspec ./spec/browsers/internet_explorer_spec.rb:28 # Internet Explorer Options sets the file upload dialog timeout571: rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file572: rspec ./spec/browsers/internet_explorer_spec.rb:88 # Internet Explorer Service logs to console573: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1574: ##[endgroup]
...
823: 2025-08-13 07:24:34 DEBUG Selenium [:process] Checking if 5476 is exited: 824: 2025-08-13 07:24:34 DEBUG Selenium [:process] Checking if 5476 is exited: 825: 2025-08-13 07:24:34 DEBUG Selenium [:process] Checking if 5476 is exited: 826: 2025-08-13 07:24:34 DEBUG Selenium [:process] Checking if 5476 is exited: 827: 2025-08-13 07:24:34 DEBUG Selenium [:process] Checking if 5476 is exited: 828: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 829: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 830: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 831: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 832: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 833: 2025-08-13 07:24:35 DEBUG Selenium [:process] Sending TERM to process: 5476 834: 2025-08-13 07:24:35 DEBUG Selenium [:process] -> sending KILL to process: 5476 835: 2025-08-13 07:24:35 DEBUG Selenium [:process] Checking if 5476 is exited: 836: 2025-08-13 07:24:35 DEBUG Selenium [:process] -> exit code is 0 837: 2025-08-13 07:24:35 DEBUG Selenium [:process] -> killed 5476 838: Run options: include {:last_run_status=>"failed"}839: F2025-08-13 07:24:35 DEBUG Selenium Running with Guard 'platform' set to: windows
...
1113: "script": 300001114: },1115: "unhandledPromptBehavior": "dismiss and notify"1116: },1117: "sessionId": "395bdd70-ece1-4a9a-a7db-204d755b515d"1118: }1119: } 1120: 2025-08-13 07:25:26 DEBUG Selenium [:command] -> DELETE session/395bdd70-ece1-4a9a-a7db-204d755b515d 1121: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 8284 is exited: 1122: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 11 1123: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 8284 is exited: 1124: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 11 1125: F1126: Failures:1127: 1) Internet Explorer Options basic options Win101128: Failure/Error: config.after { @driver&.quit }1129: Net::ReadTimeout:
...
1173: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/example_group.rb:615:in `run'1174: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'1175: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:121:in `map'1176: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'1177: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'1178: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:116:in `block in run_specs'1179: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/reporter.rb:74:in `report'1180: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:115:in `run_specs'1181: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:89:in `run'1182: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:71:in `run'1183: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:45:in `invoke'1184: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/exe/rspec:4:in `<top (required)>'1185: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `load'1186: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `<main>'1187: 2) Internet Explorer Options basic options Win111188: Failure/Error: config.after { @driver&.quit }1189: Errno::ECONNREFUSED:1190: Failed to open TCP connection to 127.0.0.1:5555 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555)1191: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'
...
1238: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:116:in `block in run_specs'1239: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/reporter.rb:74:in `report'1240: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:115:in `run_specs'1241: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:89:in `run'1242: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:71:in `run'1243: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:45:in `invoke'1244: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/exe/rspec:4:in `<top (required)>'1245: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `load'1246: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `<main>'1247: # ------------------1248: # --- Caused by: ---1249: # Errno::ECONNREFUSED:1250: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 55551251: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'1252: 3) Internet Explorer Service logs to console1253: Failure/Error: config.after { @driver&.quit }1254: Errno::ECONNREFUSED:1255: Failed to open TCP connection to 127.0.0.1:5555 (No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555)1256: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'
...
1303: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:116:in `block in run_specs'1304: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/reporter.rb:74:in `report'1305: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:115:in `run_specs'1306: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:89:in `run'1307: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:71:in `run'1308: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:45:in `invoke'1309: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/exe/rspec:4:in `<top (required)>'1310: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `load'1311: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/bin/rspec:25:in `<main>'1312: # ------------------1313: # --- Caused by: ---1314: # Errno::ECONNREFUSED:1315: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 55551316: # C:/hostedtoolcache/windows/Ruby/3.2.9/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'1317: Finished in 3 minutes 54.4 seconds (files took 0.8543 seconds to load)1318: 5 examples, 3 failures1319: Failed examples:1320: rspec ./spec/browsers/internet_explorer_spec.rb:16 # Internet Explorer Options basic options Win10
...
1329: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 9100 is exited: 1330: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 0 1331: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 8240 is exited: 1332: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 0 1333: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 8240 is exited: 1334: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 0 1335: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 9308 is exited: 1336: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 11 1337: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 9308 is exited: 1338: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 11 1339: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 5476 is exited: 1340: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 0 1341: 2025-08-13 07:26:07 DEBUG Selenium [:process] Checking if 5476 is exited: 1342: 2025-08-13 07:26:07 DEBUG Selenium [:process] -> exit code is 0 1343: ##[endgroup]1344: ##[error]Final attempt failed. Child_process exited with error code 11345: Post job cleanup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.78.0->1.79.2Release Notes
rubocop/rubocop (rubocop)
v1.79.2Compare Source
Bug fixes
Layout/EmptyLinesAroundClassBodywhen a class body starts with a blank line and defines a multiline superclass. ([@koic][])Layout/EmptyLinesAroundArgumentswith multiline strings that contain only whitespace. ([@earlopain][])Layout/EmptyLinesAfterModuleInclusionwhen inclusion is called with modifier. ([@r7kamura][])Lint/UselessAssignmentwhen duplicate assignments appear inifbranch inside a loop and the variable is used outsidewhileloop. ([@koic][])Style/MapToHashwhen usingto_hwith block argument. ([@koic][])Style/MapToSetwhen usingto_setwith block argument. ([@koic][])Style/SafeNavigationwhen ternary expression with operator method call with method chain. ([@koic][])Changes
Style/RedundantParentheses. ([@lovro-bikic][])v1.79.1Compare Source
Bug fixes
Style/ArgumentsForwardingwhen the method arguments contain*,**or&, and the method call containsselfas the first argument. ([@earlopain][])Layout/EmptyLinesAfterModuleInclusionwhenprependis used with block methods. ([@koic][])Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside a ternary operator. ([@koic][])Lint/UselessAssignmentwhen duplicate assignments inifbranch inside a loop. ([@koic][])Lint/UselessAssignmentwithretryinrescuebranch. ([@earlopain][])Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression inside array or hash literals. ([@koic][])Changes
Naming/MethodNamecop to detect offenses withinaliasandalias_methodcalls. ([@viralpraxis][])||toLint/LiteralAsCondition. ([@zopolis4][])v1.79.0Compare Source
New features
Layout/EmptyLinesAfterModuleInclusion. ([@lovro-bikic][])Naming/MethodNamecop to detect offenses withinDatamembers. ([@viralpraxis][])Bug fixes
Style/ParallelAssignmentwhen a lambda with parallel assignment is used on the RHS. ([@koic][])Style/AccessorGroupingseparated autocorrect. ([@r7kamura][])Lint/UselessAssignmentwhen the assignment is inside a loop body. ([@5hun-s][])Style/RedundantParentheseswhen using parentheses around arescueexpression on a one-line. ([@koic][])Style/AccessModifierDeclarationswhen using a grouped access modifier declaration. ([@girasquid][])Style/SingleLineMethodswhen defining a single-line singleton method. ([@koic][])Style/SingleLineMethodswhen a single-line method definition contains a modifier. ([@koic][])Naming/MethodNamecop false positives withdefine_methodand operator names. ([@viralpraxis][])Naming/PredicateMethodignoring the implicitnilfrom missingelsebranches. ([@earlopain][])Style/ItBlockParametercop error onalwaysstyle and missing block body. ([@viralpraxis][])Lint/RequireRangeParenthesesto not register false positives when range elements span multiple lines. ([@dvandersluis][])Style/SoleNestedConditionalto properly correct assignments withinand. ([@dvandersluis][])Changes
tsortgem to runtime dependency for Ruby 3.5-dev. ([@koic][])Style/ItAssignmentto consider all local variable and method parameter names. ([@dvandersluis][])Layout/SpaceAroundKeywordto offend for missing whitespace betweenreturnand opening parenthesis. ([@lovro-bikic][])Layout/SpaceAroundOperatorsaware of alternative and as pattern matchings. ([@koic][])Lint/RedundantSafeNavigationaware of builtin convert methodsto_s,to_i,to_f,to_a, andto_h. ([@koic][])InferNonNilReceiverconfig toLint/RedundantSafeNavigationto check previous code paths if the receiver is non-nil. ([@fatkodima][])array1.any? { |elem| array2.member?(elem) }andarray1.none? { |elem| array2.member?(elem) }inStyle/ArrayIntersect. ([@lovro-bikic][])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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.