<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/erb/util.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/erb] Enable frozen_string_literal in all files</title>
<updated>2023-08-22T04:41:22+00:00</updated>
<author>
<name>Josh Nichols</name>
<email>josh@technicalpickles.com</email>
</author>
<published>2023-08-22T04:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0955ca342ed01b61161e1a46015a58b54d2e7205'/>
<id>0955ca342ed01b61161e1a46015a58b54d2e7205</id>
<content type='text'>
(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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Skip using the extension for truffleruby as well</title>
<updated>2022-11-27T06:30:48+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-27T06:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d2c62426e5f5a53fd17e07e789a92994be4351ed'/>
<id>d2c62426e5f5a53fd17e07e789a92994be4351ed</id>
<content type='text'>
(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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Define ERB::Escape module</title>
<updated>2022-11-26T05:32:25+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-26T05:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=574896a0ce99ab00676aa5ff2fabd3dcf8d49154'/>
<id>574896a0ce99ab00676aa5ff2fabd3dcf8d49154</id>
<content type='text'>
(https://github.com/ruby/erb/pull/38)

Close #32</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/38)

Close #32</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Keep ERB::Util#html_escape private</title>
<updated>2022-11-25T08:54:18+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-25T08:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=addb1cbbfd93d30e4752ec63b2d5ff96a13fac3d'/>
<id>addb1cbbfd93d30e4752ec63b2d5ff96a13fac3d</id>
<content type='text'>
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.

https://github.com/ruby/erb/commit/e62210bf56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.

https://github.com/ruby/erb/commit/e62210bf56
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Allow requiring erb/escape.so alone</title>
<updated>2022-11-24T23:49:15+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-24T23:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bcdfe12919f967cad17c2c6a8c98454f373ca935'/>
<id>bcdfe12919f967cad17c2c6a8c98454f373ca935</id>
<content type='text'>
(https://github.com/ruby/erb/pull/37)

Prior to this commit, requiring erb/escape first and then requiring erb
did not work as expected.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/37)

Prior to this commit, requiring erb/escape first and then requiring erb
did not work as expected.</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Split erb.rb into files for each module under ERB</title>
<updated>2022-11-24T23:40:53+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-24T23:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8ac4081aa80e571271296331dbd2a7a0654cd34a'/>
<id>8ac4081aa80e571271296331dbd2a7a0654cd34a</id>
<content type='text'>
(https://github.com/ruby/erb/pull/36)

https://github.com/ruby/erb/commit/f74833cc07
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/36)

https://github.com/ruby/erb/commit/f74833cc07
</pre>
</div>
</content>
</entry>
</feed>
