From 530bafbf23c7fe71778f1058f79706d8b244add9 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Mon, 30 Dec 2024 13:57:09 +0100 Subject: [PATCH] Support Ruby 3.1 through 3.4 This drops support for Ruby 3.0 which is EOL. --- .github/workflows/ruby.yml | 2 +- .rubocop.yml | 2 +- gir_ffi-gtk.gemspec | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index fea119a..9c51612 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - ruby: ["3.0", "3.1", "3.2", "3.3"] + ruby: ["3.1", "3.2", "3.3", "3.4"] steps: - uses: actions/checkout@v4 diff --git a/.rubocop.yml b/.rubocop.yml index 541d4b9..1996d30 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 # Put development dependencies in the gemspec so rubygems.org knows about them Gemspec/DevelopmentDependencies: diff --git a/gir_ffi-gtk.gemspec b/gir_ffi-gtk.gemspec index 4633bfb..ba13d87 100644 --- a/gir_ffi-gtk.gemspec +++ b/gir_ffi-gtk.gemspec @@ -11,8 +11,9 @@ Gem::Specification.new do |spec| spec.summary = "GirFFI-based Ruby bindings for Gtk+ 2 and 3" spec.description = "Bindings for Gtk+ 2 and 3, generated by GirFFI, with overrides." spec.homepage = "http://www.github.com/mvz/gir_ffi-gtk" + spec.license = "LGPL-2.1+" - spec.required_ruby_version = ">= 3.0.0" + spec.required_ruby_version = ">= 3.1.0" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/mvz/gir_ffi-gtk"