From 03abc8fbfe952f8b51f8e06b2142b98db5e444c8 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 23 Jan 2026 11:50:46 +0100 Subject: [PATCH 1/3] Update to theforeman/actions v1 --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35dd51e..94d1a71 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,11 +15,9 @@ concurrency: jobs: rubocop: name: Rubocop - uses: theforeman/actions/.github/workflows/rubocop.yml@v0 - with: - ruby: '3.0' + uses: theforeman/actions/.github/workflows/rubocop.yml@v1 test: name: Ruby needs: rubocop - uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v0 + uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v1 From 520e2b54caa9acefce29f0a637ffab2c6cdf919b Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 23 Jan 2026 11:45:34 +0100 Subject: [PATCH 2/3] Drop test_files from gemspec This feature is deprecated and should be dropped. --- smart_proxy_pulp.gemspec | 1 - 1 file changed, 1 deletion(-) diff --git a/smart_proxy_pulp.gemspec b/smart_proxy_pulp.gemspec index 3724c86..06489e6 100644 --- a/smart_proxy_pulp.gemspec +++ b/smart_proxy_pulp.gemspec @@ -14,7 +14,6 @@ Gem::Specification.new do |gem| gem.description = 'Plugin for Basic Pulp support for Foreman Smart-Proxy' gem.files = Dir['{bundler.d,lib,settings.d}/**/*', 'LICENSE', 'Gemfile'] - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] gem.license = 'GPL-3.0-only' From 01a2719a7701f704d48097a45ba604c37307c5a5 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Fri, 23 Jan 2026 11:45:13 +0100 Subject: [PATCH 3/3] Drop Ruby 2.7 support, add Ruby 4 support --- .rubocop.yml | 2 +- smart_proxy_pulp.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 1c047b6..bf3b040 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 2.7 + TargetRubyVersion: '3.0' Exclude: - 'extra/**/*.rb' - 'vendor/**/*' diff --git a/smart_proxy_pulp.gemspec b/smart_proxy_pulp.gemspec index 06489e6..d47c365 100644 --- a/smart_proxy_pulp.gemspec +++ b/smart_proxy_pulp.gemspec @@ -17,5 +17,5 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.license = 'GPL-3.0-only' - gem.required_ruby_version = '>= 2.7', '< 4' + gem.required_ruby_version = '>= 3.0', '< 5' end