From f474b799a2f34bdd964bf3fc94a9a6812266e5a9 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 24 May 2024 19:49:11 +0200 Subject: [PATCH] require rspec-puppet-facts 5.x; drop legacy facts support rspec-puppet-facts uses FacterDB 3, which removed legacy facts. --- voxpupuli-test.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxpupuli-test.gemspec b/voxpupuli-test.gemspec index eed4b25..a93c6e4 100644 --- a/voxpupuli-test.gemspec +++ b/voxpupuli-test.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency 'rake', '~> 13.0', '>= 13.0.6' # Testing - s.add_runtime_dependency 'facterdb', '~> 2.1' + s.add_runtime_dependency 'facterdb', '~> 3.1' s.add_runtime_dependency 'metadata-json-lint', '~> 4.0' s.add_runtime_dependency 'parallel_tests', '~> 4.2' s.add_runtime_dependency 'puppetlabs_spec_helper', '~> 7.3' @@ -25,7 +25,7 @@ Gem::Specification.new do |s| # 3.0.0 and later require Ruby 2.7 s.add_runtime_dependency 'puppet-strings', '~> 4.0' s.add_runtime_dependency 'rspec-puppet', '~> 4.0' - s.add_runtime_dependency 'rspec-puppet-facts', '~> 4.0' + s.add_runtime_dependency 'rspec-puppet-facts', '~> 5.0' s.add_runtime_dependency 'rspec-puppet-utils', '~> 3.4' # Rubocop