Bump ruby requirement to >= 2.7
This commit is contained in:
@@ -2,7 +2,7 @@ require: rubocop-performance
|
||||
AllCops:
|
||||
NewCops: enable
|
||||
SuggestExtensions: false
|
||||
TargetRubyVersion: 2.5
|
||||
TargetRubyVersion: 2.7
|
||||
Exclude:
|
||||
- '*.gemspec'
|
||||
- 'vendor/**/*'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user