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
#14191: Fix Lint/FloatComparison cop to detect floating-point number comparisons in case statements. ([@daisuke][])
#14209: Fix an error for Style/RedundantFormat with invalid format arguments. ([@earlopain][])
#14200: Fix false positives for Style/DefWithParentheses when using endless method definition with empty parentheses and a space before =. ([@koic][])
#14197: Fix infinite loop error for EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and Layout/HashAlignment. ([@koic][])
#14204: Fix Layout/EmptyLinesAroundAccessModifier cop error on trailing access modifier. ([@viralpraxis][])
#14198: Fix Lint/DuplicateMethods cop error on to option is dynamically generated and prefix is enabled. ([@viralpraxis][])
#14199: Fix wrong autocorrection for Style/MapToHash with destructuring argument. ([@lovro-bikic][])
#14050: Modify condition for rubocop:todo EOL comment. ([@jonas054][])
#14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. ([@koic][])
#14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. ([@koic][])
#14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. ([@koic][])
#14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. ([@viralpraxis][])
#14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. ([@viralpraxis][])
#14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. ([@viralpraxis][])
#14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. ([@earlopain][])
Changes
#14188: Enhance Gemspec/DuplicatedAssignment cop to detect duplicated indexed assignment. ([@viralpraxis][])
#14183: Recognize prefix argument for delegate method in Lint/DuplicateMethods. ([@lovro-bikic][])
#14176: Fix an error for Style/MultilineIfModifier when using nested modifier. ([@koic][])
#14077: Change nil representation in todo file comments. ([@jonas054][])
#14164: Fix an error for Lint/UselessAssignment when variables are assigned using unary operator in chained assignment and remain unreferenced. ([@koic][])
#14173: Fix an error for Style/StringConcatenation when using implicit concatenation with string interpolation. ([@koic][])
#14177: Fix false positives for Style/SoleNestedConditional when using nested if and not in condition. ([@koic][])
#14152: Fix Layout/SpaceInsideArrayLiteralBrackets cop error on array pattern without brackets. ([@viralpraxis][])
#14153: Fix Style/PercentQLiterals cop error on Unicode escape sequence. ([@viralpraxis][])
#14148: Fix an infinite loop error for Layout/SpaceAfterSemicolon with Layout/SpaceBeforeSemicolon when a sequence of semicolons appears. ([@koic][])
#14145: Fix Lint/ArrayLiteralInRegexp cop error on empty interpolation. ([@viralpraxis][])
#14072: Fix autocorrect issue in Layout/HashAlignment. ([@jonas054][])
#14131: Fix false positives for Style/ArgumentsForwarding when using anonymous block argument forwarding to a method with a block. ([@koic][])
#14140: Fix Layout/LeadingCommentSpace to allow splitting long inline RBS comment signatures across multiple lines. ([@Morriar][])
#14147: Fix Lint/LiteralAsCondition cop error on if without body. ([@viralpraxis][])
#14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. ([@koic][])
#14134: Fix an error for Style/ComparableBetween when comparing the value with itself. ([@earlopain][])
#14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. ([@koic][])
#14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@koic][])
#14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. ([@koic][])
#14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. ([@koic][])
#14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. ([@zopolis4][])
#14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. ([@viralpraxis][])
#14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. ([@viralpraxis][])
Changes
#13611: Enable Lint/CircularArgumentReference on Ruby 3.4. ([@earlopain][])
#13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. ([@viralpraxis][])
#14080: Allow writing RBS::Inline annotation #: after end keyword in Style/CommentedKeyword. ([@dak2][])
#14075: Fix an error for Layout/EmptyLineAfterGuardClause when calling a method on the result of a single-line if with return. ([@koic][])
#14067: Fix false negatives for Style/RedundantParentheses when using parens around singleton method body. ([@koic][])
#14070: Fix false positives for EnforcedStyleForMultiline: diff_comma of Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral when trailing comma with comment. ([@koic][])
#14092: Fix false negative for Style/RedundantParentheses when using some operator methods with a parenthesized argument. ([@koic][])
#14103: Fix Layout/MultilineOperationIndentation cop error on indexasgn node without arguments. ([@viralpraxis][])
#14089: Fix redundant current directory prefix regexp. ([@sferik][])
#14099: Fix Style/ClassAndModuleChildren cop error on one-liner class definition and nested enforced style. ([@viralpraxis][])
#14083: Fix Style/ConditionalAssignment cop error on one-line if-then-else. ([@viralpraxis][])
#14104: Fix Style/ConditionalAssignment cop error on indexed assignment without arguments. ([@viralpraxis][])
#14084: Fix Style/RedundantLineContinuation cop error on multiline assignment with line continuation. ([@viralpraxis][])
#14096: Fix error for Style/SafeNavigation with longer && chain (e.g. a && a.b && a.b.c). ([@lovro-bikic][])
#14068: Fix wrong autocorrection for Style/MapIntoArray when using push or append with hash argument without braces. ([@lovro-bikic][])
Changes
#14093: Register offenses for redundant parens around method arguments for Style/RedundantParentheses. ([@lovro-bikic][])
#14064: Prefer References over Reference in cop configs. ([@sambostock][])
#12049: Add new Style/HashFetchChain cop to detect chained fetch calls that can be replaced with a single call to dig. ([@dvandersluis][])
#13597: Add new Style/ItBlockParameter cop. ([@koic][])
#13899: Enable reusable Prism parse result for Ruby LSP add-on. ([@koic][])
#14015: Support it block parameter in Layout cops. ([@koic][])
#14017: Support it block parameter in Lint cops. ([@koic][])
#14018: Support it block parameter in Metrics cops. ([@koic][])
#14013: Support it block parameter in Style cops. ([@koic][])
#14025: Support TargetRubyVersion: 3.5 (experimental). ([@earlopain][])
Bug fixes
#14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@koic][])
#14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@vlad-pisanov][])
#14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@vlad-pisanov][])
#8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@dvandersluis][])
#14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@mauro-oto][])
#13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@viralpraxis][])
#14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@lovro-bikic][])
#13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@eugeneius][])
#14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@lovro-bikic][])
#13943: Allow writing steep annotation to method definition for Style/CommentedKeyword. ([@dak2][])
Bug fixes
#13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. ([@koic][])
#13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. ([@earlopain][])
#13971: Fix false alarm for config obsoletion. ([@koic][])
#13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. ([@earlopain][])
#13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. ([@earlopain][])
#13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. ([@earlopain][])
#13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. ([@koic][])
#13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. ([@earlopain][])
#13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. ([@earlopain][])
#13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. ([@earlopain][])
#13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. ([@koic][])
#13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. ([@dvandersluis][])
#13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. ([@earlopain][])
Changes
#12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. ([@dvandersluis][])
#13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. ([@dvandersluis][])
#13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. ([@koic][])
#13967: Make Lint/RedundantTypeConversion aware of redundant to_d. ([@koic][])
#13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@koic][])
#13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. ([@earlopain][])
#13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. ([@koic][])
#13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. ([@tejasbubane][])
#13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. ([@dak2][])
#13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. ([@zopolis4][])
#13867: Fix an error for plugins when not running RuboCop through Bundler. ([@earlopain][])
#13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@vlad-pisanov][])
#13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. ([@earlopain][])
#13818: Fix false positives for Lint/Void when using operator method call without argument. ([@koic][])
#13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. ([@earlopain][])
#13910: Fix false positives for Style/EndlessMethod when using setter method definitions. ([@koic][])
#13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@dvandersluis][])
#13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@dvandersluis][])
#13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@dvandersluis][])
#13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@datpmt][])
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
Failed test name: Internet Explorer Service logs to file
Failure summary:
The action failed because the Ruby RSpec tests in the examples/ruby directory had failures:
1. Two tests related to Internet Explorer Service failed with connection errors: - "Internet Explorer Service logs to file" - Failed to open TCP connection to 127.0.0.1:5555/5556 - "Internet Explorer Service logs to console" - Failed to open TCP connection to 127.0.0.1:5556
The errors indicate that the tests couldn't connect to the Internet Explorer service on the specified ports, with the error message "No connection could be made because the target machine actively refused it."
Relevant error logs:
1: ##[group]Operating System2: Microsoft Windows Server 2022
...
359: ##[endgroup]360: Creating settings.xml with server-id: github361: Writing to C:\Users\runneradmin\.m2\settings.xml362: ##[group]Run nick-invision/[email protected]363: with:364: timeout_minutes: 20365: max_attempts: 2366: command: cd examples/ruby367: bundle exec rspec368:
369: new_command_on_retry: cd examples/ruby; $env:DEBUG="true"; bundle exec rspec --only-failures --backtrace370:
371: retry_wait_seconds: 10372: polling_interval_seconds: 1373: warning_on_retry: true374: continue_on_error: false375: env:
...
390: MSYSTEM_CARCH: x86_64391: MSYSTEM_CHOST: x86_64-w64-mingw32392: MSYSTEM_PREFIX: /ucrt64393: PKG_CONFIG_PATH: /ucrt64/lib/pkgconfig:/ucrt64/share/pkgconfig394: PROMPT: $P$G395: RI_DEVKIT: C:\hostedtoolcache\windows\Ruby\3.2.8\x64\msys64
396: 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.5.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.3\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.452-9\x64\bin;C:\Program Files\ImageMagick-7.1.1-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.9\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:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
397: JAVA_HOME: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64398: JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\11.0.27-6\x64399: ##[endgroup]400: ##[group]Attempt 1401: ...................................*........................................................*.*FF..****.....*........*.......*******..........**************..................................402: Pending: (Failures listed here are expected and do not affect your suite's status)403: 1) Network waits for downloads404: # Test guarded; Guarded by {:platform=>:windows, :reason=>"No reason given"};405: Failure/Error: expect { Selenium::WebDriver::Wait.new.until { @completed } }.not_to raise_exception406: expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 5 seconds> with backtrace:407: # ./spec/bidi/cdp/network_spec.rb:92:in `block (3 levels) in <top (required)>'
...
484: # ./spec/elements/locators_spec.rb:43485: 27) Element Locators with relative locators finds element to the left486: # These are reference following the documentation example487: # ./spec/elements/locators_spec.rb:47488: 28) Element Locators with relative locators finds element to the right489: # These are reference following the documentation example490: # ./spec/elements/locators_spec.rb:51491: 29) Element Locators with relative locators finds near element492: # These are reference following the documentation example493: # ./spec/elements/locators_spec.rb:55494: 30) Element Locators with relative locators chains relative locators495: # These are reference following the documentation example496: # ./spec/elements/locators_spec.rb:59497: Failures:498: 1) Internet Explorer Service logs to file499: Failure/Error: config.after { @driver&.quit }500: Errno::ECONNREFUSED:501: 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)502: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'503: # ------------------504: # --- Caused by: ---505: # Errno::ECONNREFUSED:506: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556507: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'508: 2) Internet Explorer Service logs to console509: Failure/Error: config.after { @driver&.quit }510: Errno::ECONNREFUSED:511: 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)512: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'513: # ------------------514: # --- Caused by: ---515: # Errno::ECONNREFUSED:516: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5556517: # ./spec/spec_helper.rb:30:in `block (2 levels) in <top (required)>'518: Finished in 10 minutes 16 seconds (files took 1.12 seconds to load)519: 190 examples, 2 failures, 30 pending520: Failed examples:521: rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file522: rspec ./spec/browsers/internet_explorer_spec.rb:88 # Internet Explorer Service logs to console523: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1524: ##[endgroup]
...
578: {579: "implicit": 0,580: "pageLoad": 300000,581: "script": 30000582: },583: "unhandledPromptBehavior": "dismiss and notify"584: },585: "sessionId": "dba75b24-2bf1-4c78-abe8-029a7692daf9"586: }587: } 588: 2025-05-29 14:15:51 DEBUG Selenium [:command] -> DELETE session/dba75b24-2bf1-4c78-abe8-029a7692daf9 589: 2025-05-29 14:16:32 DEBUG Selenium [:process] Checking if 6784 is exited: 590: 2025-05-29 14:16:32 DEBUG Selenium [:process] -> exit code is 11 591: 2025-05-29 14:16:32 DEBUG Selenium [:process] Checking if 6784 is exited: 592: 2025-05-29 14:16:32 DEBUG Selenium [:process] -> exit code is 11 593: Run options: include {:last_run_status=>"failed"}594: F2025-05-29 14:16:32 DEBUG Selenium Running with Guard 'platform' set to: windows
...
657: } 658: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 659: 2025-05-29 14:16:35 DEBUG Selenium [:driver_service] Sending shutdown request to server 660: 2025-05-29 14:16:35 DEBUG Selenium [:process] Polling 20 seconds for exit of 5384 661: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 662: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 663: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 664: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 0 665: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 666: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 0 667: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 668: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 0 669: .670: Failures:671: 1) Internet Explorer Service logs to file672: Failure/Error: config.after { @driver&.quit }673: Errno::ECONNREFUSED:674: 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)675: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'
...
722: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:116:in `block in run_specs'723: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/reporter.rb:74:in `report'724: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:115:in `run_specs'725: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:89:in `run'726: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:71:in `run'727: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/lib/rspec/core/runner.rb:45:in `invoke'728: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/gems/3.2.0/gems/rspec-core-3.13.4/exe/rspec:4:in `<top (required)>'729: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/bin/rspec:25:in `load'730: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/bin/rspec:25:in `<main>'731: # ------------------732: # --- Caused by: ---733: # Errno::ECONNREFUSED:734: # No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 5555735: # C:/hostedtoolcache/windows/Ruby/3.2.8/x64/lib/ruby/3.2.0/net/http.rb:1603:in `initialize'736: Finished in 45.72 seconds (files took 0.82642 seconds to load)737: 2 examples, 1 failure738: Failed examples:739: rspec ./spec/browsers/internet_explorer_spec.rb:79 # Internet Explorer Service logs to file740: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 741: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 0 742: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 5384 is exited: 743: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 0 744: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 6784 is exited: 745: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 11 746: 2025-05-29 14:16:35 DEBUG Selenium [:process] Checking if 6784 is exited: 747: 2025-05-29 14:16:35 DEBUG Selenium [:process] -> exit code is 11 748: ##[endgroup]749: ##[error]Final attempt failed. Child_process exited with error code 1750: 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.72.2->1.75.8Release Notes
rubocop/rubocop (rubocop)
v1.75.8Compare Source
Bug fixes
Lint/FloatComparisoncop to detect floating-point number comparisons incasestatements. ([@daisuke][])Style/RedundantFormatwith invalid format arguments. ([@earlopain][])Style/DefWithParentheseswhen using endless method definition with empty parentheses and a space before=. ([@koic][])EnforcedStyle: with_fixed_indentationofLayout/ArgumentAlignmentandEnforcedStyle: consistentofLayout/FirstArgumentIndentationandLayout/HashAlignment. ([@koic][])Layout/EmptyLinesAroundAccessModifiercop error on trailing access modifier. ([@viralpraxis][])Lint/DuplicateMethodscop error ontooption is dynamically generated andprefixis enabled. ([@viralpraxis][])Style/MapToHashwith destructuring argument. ([@lovro-bikic][])rubocop:todoEOL comment. ([@jonas054][])v1.75.7Compare Source
Bug fixes
Style/IfUnlessModifierOfIfUnlesswhen using nested modifier. ([@koic][])Layout/SpaceBeforeBracketswhen using space between method argument parentheses and left bracket. ([@koic][])Layout/SpaceBeforeBracketswhen using space between receiver and left brackets, and a space inside left bracket. ([@koic][])Style/AccessModifierDeclarationscop error on semicolon after modifier. ([@viralpraxis][])Style/AccessModifierDeclarationscop error on symbol modifier without surrounding scope. ([@viralpraxis][])Style/AccessModifierDeclarationscop false positives when there are no method definitions and style isinline. ([@viralpraxis][])Lint/UselessAssignmentcop error when using nested assignment with splat. ([@earlopain][])Changes
Gemspec/DuplicatedAssignmentcop to detect duplicated indexed assignment. ([@viralpraxis][])prefixargument fordelegatemethod inLint/DuplicateMethods. ([@lovro-bikic][])v1.75.6Compare Source
Bug fixes
Style/MultilineIfModifierwhen using nested modifier. ([@koic][])nilrepresentation in todo file comments. ([@jonas054][])Lint/UselessAssignmentwhen variables are assigned using unary operator in chained assignment and remain unreferenced. ([@koic][])Style/StringConcatenationwhen using implicit concatenation with string interpolation. ([@koic][])Style/SoleNestedConditionalwhen using nestedifandnotin condition. ([@koic][])Layout/SpaceInsideArrayLiteralBracketscop error on array pattern without brackets. ([@viralpraxis][])Style/PercentQLiteralscop error on Unicode escape sequence. ([@viralpraxis][])Changes
Style/ComparableBetweenas unsafe. ([@earlopain][])Lint/DuplicateMethodsaware of Active Support'sdelegatemethod. ([@lovro-bikic][])Style/IfUnlessModifierallow endless method definition in theifbody. ([@koic][])v1.75.5Compare Source
Bug fixes
Layout/SpaceAfterSemicolonwithLayout/SpaceBeforeSemicolonwhen a sequence of semicolons appears. ([@koic][])Lint/ArrayLiteralInRegexpcop error on empty interpolation. ([@viralpraxis][])Layout/HashAlignment. ([@jonas054][])Style/ArgumentsForwardingwhen using anonymous block argument forwarding to a method with a block. ([@koic][])Layout/LeadingCommentSpaceto allow splitting long inline RBS comment signatures across multiple lines. ([@Morriar][])Lint/LiteralAsConditioncop error onifwithout body. ([@viralpraxis][])Lint/Voidcop error on nested emptybegin. ([@viralpraxis][])Style/IdenticalConditionalBranchescop failure in case ofifnode with implicitthen. ([@viralpraxis][])Style/MethodCallWithArgsParenthesescop error on complex numbers whenEnforcedStyleis set toomit_parentheses. ([@viralpraxis][])Style/TrailingCommaInArgumentscop error ifEnforcedStyleForMultilineis set tocomma. ([@viralpraxis][])Changes
Layout/SpaceInsideArrayLiteralBracketsmake aware of array pattern matching. ([@koic][])Layout/SpaceInsideHashLiteralBracesmake aware of hash pattern matching. ([@koic][])v1.75.4Compare Source
Bug fixes
Lint/BooleanSymbolwhen using the rocket hash syntax with a boolean symbol key. ([@koic][])Style/ComparableBetweenwhen comparing the value with itself. ([@earlopain][])Style/SafeNavigationwhen the RHS of&&is a complex||expression composed of&&conditions. ([@koic][])Style/ArgumentsForwardingwhen using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@koic][])Style/RedundantParentheseswhen parens around basic conditional as the second argument of a parenthesized method call. ([@koic][])Style/RedundantParentheseswhen parens around unparenthesized method call as the second argument of a parenthesized method call. ([@koic][])Lint/LiteralAsConditionautocorrect when a literal is the condition of an elsif followed by an else. ([@zopolis4][])Style/TrailingCommaInArgumentscop aware of trailing commas in[]method call. ([@viralpraxis][])Style/ClassAndModuleChildrencop error on tab-intended compactable modules. ([@viralpraxis][])Changes
Lint/CircularArgumentReferenceon Ruby 3.4. ([@earlopain][])v1.75.3Compare Source
Bug fixes
#:after end keyword inStyle/CommentedKeyword. ([@dak2][])Layout/EmptyLineAfterGuardClausewhen calling a method on the result of a single-lineifwithreturn. ([@koic][])Style/RedundantParentheseswhen using parens around singleton method body. ([@koic][])EnforcedStyleForMultiline: diff_commaofStyle/TrailingCommaInArrayLiteralandStyle/TrailingCommaInHashLiteralwhen trailing comma with comment. ([@koic][])Style/RedundantParentheseswhen using some operator methods with a parenthesized argument. ([@koic][])Layout/MultilineOperationIndentationcop error onindexasgnnode without arguments. ([@viralpraxis][])Style/ClassAndModuleChildrencop error on one-liner class definition and nested enforced style. ([@viralpraxis][])Style/ConditionalAssignmentcop error on one-line if-then-else. ([@viralpraxis][])Style/ConditionalAssignmentcop error on indexed assignment without arguments. ([@viralpraxis][])Style/RedundantLineContinuationcop error on multiline assignment with line continuation. ([@viralpraxis][])Style/SafeNavigationwith longer&&chain (e.g.a && a.b && a.b.c). ([@lovro-bikic][])Style/MapIntoArraywhen usingpushorappendwith hash argument without braces. ([@lovro-bikic][])Changes
Style/RedundantParentheses. ([@lovro-bikic][])ReferencesoverReferencein cop configs. ([@sambostock][])v1.75.2Compare Source
Changes
Lint/RedundantTypeConversionto register an offense forto_json.to_s. ([@lovro-bikic][])Bug fixes
Lint/DeprecatedOpenSSLConstantcipher constant argument is notcbc. ([@koic][])Style/RedundantConditionwhen true is used as the true branch and the condition takes arguments. ([@koic][])Lint/ReturnInVoidContextwhen returning insidedefine_methodor a nested singleton method. ([@earlopain][])Style/ConditionalAssignmentcop error on dynamic string node in branch. ([@viralpraxis][])Style/FrozenStringLiteralCommentcop errors on emacs-styled magic comment. ([@viralpraxis][])v1.75.1Compare Source
Changes
EnforcedStyle: allow_named_parametertoEnforcedStyle: only_numbered_parametersinStyle/ItBlockParameter. ([@koic][])v1.75.0Compare Source
New features
Style/HashFetchChaincop to detect chainedfetchcalls that can be replaced with a single call todig. ([@dvandersluis][])Style/ItBlockParametercop. ([@koic][])itblock parameter inLayoutcops. ([@koic][])itblock parameter inLintcops. ([@koic][])itblock parameter inMetricscops. ([@koic][])itblock parameter inStylecops. ([@koic][])TargetRubyVersion: 3.5(experimental). ([@earlopain][])Bug fixes
Style/HashFetchChainwhen no arguments are given tofetch. ([@koic][])Layout/MultilineMethodParameterLineBreakswhen class method definitions are used. ([@vlad-pisanov][])Layout/LineLengthwhen autocorrecting class method definitions. ([@vlad-pisanov][])Layout/SpaceAroundOperatorsandLayout/HashAlignmentwithEnforcedHashRocketStylebeing an array containingtable. ([@dvandersluis][])InternalAffairs/RedundantDescribedClassAsSubjectcop error on missingdescribe. ([@viralpraxis][])Lint/ShadowingOuterLocalVariablewhen block local variable is used inside a condition. ([@lovro-bikic][])Lint/UselessAssignmentwhen a variable is reassigned in a different branch. ([@eugeneius][])Style/SoleNestedConditional. ([@lovro-bikic][])Style/IfInsideElse. ([@lovro-bikic][])Changes
doesas a forbidden prefix toNaming/PredicateName. ([@dvandersluis][])ForbiddenIdentifiersandForbiddenPatternsconfig options toNaming/MethodNamecop. ([@tejasbubane][])Array#intersectiontoStyle/ArrayIntersect. ([@dvandersluis][])prismtranslation layer to analyze Ruby 3.4+ by default. ([@earlopain][])Style/RedundantParenthesesto offend parentheses for chained&&expressions. ([@lovro-bikic][])AllowConsecutiveConditionalssetting toStyle/Nextto allow consecutive conditional statements. ([@vlad-pisanov][])Style/RedundantFormatto register offenses when the only argument toformatorsprintfis a constant. ([@dvandersluis][])v1.74.0Compare Source
New features
Style/ComparableBetween. ([@lovro-bikic][])Style/CommentedKeyword. ([@dak2][])Bug fixes
Lint/SharedMutableDefaultwhencapacitykeyword argument is used. ([@koic][])Style/DoubleNegationwhen callingdefine_method/define_singleton_methodwith a numblock. ([@earlopain][])Lint/ReturnInVoidContextwhen returning out of a block. ([@earlopain][])Lint/UselessConstantScopingfor constants defined inclass << self. ([@earlopain][])Lint/NonLocalExitFromIteratorwith numblocks. ([@earlopain][])Style/RedundantCurrentDirectoryInPathwhen using a complex current directory path inrequire_relative. ([@koic][])Lint/LiteralAsConditionwhen the literal is followed byreturn,break, ornext. ([@earlopain][])Style/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesstyle and numblocks. ([@earlopain][])rubocop-railsorrubocop-performanceextraction, even if they are already part of the Gemfile. ([@earlopain][])Lint/RedundantCopDisableDirectiveto register an offense when cop names are given with improper casing. ([@dvandersluis][])Style/RescueModifierwhen using parallel assignment and the right-hand-side is not a bracketed array. ([@earlopain][])Changes
EnforcedStyleForClassesandEnforcedStyleForModulesconfiguration options toStyle/ClassAndModuleChildren. ([@dvandersluis][])Mode: conservativeconfiguration toStyle/FormatStringTokento make the cop only register offenses for strings given toprintf,sprintf,format, and%. ([@dvandersluis][])TLS1_1andTLS1_2by default inNaming/VariableNumberto accommodate OpenSSL version parameter names. ([@koic][])Lint/RedundantTypeConversionaware of redundantto_d. ([@koic][])v1.73.2Compare Source
Bug fixes
Style/InverseMethodswhen usingany?ornone?with safe navigation operator. ([@koic][])Style/RedundantConditionwhen a variable or a constant is used. ([@koic][])Style/RedundantFreezewhen calling methods that produce frozen objects with numblocks. ([@earlopain][])end pattern with unmatched parenthesis: / (RegexpError)on Ruby 3.2.0. ([@dvandersluis][])Style/KeywordParametersOrderwhen the arguments are on multiple lines and contain comments. ([@earlopain][])Changes
Lint/EmptyConditionalBodyto be safe. ([@dvandersluis][])v1.73.1Compare Source
Bug fixes
Lint/MixedCaseRangewhen/[[ ]]/is used. ([@koic][])Lint/EmptyConditionalBodywhen assigning to a variable with only a single branch. ([@earlopain][])Style/RedundantConditionwhen using when true is used as the true branch and the condition is not a predicate method. ([@koic][])Layout/ClosingParenthesisIndentationwhen first parameter is a hash. ([@tejasbubane][])Style/CommentedKeyword. ([@dak2][])Lint/LiteralAsConditionacting on the right hand side of && nodes. ([@zopolis4][])v1.73.0Compare Source
New features
require_alwaysoption toStyle/EndlessMethod. ([@koic][])require_single_lineoption toStyle/EndlessMethod. ([@jtannas][])Bug fixes
Style/RedundantSelfAssignmentwhen the method receives a block. ([@vlad-pisanov][])Lint/MixedCaseRangeis enabled. ([@earlopain][])Lint/Voidwhen using operator method call without argument. ([@koic][])Style/TrivialAccessorswithinstance_evaland numblocks. ([@earlopain][])Style/EndlessMethodwhen using setter method definitions. ([@koic][])Layout/LineLengthwith interpolated strings when not on the first line. ([@dvandersluis][])Layout/EmptyLinesAroundAccessModifierandLayout/EmptyLinesAroundBlockBodywithEnforcedStyle: no_empty_lines. ([@dvandersluis][])Style/AccessorGroupingwith constants. ([@tejasbubane][])Style/RedundantFormatfor annotated template strings with missing hash keys. ([@dvandersluis][])Style/RedundantFormatwhen given double-splatted arguments. ([@dvandersluis][])Style/StringConcatenationwhen numblocks are used. ([@earlopain][])require 'pp'to be redundant forLint/RedundantRequireStatement. ([@earlopain][])Style/HashExceptandStyle/HashSliceto not register an offense if selecting over the hash value. ([@dvandersluis][])Changes
ForbiddenNamesconfiguration toNaming/VariableNameto specify names that are forbidden. ([@dvandersluis][])Lint/LiteralAsConditioncop to check for redundant conditions. ([@zopolis4][])Referenceto common params. ([@sambostock][])Lint/RedundantTypeConversionto not register an offense when given a constructor withexception: false. ([@dvandersluis][])Style/RedundantConditioncop to detect conditional expressions where the true branch istrueand suggest replacing them with a logical OR. ([@datpmt][])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.
This PR was generated by Mend Renovate. View the repository job log.