From 5d019bf2ae07ab21ab2f2bc20b30a19cb4bd752b Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 24 Sep 2024 12:24:09 -0400 Subject: [PATCH] Drop end of life rubies and rails and add new versions Ensure we're testing and supporting community supported versions. Drop: * ruby 2.7 * ruby 3.0 * rails 6.0 * rails 6.1 Add: * ruby 3.2 * ruby 3.3 * rails 7.1 * rails 7.2 --- .github/workflows/ci.yaml | 8 ++++---- Gemfile | 10 +++++----- manageiq-postgres_ha_admin.gemspec | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4911c9a..3964e88 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,13 +12,13 @@ jobs: strategy: matrix: ruby-version: - - '2.7' - - '3.0' - '3.1' + - '3.2' + - '3.3' rails-version: - - '6.0' - - '6.1' - '7.0' + - '7.1' + - '7.2' services: postgres: image: manageiq/postgresql:13 diff --git a/Gemfile b/Gemfile index eb7f872..8b345b4 100644 --- a/Gemfile +++ b/Gemfile @@ -5,12 +5,12 @@ gemspec minimum_version = case ENV['TEST_RAILS_VERSION'] - when "6.0" - "~>6.0.4" - when "7.0" + when "7.2" + "~>7.2.1" + when "7.1" + "~>7.1.4" + else "7.0" "~>7.0.8" - else - "~>6.1.4" end gem "activesupport", minimum_version diff --git a/manageiq-postgres_ha_admin.gemspec b/manageiq-postgres_ha_admin.gemspec index f595ff8..ad94e05 100644 --- a/manageiq-postgres_ha_admin.gemspec +++ b/manageiq-postgres_ha_admin.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.5.8" + spec.required_ruby_version = ">= 3.1.0" spec.add_runtime_dependency "activesupport", ">=7.0.8", "<8.0" spec.add_runtime_dependency "awesome_spawn", "~> 1.4"