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