<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/error_highlight/base.rb, branch v3_2_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/error_highlight] Support nodes in `spot`</title>
<updated>2022-10-31T04:58:38+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2022-10-19T17:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=350d0aa023223f560d812ef61396a2c5359f09a6'/>
<id>350d0aa023223f560d812ef61396a2c5359f09a6</id>
<content type='text'>
Fixes a bug where `spot` was using the wrong local variable.

We want to use error highlight with code that has been eval'd,
specifically ERB templates. We can recover the compiled source code of
the ERB template but we need an API to pass the node into error
highlight's `spot`.

Required Ruby PR: https://github.com/ruby/ruby/pull/6593

https://github.com/ruby/error_highlight/commit/0b1b650a59

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a bug where `spot` was using the wrong local variable.

We want to use error highlight with code that has been eval'd,
specifically ERB templates. We can recover the compiled source code of
the ERB template but we need an API to pass the node into error
highlight's `spot`.

Required Ruby PR: https://github.com/ruby/ruby/pull/6593

https://github.com/ruby/error_highlight/commit/0b1b650a59

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Add a note about the current limitation of ErrorHighlight.spot</title>
<updated>2022-08-12T05:04:41+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-08-12T05:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d9f1b8baa3a21b2a65af7fcab6a45c30b3f9efee'/>
<id>d9f1b8baa3a21b2a65af7fcab6a45c30b3f9efee</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/489ce80a62
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/489ce80a62
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Make backtrace_location keyword work</title>
<updated>2022-08-10T12:19:10+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-08-10T12:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3a58009066049f9af09ea3171cecab88ba0d9f1c'/>
<id>3a58009066049f9af09ea3171cecab88ba0d9f1c</id>
<content type='text'>
We had to keep backtrace_location before opts is overwritten.

https://github.com/ruby/error_highlight/commit/2735e4681a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We had to keep backtrace_location before opts is overwritten.

https://github.com/ruby/error_highlight/commit/2735e4681a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Make ErrorHighlight.spot accept Exception (https://github.com/ruby/error_highlight/pull/25)</title>
<updated>2022-08-10T09:37:13+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-08-10T09:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=99e7fa5b3718d61d61427c67d244ec50b9eb8578'/>
<id>99e7fa5b3718d61d61427c67d244ec50b9eb8578</id>
<content type='text'>
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.

https://github.com/ruby/error_highlight/commit/22d1dd7824
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.

https://github.com/ruby/error_highlight/commit/22d1dd7824
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Keep it work if paren exists after receiver</title>
<updated>2021-07-31T13:15:16+00:00</updated>
<author>
<name>Masataka Pocke Kuwabara</name>
<email>kuwabara@pocke.me</email>
</author>
<published>2021-07-08T11:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=242f024bcbff6c46edd84a03365fa99ebd8eb524'/>
<id>242f024bcbff6c46edd84a03365fa99ebd8eb524</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/b79d679bbd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/b79d679bbd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Support a file that has no final newline</title>
<updated>2021-07-13T07:54:17+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-07-13T07:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5fd5d71a4b100fdeca55352a5441b095a1d82e16'/>
<id>5fd5d71a4b100fdeca55352a5441b095a1d82e16</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/9d671284cb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/9d671284cb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Stop showing a code snippet if it has non-ascii characters</title>
<updated>2021-07-12T07:48:15+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-07-12T07:47:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8b01d16ad661a02157311a6a24f415713d69a8a4'/>
<id>8b01d16ad661a02157311a6a24f415713d69a8a4</id>
<content type='text'>
See https://github.com/ruby/error_highlight/issues/4

https://github.com/ruby/error_highlight/commit/c20efd3961
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/ruby/error_highlight/issues/4

https://github.com/ruby/error_highlight/commit/c20efd3961
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Reconsider the API of ErrorHighlight.spot</title>
<updated>2021-06-30T03:49:27+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-06-30T03:31:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ca4e5b1eb33f3bae9ced2e7643ae7db3e11fa65d'/>
<id>ca4e5b1eb33f3bae9ced2e7643ae7db3e11fa65d</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/acb2046a82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/acb2046a82
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Experimentally support a custom formatter</title>
<updated>2021-06-30T03:49:18+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-06-30T03:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f428ced69c70473b8405aae9c98828aa6f69b254'/>
<id>f428ced69c70473b8405aae9c98828aa6f69b254</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/f40a1de20e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/f40a1de20e
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename error_squiggle to error_highlight</title>
<updated>2021-06-29T14:45:49+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-06-28T04:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9438c99590f5476a81cee8b4cf2de25084a40b42'/>
<id>9438c99590f5476a81cee8b4cf2de25084a40b42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
