From f3eab8edfd0481d26b61835207dd2e82af46faef Mon Sep 17 00:00:00 2001
From: Darius Schneider <schneider@itc.rwth-aachen.de>
Date: Tue, 27 May 2025 11:20:52 +0200
Subject: [PATCH] rubocop base

---
 ruby/rubocop/rubocop-base.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ruby/rubocop/rubocop-base.yml b/ruby/rubocop/rubocop-base.yml
index d473c00..87c2705 100644
--- a/ruby/rubocop/rubocop-base.yml
+++ b/ruby/rubocop/rubocop-base.yml
@@ -107,10 +107,11 @@ Minitest/MultipleAssertions:
 # Rails/DangerousColumnNames: mainly to allow adding and changing column named 'id'
 # Rails/NegateInclude: allow classes to define include? and not force to also define exclude?, like IPAddr
 # Rails/RakeEnvironment: allow tasks to not depend on :environment task
+# Rails/RefuteMethods: allow to use refute methods, especially useful for gems
 # Rails/ThreeStateBooleanColumn: allow usage of three-state boolean columns, it may be an STI table
 Style/DisableCopsWithinSourceCodeDirective:
   Enabled: true
-  AllowedCops: ['ItcGemRubocop/DevelopmentHosts', 'ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/RakeEnvironment', 'Rails/ThreeStateBooleanColumn']
+  AllowedCops: ['ItcGemRubocop/DevelopmentHosts', 'ItcGemRubocop/NocPortalRz', 'Lint/UnusedMethodArgument', 'Naming/PredicateName', 'Naming/VariableNumber', 'Rails/CreateTableWithTimestamps', 'Rails/DangerousColumnNames', 'Rails/NegateInclude', 'Rails/RakeEnvironment', 'Rails/RefuteMethods', 'Rails/ThreeStateBooleanColumn']
 
 # documentation of classes in migrations and tests is not needed
 Style/Documentation:
-- 
GitLab