From f6089c70e8245e1af86936cb858ec3058f030065 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Wed, 7 Mar 2018 12:51:26 +0000 Subject: [PATCH] Update minimum required Ruby version to 2.3.x --- beef | 6 +++--- test/common/ts_common.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/beef b/beef index d894654f9..0942b0153 100755 --- a/beef +++ b/beef @@ -12,11 +12,11 @@ $VERBOSE = nil # -# @note Version check to ensure BeEF is running Ruby 2.2+ +# @note Version check to ensure BeEF is running Ruby 2.3+ # -if RUBY_VERSION < '2.2' +if RUBY_VERSION < '2.3' puts - puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.2 or later." + puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.3 or later." puts exit 1 end diff --git a/test/common/ts_common.rb b/test/common/ts_common.rb index 219afc1b5..e758263d2 100644 --- a/test/common/ts_common.rb +++ b/test/common/ts_common.rb @@ -5,9 +5,9 @@ # # @note Version check to ensure BeEF is running Ruby 2.0+ -if RUBY_VERSION < '2.2' +if RUBY_VERSION < '2.3' puts "\n" - puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.2 or later." + puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.3 or later." puts "\n" exit 1 end