From 654c0c2882a9dc7f398f3cf1facff02c508daa8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 11:48:38 +0000 Subject: [PATCH 1/2] chore(deps): update rubocop requirement from 1.84.2 to 1.85.0 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.84.2...v1.85.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.85.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 7a2c3a98..92238f7e 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gem 'minitest', '~> 5.0' gem 'minitest-reporters', '~> 1.1' gem 'parallel_tests' gem 'rake', '~> 13.0' -gem 'rubocop', '1.84.2' +gem 'rubocop', '1.85.0' gem 'simplecov' gem 'steep', '~> 1.10.0' gem 'webmock', '~> 3.26.0' From 09898725cb7eeac9389bf155e39eaf185233c23c Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Mon, 2 Mar 2026 19:16:01 -0800 Subject: [PATCH 2/2] fix rubocop --- test/functional/android/webdriver/device_test.rb | 4 ++-- test/functional/ios/webdriver/device_test.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/android/webdriver/device_test.rb b/test/functional/android/webdriver/device_test.rb index e7e19fab..6d7faa22 100644 --- a/test/functional/android/webdriver/device_test.rb +++ b/test/functional/android/webdriver/device_test.rb @@ -48,9 +48,9 @@ def test_page_source assert s_source.include?('io.appium.android.apis') if @@core.automation_name == :espresso - assert xml[1].elements.each('//*') { |v| v }.map(&:name).size >= 20 # rubocop:disable Lint/Void: + assert xml[1].elements.each('//*') { |v| v }.map(&:name).size >= 20 else - names = xml[2].elements.each('//*') { |v| v }.map(&:name) # rubocop:disable Lint/Void: + names = xml[2].elements.each('//*') { |v| v }.map(&:name) assert_equal 'hierarchy', names[0] assert names.size >= 5 end diff --git a/test/functional/ios/webdriver/device_test.rb b/test/functional/ios/webdriver/device_test.rb index a4b12cc4..be3911a4 100644 --- a/test/functional/ios/webdriver/device_test.rb +++ b/test/functional/ios/webdriver/device_test.rb @@ -75,10 +75,10 @@ def test_page_source assert !source.include?('AppiumAUT') assert source.include?('XCUIElementTypeApplication type') - assert xml[2].elements.each('//*') { |v| v }.map(&:name).size > 70 # rubocop:disable Lint/Void + assert xml[2].elements.each('//*') { |v| v }.map(&:name).size > 70 # Roughly matching... - assert s_xml[2].elements.each('//*') { |v| v }.map(&:name).size > 70 # rubocop:disable Lint/Void + assert s_xml[2].elements.each('//*') { |v| v }.map(&:name).size > 70 end def test_location