From 4fb47e1c3ba6526cd8a38853d22c0cae8060440c Mon Sep 17 00:00:00 2001 From: Alex Sanford Date: Tue, 26 Sep 2023 15:34:25 -0300 Subject: [PATCH] Bump ruby requirement to >= 2.7 --- .rubocop.yml | 2 +- README.md | 3 +-- wpscan.gemspec | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e7d7bffe1..e483da942 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ require: rubocop-performance AllCops: NewCops: enable SuggestExtensions: false - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 Exclude: - '*.gemspec' - 'vendor/**/*' diff --git a/README.md b/README.md index 8aebac389..261fcdf9b 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,7 @@ ## Prerequisites - (Optional but highly recommended: [RVM](https://rvm.io/rvm/install)) -- Ruby >= 2.5 - Recommended: latest - - Ruby 2.5.0 to 2.5.3 can cause an 'undefined symbol: rmpd_util_str_to_d' error in some systems, see [#1283](https://github.com/wpscanteam/wpscan/issues/1283) +- Ruby >= 2.7 - Recommended: latest - Curl >= 7.72 - Recommended: latest - The 7.29 has a segfault - The < 7.72 could result in `Stream error in the HTTP/2 framing layer` in some cases diff --git a/wpscan.gemspec b/wpscan.gemspec index c35b5bd04..4c946cc03 100644 --- a/wpscan.gemspec +++ b/wpscan.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.name = 'wpscan' s.version = WPScan::VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.5' + s.required_ruby_version = '>= 2.7' s.authors = ['WPScanTeam'] s.email = ['contact@wpscan.com'] s.summary = 'WPScan - WordPress Vulnerability Scanner'