Commit graph

17 commits

Author SHA1 Message Date
Takashi Kokubun
5ff1524fde [ruby/erb] Version 4.0.4
b68bfed6a8
2024-01-04 22:34:59 +00:00
Takashi Kokubun
eec7a3f9ee [ruby/erb] Version 4.0.3
c594f2fb86
2023-08-21 21:45:55 -07:00
Josh Nichols
0955ca342e [ruby/erb] Enable frozen_string_literal in all files
(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.

b7e45c2bdc
2023-08-22 04:41:22 +00:00
Takashi Kokubun
4f8c6711dd [ruby/erb] Version 4.0.2
8c8ff1551b
2022-11-29 04:58:29 +00:00
Takashi Kokubun
129d208f9a [ruby/erb] Fix line numbers after multi-line <%#
(https://github.com/ruby/erb/pull/42)

526885923e
2022-11-29 04:56:03 +00:00
Takashi Kokubun
6fdc677186 [ruby/erb] Version 4.0.1
3bb67009dd
2022-11-27 06:32:58 +00:00
Takashi Kokubun
d2c62426e5 [ruby/erb] Skip using the extension for truffleruby as well
(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 acc1e0c0ff.

* Use resolve_feature_path with LoadError guard

85dcb08439
2022-11-27 06:30:48 +00:00
Takashi Kokubun
534bac04e7 [ruby/erb] Version 4.0.0
2809a54d88
2022-11-26 06:05:23 +00:00
Takashi Kokubun
574896a0ce [ruby/erb] Define ERB::Escape module
(https://github.com/ruby/erb/pull/38)

Close #32
2022-11-26 05:32:25 +00:00
Takashi Kokubun
addb1cbbfd [ruby/erb] Keep ERB::Util#html_escape private
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.

e62210bf56
2022-11-25 08:54:18 +00:00
Takashi Kokubun
bcdfe12919 [ruby/erb] Allow requiring erb/escape.so alone
(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 23:49:15 +00:00
Takashi Kokubun
8ac4081aa8 [ruby/erb] Split erb.rb into files for each module under ERB
(https://github.com/ruby/erb/pull/36)

f74833cc07
2022-11-24 23:40:53 +00:00
Takashi Kokubun
d6d9b5130e [ruby/erb] Version 3.0.0 2022-10-25 23:14:09 +00:00
Takashi Kokubun
6a352e275b [ruby/erb] Version 2.2.3
03bc4a8274
2021-03-26 12:37:37 +09:00
Takashi Kokubun
724c289b5c [ruby/erb] Version 2.2.2
3d84ea83bc
2021-01-21 15:29:40 +09:00
Takashi Kokubun
e0d92d5e5d [ruby/erb] Version 2.2.1
c8aa019c26
2021-01-21 14:52:20 +09:00
Takashi Kokubun
5f7df72b56
[ruby/erb] Unify ERB version definitions
5df06b8473
2021-01-20 21:43:05 -08:00