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 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 3724c86..d47c365 100644 --- a/smart_proxy_pulp.gemspec +++ b/smart_proxy_pulp.gemspec @@ -14,9 +14,8 @@ 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' - gem.required_ruby_version = '>= 2.7', '< 4' + gem.required_ruby_version = '>= 3.0', '< 5' end