Added warning for CGI.parse

This commit is contained in:
Hiroshi SHIBATA 2025-06-04 12:47:09 +09:00
parent 0ecb689617
commit a84f734343
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -3,4 +3,5 @@
require "cgi/escape"
warn <<-WARNING, uplevel: Gem::BUNDLED_GEMS.uplevel if $VERBOSE
CGI::Util is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you are using CGI.parse, please install and use the cgi gem instead.
WARNING