From f1df33ecb18f549976cde3ee87736989776e4409 Mon Sep 17 00:00:00 2001
From: Darius Schneider <schneider@itc.rwth-aachen.de>
Date: Tue, 20 May 2025 11:07:19 +0200
Subject: [PATCH] inherit_from array

---
 ruby/rubocop-for-gem.yml   | 5 +++--
 ruby/rubocop-for-rails.yml | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ruby/rubocop-for-gem.yml b/ruby/rubocop-for-gem.yml
index c2955ae..df3f591 100644
--- a/ruby/rubocop-for-gem.yml
+++ b/ruby/rubocop-for-gem.yml
@@ -1,5 +1,6 @@
-inherit_from: "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-base.yml"
-inherit_from: "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-rails.yml"
+inherit_from:
+  - "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-base.yml"
+  - "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-rails.yml"
 
 plugins:
   - rubocop-packaging
diff --git a/ruby/rubocop-for-rails.yml b/ruby/rubocop-for-rails.yml
index ad6f9c7..da4e931 100644
--- a/ruby/rubocop-for-rails.yml
+++ b/ruby/rubocop-for-rails.yml
@@ -1,5 +1,6 @@
-inherit_from: "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-base.yml"
-inherit_from: "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-rails.yml"
+inherit_from:
+  - "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-base.yml"
+  - "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/ruby/rubocop/rubocop-rails.yml"
 
 plugins:
   - itc-gem_rubocop
-- 
GitLab