summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2025-11-12 00:51:40 +0900
committergit <svn-admin@ruby-lang.org>2025-11-11 15:52:08 +0000
commit1577db908671be93db8277501445c5fc2c6052fc (patch)
tree61e72850527e69209b12b9b832cd392ac58f02ad
parente451b3debd69651640a952489dd12a27012c995b (diff)
[ruby/erb] Replace Ruby 3.5 with Ruby 4.0
(https://github.com/ruby/erb/pull/94) This commit updates the Ruby version to follow the commit in Ruby master branch. https://github.com/ruby/ruby/commit/6d81969b475262aba251e99b518181bdf7c5a523 https://github.com/ruby/erb/commit/a5d42484e4
-rw-r--r--lib/erb/util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erb/util.rb b/lib/erb/util.rb
index 9c3d186ede..adeb695aa8 100644
--- a/lib/erb/util.rb
+++ b/lib/erb/util.rb
@@ -2,8 +2,8 @@
# Load CGI.escapeHTML and CGI.escapeURIComponent.
# CRuby:
-# cgi.gem v0.1.0+ (Ruby 2.7-3.4) and Ruby 3.5+ stdlib have 'cgi/escape' and CGI.escapeHTML.
-# cgi.gem v0.3.3+ (Ruby 3.2-3.4) and Ruby 3.5+ stdlib have CGI.escapeURIComponent.
+# cgi.gem v0.1.0+ (Ruby 2.7-3.4) and Ruby 4.0+ stdlib have 'cgi/escape' and CGI.escapeHTML.
+# cgi.gem v0.3.3+ (Ruby 3.2-3.4) and Ruby 4.0+ stdlib have CGI.escapeURIComponent.
# JRuby: cgi.gem has a Java extension 'cgi/escape'.
# TruffleRuby: lib/truffle/cgi/escape.rb requires 'cgi/util'.
require 'cgi/escape'