Skip to content

Commit

Permalink
require mfa to publish, update ruby version req in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pcai committed Jun 27, 2024
1 parent b8273ae commit b479700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions winrm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b479700

Please sign in to comment.