Skip to content

Commit acea993

Browse files
committed
Drop Ruby 2.5 / 2.6 support
In the past CI was adjusted to Require Ruby 2.7 or newer, but we didn't drop the old versions from the gemspec. While it claims to support Ruby 2.5 & 2.6, it doesn't work in reality. This changes fixes this. Ruby 2.5 was used in puppet AIO 6 / and jruby 9.3 (compatible with Ruby 2.6) in puppetserver 7. Both are EoL since ages.
1 parent 876e89c commit acea993

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
inherit_from: .rubocop_todo.yml
33

44
AllCops:
5-
TargetRubyVersion: 2.5
5+
TargetRubyVersion: 2.7
66
Exclude:
77
- acceptance/**/*
88
- vendor/**/*

openfact.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
2424
base = "#{__dir__}#{File::SEPARATOR}"
2525
spec.files = dirs.map { |path| path.sub(base, '') }
2626

27-
spec.required_ruby_version = '>= 2.5', '< 5.0'
27+
spec.required_ruby_version = '>= 2.7', '< 5.0'
2828
spec.bindir = 'bin'
2929
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
3030
spec.require_paths = ['lib']

0 commit comments

Comments
 (0)