Skip to content

Commit

Permalink
Merge pull request #1858 from wpscanteam/fixes-warnings
Browse files Browse the repository at this point in the history
Fixes various warnings with Ruby 3.3
  • Loading branch information
erwanlr authored Sep 5, 2024
2 parents 911478d + dd592be commit 87d44c5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion wpscan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ Gem::Specification.new do |s|
s.executables = ['wpscan']
s.require_paths = ['lib']

s.add_dependency 'cms_scanner', '~> 0.14.2'
s.add_dependency 'cms_scanner', '~> 0.14.3'

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

s.add_development_dependency 'bundler', '>= 1.6'
s.add_development_dependency 'memory_profiler', '~> 1.0.0'
Expand Down

0 comments on commit 87d44c5

Please sign in to comment.