From b4797006f0354874ac191c74416e46f682f362ac Mon Sep 17 00:00:00 2001 From: Peter Cai <222655+pcai@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:58:02 +0000 Subject: [PATCH] require mfa to publish, update ruby version req in readme --- README.md | 2 +- winrm.gemspec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7de65ae6..c594afaf 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ site](http://msdn.microsoft.com/en-us/library/aa384426.aspx). As of version 2.0, this gem retains the WinRM name but all powershell calls use the more modern [Powershell Remoting Protocol (PSRP)](https://msdn.microsoft.com/en-us/library/dd357801.aspx) for initializing runspace pools as well as creating and processing powershell pipelines. ## Supported Ruby Versions -Ruby 2.0 or higher is required. If you need to use an older version of Ruby you'll need to use a 1.x version of this gem. +Ruby 3.0 or higher is required. If you need to use an older version of Ruby you'll need to use a previous version of this gem. ## Supported WinRM Versions WinRM 1.1 is supported, however 2.0 and higher is recommended. [See MSDN](http://technet.microsoft.com/en-us/library/ff520073.aspx) for information about WinRM versions and supported operating systems. diff --git a/winrm.gemspec b/winrm.gemspec index 02c1a975..9e6806a4 100644 --- a/winrm.gemspec +++ b/winrm.gemspec @@ -44,4 +44,6 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec', '~> 3.2' s.add_development_dependency 'rubocop', '~> 1.26.0' s.add_runtime_dependency 'rubyntlm', '~> 0.6.0', '>= 0.6.3' + + s.metadata['rubygems_mfa_required'] = 'true' end