From b654fd9d68e1ebe85646a8fc91661236e6e95dbb Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Tue, 27 Oct 2026 09:56:27 -0400 Subject: [PATCH] Drop older ruby versions 2.6, 2.7, 3.0, and 3.1 Ruby 2.6 and 2.7 are unavailable on ubuntu-26.04 and have been EOL for years. --- .github/workflows/ci.yaml | 6 ++---- linux_admin.gemspec | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cc1616..07a860a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,12 +19,10 @@ jobs: strategy: matrix: ruby-version: - - '2.6' - - '2.7' - - '3.0' - - '3.1' - '3.2' - '3.3' + - '3.4' + - '4.0' steps: - uses: actions/checkout@v7 - name: Set up Ruby diff --git a/linux_admin.gemspec b/linux_admin.gemspec index 64ec2d9..683f1fa 100644 --- a/linux_admin.gemspec +++ b/linux_admin.gemspec @@ -26,7 +26,7 @@ registration, updates, etc. spec.executables = `git ls-files -- bin/*`.split("\n") spec.require_paths = ["lib"] - spec.required_ruby_version = Gem::Requirement.new(">= 2.6") + spec.required_ruby_version = Gem::Requirement.new(">= 3.0") spec.add_development_dependency "manageiq-style" spec.add_development_dependency "rake"