Skip to content

Commit 4813d11

Browse files
committed
Require Ruby 2.6 or newer
1 parent 4e912d8 commit 4813d11

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/unit_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
ruby:
21-
- '2.5'
21+
- '2.6'
2222
- '2.7'
2323
- '3.0'
2424
- '3.2'

.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.6
66
Exclude:
77
- acceptance/**/*
88
- vendor/**/*

facter.gemspec

Lines changed: 2 additions & 2 deletions
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', '< 4.0'
27+
spec.required_ruby_version = '>= 2.6', '< 4.0'
2828
spec.bindir = 'bin'
2929
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
3030
spec.require_paths = ['lib']
@@ -47,5 +47,5 @@ Gem::Specification.new do |spec|
4747
spec.add_development_dependency 'yard', '~> 0.9'
4848

4949
spec.add_runtime_dependency 'hocon', '~> 1.3'
50-
spec.add_runtime_dependency 'thor', ['>= 1.0.1', '< 1.3'] # Thor 1.3.0 drops support for Ruby 2.5
50+
spec.add_runtime_dependency 'thor', '~> 1.0'
5151
end

0 commit comments

Comments
 (0)