Skip to content

Commit

Permalink
Bump ruby requirement to >= 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsanford committed Sep 26, 2023
1 parent 289e2d8 commit 4fb47e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require: rubocop-performance
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
Exclude:
- '*.gemspec'
- 'vendor/**/*'
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wpscan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['[email protected]']
s.summary = 'WPScan - WordPress Vulnerability Scanner'
Expand Down

0 comments on commit 4fb47e1

Please sign in to comment.