From b654fd9d68e1ebe85646a8fc91661236e6e95dbb Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Tue, 27 Oct 2026 09:56:27 -0400 Subject: [PATCH 1/2] 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" From f46c18b07becb6f153823c7807fee5031d979b39 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Tue, 27 Oct 2026 09:50:59 -0400 Subject: [PATCH 2/2] Unlock net-ssh from `v7.2.*` --- linux_admin.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_admin.gemspec b/linux_admin.gemspec index 683f1fa..2462afa 100644 --- a/linux_admin.gemspec +++ b/linux_admin.gemspec @@ -38,7 +38,7 @@ registration, updates, etc. spec.add_dependency "ed25519", ">= 1.2", "< 2.0" spec.add_dependency "inifile" spec.add_dependency "more_core_extensions", "~> 4.5", ">= 4.5.1" - spec.add_dependency "net-ssh", "~> 7.2.3" + spec.add_dependency "net-ssh", "~> 7.2", ">= 7.2.3" spec.add_dependency "nokogiri", ">= 1.8.5", "!=1.10.0", "!=1.10.1", "!=1.10.2", "<2" spec.add_dependency "openscap" spec.add_development_dependency "simplecov", ">= 0.21.2"