Skip to content

Commit

Permalink
Updating the version, a couple of dependencies, and the name (#4)
Browse files Browse the repository at this point in the history
* Updating the version, a couple of dependencies, and the name
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae authored Jan 7, 2025
1 parent 4334630 commit a286e2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/winrm/psrp/message_data/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def clixml
parser = Nori.new(
parser: :rexml,
advanced_typecasting: false,
convert_tags_to: ->(tag) { Nori::StringUtils.snakecase(tag).to_sym },
convert_tags_to: ->(tag) { tag.snakecase.to_sym },
strip_namespaces: true
)
parser.parse(raw)[:obj][:ms]
Expand Down
2 changes: 1 addition & 1 deletion lib/winrm/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# WinRM module
module WinRM
# The version of the WinRM library
VERSION = '2.3.9'.freeze
VERSION = '2.3.10'.freeze
end
8 changes: 4 additions & 4 deletions winrm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require File.expand_path('lib/winrm/version', __dir__)

Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'winrm'
s.name = 'chef-winrm'
s.version = WinRM::VERSION
s.date = Date.today.to_s

Expand Down Expand Up @@ -31,13 +31,13 @@ Gem::Specification.new do |s|
s.executables = ['rwinrm']
s.required_ruby_version = '>= 3.0'
s.add_runtime_dependency 'builder', '>= 2.1.2'
s.add_runtime_dependency 'chef-gyoku', '>= 1.4.1'
s.add_runtime_dependency 'erubi', '~> 1.8'
s.add_runtime_dependency 'gssapi', '~> 1.2'
s.add_runtime_dependency 'gyoku', '~> 1.0'
s.add_runtime_dependency 'httpclient', '~> 2.2', '>= 2.2.0.2'
s.add_runtime_dependency 'logging', ['>= 1.6.1', '< 3.0']
s.add_runtime_dependency 'nori', '~> 2.0', '>= 2.7.1'
s.add_runtime_dependency 'rexml', '~> 3.0'
s.add_runtime_dependency 'nori', '= 2.7.0' # nori 2.7.1 has a bug where it throws a NoMethodError for snakecase.
s.add_runtime_dependency 'rexml', '~> 3.3' # needs to load at least 3.3.6 to get past a CVE
s.add_development_dependency 'pry'
s.add_development_dependency 'rake', '>= 10.3', '< 13'
s.add_development_dependency 'rb-readline'
Expand Down

0 comments on commit a286e2e

Please sign in to comment.