Skip to content

Commit 55ca289

Browse files
committed
Require Ruby 3.1 or newer
Ruby 3.0 and older are EoL. Also latest PathSpec dropped support for Ruby 3.0.
1 parent c407756 commit 55ca289

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ruby_version:
21-
- "2.7"
21+
- "3.3"
2222
- "3.2"
23+
- "3.1"
2324
include:
2425
- ruby-version: '2.7'
2526
puppet_gem_version: '~> 7.0'
@@ -42,8 +43,9 @@ jobs:
4243
strategy:
4344
matrix:
4445
ruby_version:
45-
- "2.7"
46+
- "3.3"
4647
- "3.2"
48+
- "3.1"
4749
include:
4850
- ruby-version: '2.7'
4951
puppet_gem_version: '~> 7.0'

puppet-modulebuilder.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
2525
spec.require_paths = ['lib']
2626
# minitar and pathspec is required for building Puppet modules
2727
spec.add_runtime_dependency 'minitar', '~> 0.9'
28-
spec.add_runtime_dependency 'pathspec', '>= 0.2.1', '< 2.0.0'
28+
spec.add_runtime_dependency 'pathspec', '~> 2.1'
2929

30-
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
30+
spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
3131
end

0 commit comments

Comments
 (0)