<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib, 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/pstore] Bump up</title>
<updated>2026-03-25T23:42:04+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2026-02-16T04:51:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8da08ddbe7257f16d24d5ee75a7bc70ac92643e8'/>
<id>8da08ddbe7257f16d24d5ee75a7bc70ac92643e8</id>
<content type='text'>
https://github.com/ruby/pstore/commit/d93352e365
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/d93352e365
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] [DOC] Complete RDoc coverage</title>
<updated>2026-03-25T23:42:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2026-02-16T04:25:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2fd366a144767be278bd70b9ce23c9cbc4c3e790'/>
<id>2fd366a144767be278bd70b9ce23c9cbc4c3e790</id>
<content type='text'>
https://github.com/ruby/pstore/commit/bbb1e239f0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/bbb1e239f0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Make the internal constants private</title>
<updated>2026-03-25T23:42:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2026-02-16T03:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b802103f6444e54c2bf8e6c92101cb88b4d05cb9'/>
<id>b802103f6444e54c2bf8e6c92101cb88b4d05cb9</id>
<content type='text'>
https://github.com/ruby/pstore/commit/74fe0e516b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/74fe0e516b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Define the platform constant</title>
<updated>2026-03-25T23:42:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2026-02-16T03:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=59a72538b6aa26a5fcfa09b213097d74f5f567c8'/>
<id>59a72538b6aa26a5fcfa09b213097d74f5f567c8</id>
<content type='text'>
Rather than overwriting the predicate method dynamically.

Fix [Bug #21880](https://bugs.ruby-lang.org/issues/21880).

https://github.com/ruby/pstore/commit/b2e474e619
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than overwriting the predicate method dynamically.

Fix [Bug #21880](https://bugs.ruby-lang.org/issues/21880).

https://github.com/ruby/pstore/commit/b2e474e619
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Bump up v0.2.0</title>
<updated>2026-03-25T23:41:57+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-03-12T00:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c26c0e3824811666a18cb5c21a3c690161b35930'/>
<id>c26c0e3824811666a18cb5c21a3c690161b35930</id>
<content type='text'>
https://github.com/ruby/pstore/commit/aab62bf4cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/aab62bf4cf
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Bump up v0.1.4</title>
<updated>2026-03-25T23:41:53+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-11-08T04:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=79fe6fcb5c85f65e146b3d0d52d7a41f1a578e39'/>
<id>79fe6fcb5c85f65e146b3d0d52d7a41f1a578e39</id>
<content type='text'>
https://github.com/ruby/pstore/commit/a63a70a830
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/a63a70a830
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Do not include a backtick in error messages and backtraces</title>
<updated>2026-03-25T23:41:51+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-01-19T07:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f589793531b9b8c87a20bc73d8698d804ec7b531'/>
<id>f589793531b9b8c87a20bc73d8698d804ec7b531</id>
<content type='text'>
[Feature #16495]

https://github.com/ruby/pstore/commit/6be4e72a66
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #16495]

https://github.com/ruby/pstore/commit/6be4e72a66
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/pstore] Improve Ractor-compliance</title>
<updated>2026-03-25T23:41:51+00:00</updated>
<author>
<name>rm155</name>
<email>rohitmenon@verizon.net</email>
</author>
<published>2021-07-22T17:19:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6a7e3cb5fac3137ad212db8ab3388656937a4451'/>
<id>6a7e3cb5fac3137ad212db8ab3388656937a4451</id>
<content type='text'>
https://github.com/ruby/pstore/commit/fa564a6965
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/pstore/commit/fa564a6965
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/syntax_suggest] v2.0.3</title>
<updated>2026-03-23T02:00:31+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2026-01-21T15:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=14dbb22badc0c57c52e8ae84aa2f99e0e568d5b3'/>
<id>14dbb22badc0c57c52e8ae84aa2f99e0e568d5b3</id>
<content type='text'>
https://github.com/ruby/syntax_suggest/commit/a81b92fcf2

[Bug #21847]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/syntax_suggest/commit/a81b92fcf2

[Bug #21847]
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/syntax_suggest] Refactor multi-prism version logic</title>
<updated>2026-03-23T02:00:31+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2026-01-20T21:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2256196e2d57146813db61188ab87893bac9817a'/>
<id>2256196e2d57146813db61188ab87893bac9817a</id>
<content type='text'>
The reason this logic for different methods branches in the class instead of internally was to be eagerly aggressive about runtime performance. This code is currently only used once for the document where it's invoked ~N times (where N is number of lines):

```ruby
module SyntaxSuggest
  class CleanDocument
    # ...
    def join_trailing_slash!
      trailing_groups = @document.select(&amp;:trailing_slash?).map do |code_line|
        take_while_including(code_line.index..) { |x| x.trailing_slash? }
      end
      join_groups(trailing_groups)
      self
    end
```

Since this is not currently a hot-spot I think merging the branches and using a case statement is a reasonable tradeoff and avoids the need to do specific version testing.

An alternative idea was presented in #241 of behavior-based testing for branch logic (which I would prefer), however, calling the code triggered requiring a `DelegateClass` when the `syntax_suggest/api` is being required.

https://github.com/ruby/syntax_suggest/commit/ab122c455f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reason this logic for different methods branches in the class instead of internally was to be eagerly aggressive about runtime performance. This code is currently only used once for the document where it's invoked ~N times (where N is number of lines):

```ruby
module SyntaxSuggest
  class CleanDocument
    # ...
    def join_trailing_slash!
      trailing_groups = @document.select(&amp;:trailing_slash?).map do |code_line|
        take_while_including(code_line.index..) { |x| x.trailing_slash? }
      end
      join_groups(trailing_groups)
      self
    end
```

Since this is not currently a hot-spot I think merging the branches and using a case statement is a reasonable tradeoff and avoids the need to do specific version testing.

An alternative idea was presented in #241 of behavior-based testing for branch logic (which I would prefer), however, calling the code triggered requiring a `DelegateClass` when the `syntax_suggest/api` is being required.

https://github.com/ruby/syntax_suggest/commit/ab122c455f
</pre>
</div>
</content>
</entry>
</feed>
