Skip to content

Commit

Permalink
Fixes warning related to ostruct
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanlr authored Sep 5, 2024
1 parent 5c3f70f commit 253e148
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cms_scanner.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ Gem::Specification.new do |s|

s.add_dependency 'sys-proctable', '>= 1.2.2', '< 1.4.0' # Required by get_process_mem for Windows OS.

# Fixes warning: ostruct was loaded from the standard library
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.3')
s.add_dependency('ostruct', '~> 0.6')
end

s.add_development_dependency 'bundler', '>= 1.6'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec', '~> 3.12.0'
Expand Down

0 comments on commit 253e148

Please sign in to comment.