Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2019]
ruby: ['3.0', '3.1', '3.2', '3.3']
os: [ubuntu-latest, windows-latest]
ruby: ['3.2', '3.3', '3.4', '4.0']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.2
NewCops: disable

Exclude:
- 'appveyor.yml'
Expand Down
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 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.
Ruby 3.2 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
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "master-{build}"

image: Visual Studio 2019
image: Visual Studio 2022
platform:
- x64

Expand All @@ -11,9 +11,9 @@ environment:
user_key: c:\projects\winrm\key.pem

matrix:
- ruby_version: "31"
- ruby_version: "33-x64"
winrm_endpoint: http://localhost:5985/wsman
- ruby_version: "30"
- ruby_version: "32-x64"
winrm_endpoint: http://localhost:5985/wsman

clone_folder: c:\projects\winrm
Expand Down
7 changes: 4 additions & 3 deletions winrm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Gem::Specification.new do |s|

s.bindir = 'bin'
s.executables = ['rwinrm']
s.required_ruby_version = '>= 3.0'
s.required_ruby_version = '>= 3.2'
s.add_runtime_dependency 'base64', '~> 0.2'
s.add_runtime_dependency 'builder', '>= 2.1.2'
s.add_runtime_dependency 'erubi', '~> 1.8'
s.add_runtime_dependency 'gssapi', '~> 1.2'
Expand All @@ -39,10 +40,10 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'nori', '~> 2.0', '>= 2.7.1'
s.add_runtime_dependency 'rexml', '~> 3.0'
s.add_development_dependency 'pry'
s.add_development_dependency 'rake', '>= 10.3', '< 13'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rb-readline'
s.add_development_dependency 'rspec', '~> 3.2'
s.add_development_dependency 'rubocop', '~> 1.26.0'
s.add_development_dependency 'rubocop', '~> 1.87'
s.add_runtime_dependency 'rubyntlm', '~> 0.6.0', '>= 0.6.3'

s.metadata['rubygems_mfa_required'] = 'true'
Expand Down
Loading