From 0ea0cbf3e41ee230b071538fd27961147c8baf5d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 09:28:08 +0000 Subject: [PATCH 1/2] build(deps-dev): update rubocop requirement from ~> 1.82.1 to ~> 1.86.1 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.82.1...v1.86.1) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.86.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e932169..ad76228 100644 --- a/Gemfile +++ b/Gemfile @@ -16,7 +16,7 @@ end group :development, :lint do gem 'overcommit', '>= 0.64' - gem 'rubocop', '~> 1.82.1' + gem 'rubocop', '~> 1.86.1' gem 'rubocop-minitest', '~> 0.39.1' gem 'rubocop-packaging', '~> 0.6.0' gem 'rubocop-performance', '~> 1.26.0' From b17085b8092442fc723df1a7733ddfb5b37f1dea Mon Sep 17 00:00:00 2001 From: Clark Brown Date: Thu, 14 May 2026 19:31:39 -0600 Subject: [PATCH 2/2] fix: correct Style/ModuleMemberExistenceCheck offense --- lib/grift/mock_method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/grift/mock_method.rb b/lib/grift/mock_method.rb index ad5bd95..70f91ca 100644 --- a/lib/grift/mock_method.rb +++ b/lib/grift/mock_method.rb @@ -619,7 +619,7 @@ def class_instance # def method_defined? class_instance.method_defined?(@method_name, false) || - class_instance.private_instance_methods(false).include?(@method_name) + class_instance.private_method_defined?(@method_name, false) end ##