From 66c67f80de00178527184d38ad17d1b08f351a75 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 26 Apr 2023 22:13:05 +0200 Subject: [PATCH] Drop EoL Ruby 2.4/2.5/2.6 --- .github/workflows/test.yml | 3 --- puppet_metadata.gemspec | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8bc25e4..ce718f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,9 +16,6 @@ jobs: fail-fast: false matrix: include: - - ruby: "2.4" - - ruby: "2.5" - - ruby: "2.6" - ruby: "2.7" - ruby: "3.0" - ruby: "3.1" diff --git a/puppet_metadata.gemspec b/puppet_metadata.gemspec index 6e62a2e..19542d1 100644 --- a/puppet_metadata.gemspec +++ b/puppet_metadata.gemspec @@ -10,6 +10,8 @@ Gem::Specification.new do |s| s.description = 'A package that provides abstractions for the Puppet Metadata' s.licenses = 'Apache-2.0' + s.required_ruby_version = Gem::Requirement.new('>= 2.7') + s.executables << 'metadata2gha' s.files = Dir['lib/**/*.rb'] s.extra_rdoc_files = ['README.md']