From 1fd2bfc73aa7ca4cdba190d01007d9f951940e4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 00:08:45 +0000 Subject: [PATCH 1/2] Update rubocop requirement from 1.84.0 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.0...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 a9ba189..4912496 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "irb" gem "minitest", "~> 5.11" gem "minitest-rg", "~> 5.3" gem "rake", "~> 13.0" -gem "rubocop", "1.84.0" +gem "rubocop", "1.85.0" gem "rubocop-minitest", "0.39.1" gem "rubocop-packaging", "0.6.0" gem "rubocop-performance", "1.26.1" From 2dabce4780781927b09833c7eacf5e82c116d16c Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Wed, 4 Mar 2026 18:08:41 -0800 Subject: [PATCH 2/2] Exclude Style/OneClassPerFile in version.rb --- .rubocop.yml | 4 ++++ rename_template.rb | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 0ef5218..8190a33 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -103,6 +103,10 @@ Style/EmptyMethod: Style/FormatStringToken: Enabled: false +Style/OneClassPerFile: + Exclude: + - "lib/tomo/plugin/example/version.rb" + Style/NumericPredicate: Enabled: false diff --git a/rename_template.rb b/rename_template.rb index 0d1469f..7656184 100755 --- a/rename_template.rb +++ b/rename_template.rb @@ -65,6 +65,9 @@ def main # rubocop:disable Metrics/AbcSize, Metrics/MethodLength replace_in_file "bin/console", "tomo/plugin/example" => as_path(gem_name) + replace_in_file ".rubocop.yml", + "example/version" => "#{as_path(plugin_name)}/version" + replace_in_file "example.gemspec", "mattbrictson/tomo-plugin" => github_repo, '"Example Owner"' => author_name.inspect,