summaryrefslogtreecommitdiff
path: root/lib/erb/util.rb
AgeCommit message (Collapse)Author
2025-12-09Fixed by `misspell -w -error -source=text`Hiroshi SHIBATA
2025-11-11[ruby/erb] Replace Ruby 3.5 with Ruby 4.0Yasuo Honda
(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
2025-11-10[ruby/erb] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/erb/commit/332e200060
2025-09-18[ruby/erb] [DOC] Fix the location of `url_encode` docNobuyoshi Nakada
The documentation must be just before the definition. https://github.com/ruby/erb/commit/62282e32d9
2025-05-13[ruby/erb] Give up on using resolve_feature_pathTakashi Kokubun
Apparently `$LOAD_PATH.resolve_feature_path('erb/escape')` returns true for miniruby but `require 'erb/escape'` fails on it. I still don't want to check it and rescue LoadError at the same time because the code looks too complicated. Let me just rescue LoadError for platforms that don't build native extensions. https://github.com/ruby/erb/commit/3081c6b20f
2025-05-13[ruby/erb] Reapply "Refactor the logic of require 'erb/escape'Takashi Kokubun
(https://github.com/ruby/erb/pull/61)" This reverts commit https://github.com/ruby/erb/commit/1c9200aab071. Now that we've bumped BASERUBY, we shouldn't need to rescue the LoadError. https://github.com/ruby/erb/commit/846b20fe0e
2025-05-13[ruby/erb] Update the reason why we need to rescue LoadErrorTakashi Kokubun
https://github.com/ruby/erb/commit/c2d1f82817
2025-05-13[ruby/erb] Revert "Refactor the logic of require 'erb/escape'Takashi Kokubun
(https://github.com/ruby/erb/pull/61)" This reverts commit https://github.com/ruby/erb/commit/1c393aa738f3. https://github.com/ruby/erb/commit/1c9200aab0
2025-05-13[ruby/erb] Refactor the logic of require 'erb/escape'Takashi Kokubun
(https://github.com/ruby/erb/pull/61) https://github.com/ruby/erb/commit/1c393aa738
2025-05-13[ruby/erb] Support all cgi.gem versionsTakashi Kokubun
(https://github.com/ruby/erb/pull/60) https://github.com/ruby/erb/commit/de9bb8c3cc
2025-05-12[ruby/erb] [DOC] Make documentation 100%Nobuyoshi Nakada
https://github.com/ruby/erb/commit/9152ce8db4
2023-08-22[ruby/erb] Enable frozen_string_literal in all filesJosh Nichols
(https://github.com/ruby/erb/pull/49) I was surprised to see erb show up when I was using memory_profiler on my app. ERB::Compiler#compile has a blank string literal, and it ended up allocating some 41532 blank strings for a relatively small surface area. https://github.com/ruby/erb/commit/b7e45c2bdc
2022-11-27[ruby/erb] Skip using the extension for truffleruby as wellTakashi Kokubun
(https://github.com/ruby/erb/pull/39) * Skip using the extension for truffleruby as well * Just skip building the C extension for TruffleRuby * Skip rake compile for truffleruby * Use resolve_feature_path * Revert "Use resolve_feature_path" This reverts commit https://github.com/ruby/erb/commit/acc1e0c0ffaf. * Use resolve_feature_path with LoadError guard https://github.com/ruby/erb/commit/85dcb08439
2022-11-26[ruby/erb] Define ERB::Escape moduleTakashi Kokubun
(https://github.com/ruby/erb/pull/38) Close #32
2022-11-25[ruby/erb] Keep ERB::Util#html_escape privateTakashi Kokubun
ERB::Util.html_escape has been public, but ERB::Util#html_escape had been private. https://github.com/ruby/erb/commit/e62210bf56
2022-11-24[ruby/erb] Allow requiring erb/escape.so aloneTakashi Kokubun
(https://github.com/ruby/erb/pull/37) Prior to this commit, requiring erb/escape first and then requiring erb did not work as expected.
2022-11-24[ruby/erb] Split erb.rb into files for each module under ERBTakashi Kokubun
(https://github.com/ruby/erb/pull/36) https://github.com/ruby/erb/commit/f74833cc07