From ef7e227cf7e7954f8a86c9f490230905faee67d2 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 11 Feb 2022 08:54:20 +0100 Subject: [PATCH] document minimal Ruby 2.5 version in gemspec --- facterdb.gemspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/facterdb.gemspec b/facterdb.gemspec index b4e2eaf2..f536df50 100644 --- a/facterdb.gemspec +++ b/facterdb.gemspec @@ -16,6 +16,9 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + # we have that configured in our CI file + s.required_ruby_version = Gem::Requirement.new('>= 2.5.0') + s.add_development_dependency 'coveralls' s.add_development_dependency 'rake' s.add_development_dependency 'pry'