From 2cdf0f783cfc9534dbc0fe3cba0f42ee20d78d84 Mon Sep 17 00:00:00 2001 From: Leos Stejskal Date: Wed, 10 Jun 2026 10:04:34 +0200 Subject: [PATCH] Require ruby 3.0 and higher --- .github/workflows/ruby_ci.yaml | 2 +- .rubocop.yml | 2 +- foreman_bootdisk.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby_ci.yaml b/.github/workflows/ruby_ci.yaml index edd0cae..b0aba37 100644 --- a/.github/workflows/ruby_ci.yaml +++ b/.github/workflows/ruby_ci.yaml @@ -12,7 +12,7 @@ concurrency: jobs: rubocop: - uses: theforeman/actions/.github/workflows/rubocop.yml@v0 + uses: theforeman/actions/.github/workflows/rubocop.yml@v1 with: command: bundle exec rubocop --parallel --format github diff --git a/.rubocop.yml b/.rubocop.yml index e3c73a0..237131b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ inherit_gem: - lenient.yml AllCops: - TargetRubyVersion: '2.7' + TargetRubyVersion: '3.0' NewCops: disable Exclude: - 'release-gem' diff --git a/foreman_bootdisk.gemspec b/foreman_bootdisk.gemspec index 70ed849..82c4653 100644 --- a/foreman_bootdisk.gemspec +++ b/foreman_bootdisk.gemspec @@ -26,5 +26,5 @@ Gem::Specification.new do |s| ['LICENSE', 'README.md'] + ['package.json'] - s.required_ruby_version = '>= 2.7', '< 4' + s.required_ruby_version = '>= 3.0', '< 4' end