From ded9a529ed991bf27b2a6fe97740bfb3f04cb905 Mon Sep 17 00:00:00 2001 From: John McCrae Date: Fri, 9 Aug 2024 17:37:09 +0000 Subject: [PATCH] Updating rxml dependency Signed-off-by: John McCrae --- knife-windows.gemspec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/knife-windows.gemspec b/knife-windows.gemspec index 6312d398..0140e066 100644 --- a/knife-windows.gemspec +++ b/knife-windows.gemspec @@ -12,9 +12,10 @@ Gem::Specification.new do |s| s.summary = %q{Plugin that adds functionality to Chef Infra's Knife CLI for configuring/interacting with nodes running Microsoft Windows} s.description = s.summary - s.required_ruby_version = ">= 2.7", "< 3.1" - s.add_dependency "chef", "~> 17.10" + s.required_ruby_version = ">= 3.0", "< 3.1" + s.add_dependency "chef", "~> 17.10.122" s.add_dependency "winrm", "~> 2.1" + s.add_dependency "rexml", "<= 3.3.1" # A non xml string parsing will throw an error 3.3.2 onward. https://github.com/ruby/rexml/issues/180 s.add_dependency "winrm-elevated", "~> 1.0" s.add_development_dependency "pry"