diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 3829e589..4ef4c127 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -11,14 +11,14 @@ expeditor: steps: -- label: run-lint-and-specs-ruby-3.1 +- label: run-lint-and-specs-ruby-3.3 command: - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: - image: ruby:3.1-buster -- label: run-lint-and-specs-windows + image: ruby:3.3 +- label: run-lint-and-specs-windows-3.3 command: - gem install chef-utils - bundle install --jobs=7 --retry=3 @@ -27,4 +27,4 @@ steps: executor: docker: host_os: windows - image: rubydistros/windows-2019:3.1 + image: rubydistros/windows-2019:3.3 diff --git a/Gemfile b/Gemfile index 638548b1..d0202049 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ if ENV["GEMFILE_MOD"] puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}" instance_eval(ENV["GEMFILE_MOD"]) else - gem "ohai", git: "https://github.com/chef/ohai", branch: "main" + gem "ohai", "~> 18.0" gem "knife" end diff --git a/knife-windows.gemspec b/knife-windows.gemspec index ff4e74c3..5044ca8e 100644 --- a/knife-windows.gemspec +++ b/knife-windows.gemspec @@ -12,8 +12,8 @@ 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 = ">= 3.1" - s.add_dependency "chef", ">= 18.2" + s.required_ruby_version = ">= 3.3" + s.add_dependency "chef", "~> 18.0" s.add_dependency "winrm", "~> 2.1" s.add_dependency "winrm-elevated", "~> 1.0"