From a35c33b6ac2c7772312eba3f76e1ec6b62739c32 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Mon, 15 Jul 2024 17:08:01 +0200 Subject: [PATCH] Update minimum Ruby version to 2.7 & test on 3.x --- .github/workflows/ruby.yml | 4 ++-- .rubocop_todo.yml | 9 +-------- fog-libvirt.gemspec | 2 +- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a6cf356..c636a7f 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -19,8 +19,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.5', '2.6', '2.7', '3.0', 'head'] - continue-on-error: ${{ matrix.ruby-version == '3.0' || matrix.ruby-version == 'head' }} + ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head'] + continue-on-error: ${{ matrix.ruby-version == 'head' }} steps: - uses: actions/checkout@v4 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 63be1a7..2997e03 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,18 +1,11 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2024-06-24 14:45:35 UTC using RuboCop version 1.64.1. +# on 2024-07-15 15:09:37 UTC using RuboCop version 1.64.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# Configuration parameters: Severity, Include. -# Include: **/*.gemspec -Gemspec/RequiredRubyVersion: - Exclude: - - 'fog-libvirt.gemspec' - # Offense count: 30 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, IndentationWidth. diff --git a/fog-libvirt.gemspec b/fog-libvirt.gemspec index 5c33495..5a8eccc 100644 --- a/fog-libvirt.gemspec +++ b/fog-libvirt.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |s| s.rdoc_options = ["--charset=UTF-8"] s.extra_rdoc_files = %w[README.md] - s.required_ruby_version = '>= 2.5.0' + s.required_ruby_version = '>= 2.7' s.add_dependency("fog-core", ">= 1.27.4") s.add_dependency("fog-json")