From 8c48649c840441e74b88c113a7c7fe974e59864c Mon Sep 17 00:00:00 2001 From: Rafael Santos Date: Mon, 10 Jun 2024 09:15:28 +1200 Subject: [PATCH] Include support for all Ruby versions that did not reach EOL. Atm, this include ruby 3.1 and up which should be helpful for people that have something preventing them from upgrading immediately to latest ruby version. --- .github/workflows/main.yml | 2 ++ mistral.gemspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b1a3e78..fff3e3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,8 @@ jobs: strategy: matrix: ruby: + - '3.1.6' + - '3.2.4' - '3.3.0' steps: diff --git a/mistral.gemspec b/mistral.gemspec index 2fb90e8..34220c7 100644 --- a/mistral.gemspec +++ b/mistral.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = 'A 1:1 Ruby port of the official Mistral Python client, with feature and API parity.' spec.homepage = 'https://github.com/wilsonsilva/mistral' spec.license = 'MIT' - spec.required_ruby_version = '>= 3.3.0' + spec.required_ruby_version = '>= 3.1.0' spec.metadata['allowed_push_host'] = 'https://rubygems.org'