ruby 2.0.0 is EOL
This commit is contained in:
@@ -2,13 +2,15 @@ language: ruby
|
||||
sudo: false
|
||||
cache: bundler
|
||||
rvm:
|
||||
- 2.0.0
|
||||
- 2.1.0
|
||||
- 2.1.1
|
||||
- 2.1.2
|
||||
- 2.1.3
|
||||
- 2.1.4
|
||||
- 2.1.5
|
||||
- 2.1.6
|
||||
- 2.1.7
|
||||
- 2.1.8
|
||||
- 2.2.0
|
||||
- 2.2.1
|
||||
- 2.2.2
|
||||
|
||||
@@ -92,7 +92,7 @@ WPScan comes pre-installed on the following Linux distributions:
|
||||
|
||||
Prerequisites:
|
||||
|
||||
- Ruby >= 2.0.0 - Recommended: 2.3.0
|
||||
- Ruby >= 2.1.0 - Recommended: 2.3.0
|
||||
- Curl >= 7.21 - Recommended: latest - FYI the 7.29 has a segfault
|
||||
- RubyGems - Recommended: latest
|
||||
- Git
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
require 'rubygems'
|
||||
|
||||
version = RUBY_VERSION.dup
|
||||
if Gem::Version.create(version) < Gem::Version.create(2.0)
|
||||
puts "Ruby >= 2.0.0 required to run wpscan (You have #{version})"
|
||||
if Gem::Version.create(version) < Gem::Version.create(2.1)
|
||||
puts "Ruby >= 2.1.0 required to run wpscan (You have #{version})"
|
||||
exit(1)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user