From 06e904f1e8d8e554d8992fbb3de993dff45dec4c Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 4 Sep 2020 14:34:37 +0200 Subject: Update ruby_version requirement to allow ruby 3.0 Ruby just recently bump the master version to 3.0. This requirement bump is necessary to test unicorn against ruby master. [ew: wrap at <80 columns for hackers with poor eyesight] Acked-by: Eric Wong --- test/test_helper.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/test_helper.rb b/test/test_helper.rb index e3c6ad4..974d2f2 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -34,6 +34,11 @@ if ENV['DEBUG'] Debugger.start end +unless RUBY_VERSION < '3.1' + warn "Unicorn was only tested against MRI up to 3.0.\n" \ + "It might not properly work with #{RUBY_VERSION}" +end + def redirect_test_io orig_err = STDERR.dup orig_out = STDOUT.dup -- cgit v1.2.3-24-ge0c7