Added migration wrapper for cgi.rb and cgi/util.rb
This commit is contained in:
parent
ce6c1778fb
commit
5aade8a84a
Notes:
git
2025-05-09 05:27:41 +00:00
7
lib/cgi.rb
Normal file
7
lib/cgi.rb
Normal file
@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cgi/escape"
|
||||
warn <<-WARNING, uplevel: 1 if $VERBOSE
|
||||
CGI library is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
|
||||
If you need to use the full features of CGI library, Please install cgi gem.
|
||||
WARNING
|
6
lib/cgi/util.rb
Normal file
6
lib/cgi/util.rb
Normal file
@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "cgi/escape"
|
||||
warn <<-WARNING, uplevel: 1 if $VERBOSE
|
||||
CGI::Util is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
|
||||
WARNING
|
Loading…
x
Reference in New Issue
Block a user