Bump minimum required Ruby version from 2.3+ to 2.4+

This commit is contained in:
Brendan Coles
2019-02-10 10:43:11 +00:00
parent 4ce319b447
commit f48acc3708
2 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
language: ruby
rvm:
- 2.3.0
- 2.4.0
- 2.5.0
- 2.6.0

6
beef
View File

@@ -12,11 +12,11 @@
$VERBOSE = nil
#
# @note Version check to ensure BeEF is running Ruby 2.3+
# @note Version check to ensure BeEF is running Ruby 2.4+
#
if RUBY_VERSION < '2.3'
if RUBY_VERSION < '2.4'
puts
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.3 or later."
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.4 or later."
puts
exit 1
end