From 0de309112b8946fd1a7c693b9763b76734c8c9c6 Mon Sep 17 00:00:00 2001
From: cn <cn@mycrobase.de>
Date: Mon, 31 Mar 2025 23:14:42 +0200
Subject: [PATCH] ci: ignore vulns on old rubies

---
 .rubocop.yml | 2 +-
 Rakefile     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.rubocop.yml b/.rubocop.yml
index 65a45cf..ff4533e 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,4 +1,4 @@
-require:
+plugins:
 - rubocop-rake
 - rubocop-rspec
 
diff --git a/Rakefile b/Rakefile
index 02cbb3d..8b056a4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -69,7 +69,7 @@ end
 namespace :bundle do
   desc 'Check for vulnerabilities with bundler-audit'
   task :audit do
-    sh 'bundler-audit check --ignore GHSA-vvfq-8hwr-qm4m'
+    sh 'bundler-audit check --ignore GHSA-vvfq-8hwr-qm4m' if !RUBY_VERSION.start_with?('3.0')
   end
 end