From d34da72cd31ddc3dc1343904c7abc8ae8d3a26af Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Wed, 24 Feb 2016 23:41:32 +0100 Subject: [PATCH] ruby 2.0.0 is EOL --- .travis.yml | 4 +++- README.md | 2 +- lib/environment.rb | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1520f271..a23e6e1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 77c7ba61..8f38f581 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/environment.rb b/lib/environment.rb index 91e74e36..865a703e 100644 --- a/lib/environment.rb +++ b/lib/environment.rb @@ -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