From ade86e842e64c5d2e450f2b8b04739b2ad23fcca Mon Sep 17 00:00:00 2001 From: John McCrae Date: Thu, 9 Jan 2025 16:28:00 +0000 Subject: [PATCH] updating winrm-fs to release a chef version Signed-off-by: John McCrae --- .github/workflows/build.yml | 4 ++-- .rubocop.yml | 2 +- VERSION | 2 +- winrm-fs.gemspec | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cda1c1b..561fc31 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-18.04, windows-2019] - ruby: ['2.6', '2.7', '3.0', '3.1'] + os: [windows-2019, windows-2022] + ruby: ['3.0', '3.1'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.rubocop.yml b/.rubocop.yml index 4f21afe..4bb59ef 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,6 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.0 Naming/FileName: Exclude: diff --git a/VERSION b/VERSION index 80e78df..95b25ae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.5 +1.3.6 diff --git a/winrm-fs.gemspec b/winrm-fs.gemspec index b2596e5..3a5bafd 100644 --- a/winrm-fs.gemspec +++ b/winrm-fs.gemspec @@ -6,7 +6,7 @@ version = File.read(File.expand_path('VERSION', __dir__)).strip Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY - s.name = 'winrm-fs' + s.name = 'chef-winrm-fs' s.version = version s.date = Date.today.to_s @@ -27,13 +27,13 @@ Gem::Specification.new do |s| s.bindir = 'bin' s.executables = ['rwinrmcp'] - s.required_ruby_version = '>= 2.5.0' + s.required_ruby_version = '>= 3.0' + s.add_runtime_dependency 'chef-winrm', '>= 2.3.10' s.add_runtime_dependency 'erubi', '>= 1.7' s.add_runtime_dependency 'logging', ['>= 1.6.1', '< 3.0'] s.add_runtime_dependency 'rubyzip', '~> 2.0' - s.add_runtime_dependency 'winrm', '~> 2.0' s.add_development_dependency 'pry' - s.add_development_dependency 'rake', '>= 10.3', '< 13' + s.add_development_dependency 'rake', '>= 13.2.1' s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rubocop', '~> 1.26.0' end