Change Log¶ ↑
5.0.1¶ ↑
-
Rescue
LoadError
when failing to loaderb/escape
5.0.0¶ ↑
-
Bump
required_ruby_version
to Ruby 3.2+ #60 -
Drop
cgi
from runtime dependencies #59 -
Make
ERB::VERSION
public
4.0.4¶ ↑
-
Skip building the C extension for JRuby #52
4.0.3¶ ↑
-
Enable
frozen_string_literal
in all files #49
4.0.2¶ ↑
-
Fix line numbers after multi-line
<%#
#42
4.0.1¶ ↑
-
Stop building the C extension for TruffleRuby #39
4.0.0¶ ↑
-
Optimize
ERB::Util.html_escape
#27 -
No longer duplicate an argument string when nothing is escaped.
-
This makes
ERB::Util.html_escape
faster thanCGI.escapeHTML
in no-escape cases.
-
-
It skips calling to_s when an argument is already a
String
. -
Define
ERB::Escape.html_escape
as an alias toERB::Util.html_escape
#38 -
ERB::Util.html_escape
is known to be monkey-patched by Rails.ERB::Escape.html_escape
is useful when you want a non-monkey-patched version. -
Drop deprecated
-S
option fromerb
command
3.0.0¶ ↑
-
Bump
required_ruby_version
to Ruby 2.7+ #23 -
ERB::Util.url_encode
uses a native implementation #23 -
Fix a bug that a magic comment with a wrong format could be detected #6
2.2.3¶ ↑
-
Bump
required_ruby_version
from 2.3 to 2.5 as it has never been supported #3
2.2.2¶ ↑
-
ERB.version
returns just a version number -
ERB::Revision
is deprecated
2.2.1¶ ↑
-
ERB#initialize
warnssafe_level
and later arguments even without -w
2.2.0¶ ↑
-
Ruby 3.0 promoted
ERB
to a default gem