From 47bd86fd18dd30918955592b4422b02146fc7424 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 25 Dec 2021 17:41:42 +0000 Subject: [PATCH] drop Ruby version warning, fix speling errer The warning was probably lost in the noise of the build, anyways. --- ext/unicorn_http/extconf.rb | 5 ----- unicorn.gemspec | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ext/unicorn_http/extconf.rb b/ext/unicorn_http/extconf.rb index 13dec412..80d00e56 100644 --- a/ext/unicorn_http/extconf.rb +++ b/ext/unicorn_http/extconf.rb @@ -1,11 +1,6 @@ # -*- encoding: binary -*- require 'mkmf' -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 - have_func("rb_hash_clear", "ruby.h") or abort 'Ruby 2.0+ required' message('checking if String#-@ (str_uminus) dedupes... ') diff --git a/unicorn.gemspec b/unicorn.gemspec index 9230199d..b12cf9d3 100644 --- a/unicorn.gemspec +++ b/unicorn.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |s| s.homepage = 'https://yhbt.net/unicorn/' s.test_files = test_files - # 2.0.0 is the minumum supported version. We don't specify + # 2.0.0 is the minimum supported version. We don't specify # a maximum version to make it easier to test pre-releases, # but we do warn users if they install unicorn on an untested # version in extconf.rb -- 2.11.4.GIT