From 04694c7c549b2d1cff7ddb1ec9f8da30528cd526 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 24 Sep 2024 13:18:43 -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 * rails 6.0 * rails 6.1 Add: * ruby 3.2 * ruby 3.3 * rails 7.1 * rails 7.2 Note: ruby 3.0 is not difficult to keep maintaining for now but it's on the chopping block. --- .github/workflows/ci.yaml | 7 ++++--- Gemfile | 10 +++++----- manageiq-messaging.gemspec | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 006edfe..22095d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,13 +12,14 @@ 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' env: TEST_RAILS_VERSION: ${{ matrix.rails-version }} CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} diff --git a/Gemfile b/Gemfile index ca4c153..5eb745e 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" - "~>7.0.8" + when "7.2" + "~>7.2.1" + when "7.1" + "~>7.1.4" else - "~>6.1.4" + "~>7.0.8" end gem "activesupport", minimum_version diff --git a/manageiq-messaging.gemspec b/manageiq-messaging.gemspec index 74cb1d9..38c6497 100644 --- a/manageiq-messaging.gemspec +++ b/manageiq-messaging.gemspec @@ -6,7 +6,7 @@ require 'manageiq/messaging/version' Gem::Specification.new do |spec| spec.name = "manageiq-messaging" spec.version = ManageIQ::Messaging::VERSION - spec.required_ruby_version = '>= 3.1' + spec.required_ruby_version = '>= 3.0' spec.authors = ["ManageIQ Authors"] spec.summary = 'Client library for ManageIQ components to exchange messages through its internal message bus.'