Bump ruby requirement to >= 2.7

This commit is contained in:
Alex Sanford
2023-09-26 15:34:25 -03:00
parent 289e2d80c1
commit 4fb47e1c3b
3 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ require: rubocop-performance
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
Exclude:
- '*.gemspec'
- 'vendor/**/*'

View File

@@ -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

View File

@@ -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'