<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/safe_marshal, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge RubyGems-3.6.2 and Bundler-2.6.2</title>
<updated>2024-12-23T22:21:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-23T20:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9e0eb9778d557ef59a541a65be658040951de5be'/>
<id>9e0eb9778d557ef59a541a65be658040951de5be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge RubyGems-3.5.3 and Bundler-2.5.3</title>
<updated>2023-12-23T00:34:26+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-12-23T00:08:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7d7a84e99fca816ec352c95965687db240fb56d3'/>
<id>7d7a84e99fca816ec352c95965687db240fb56d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Raise exception on unexpected EOF in marshal</title>
<updated>2023-10-25T18:52:38+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-10-24T16:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fe2f2689f0074a4c880218ca08cb10137880760'/>
<id>3fe2f2689f0074a4c880218ca08cb10137880760</id>
<content type='text'>
Instead of NoMethodError being raised by accidentally trying to use nil

https://github.com/rubygems/rubygems/commit/ac8f812bbf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of NoMethodError being raised by accidentally trying to use nil

https://github.com/rubygems/rubygems/commit/ac8f812bbf
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Aggressively optimize allocations in SafeMarshal</title>
<updated>2023-09-21T07:40:58+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-09-21T04:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a423d4c4e84bc024d5dabe86227c1f0b509a898'/>
<id>0a423d4c4e84bc024d5dabe86227c1f0b509a898</id>
<content type='text'>
Reduces allocations in a bundle install --full-index by an order of magnitude

Main wins are (a) getting rid of exessive string allocations for exception message stack

(b) Avoiding hash allocations caused by kwargs for #initialize

(c) avoid using unpack to do bit math, its easy enough to do by hand

(d) special case the most common elements so they can be read without an allocation

(e) avoid string allocations every time a symbol-&gt;string lookup is done by using symbol#name

https://github.com/rubygems/rubygems/commit/7d2ee51402
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduces allocations in a bundle install --full-index by an order of magnitude

Main wins are (a) getting rid of exessive string allocations for exception message stack

(b) Avoiding hash allocations caused by kwargs for #initialize

(c) avoid using unpack to do bit math, its easy enough to do by hand

(d) special case the most common elements so they can be read without an allocation

(e) avoid string allocations every time a symbol-&gt;string lookup is done by using symbol#name

https://github.com/rubygems/rubygems/commit/7d2ee51402
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Give up, load Time via Marshal.load</title>
<updated>2023-09-20T02:03:04+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-24T19:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=843c83ee5f8f4c26b70d7873df0c3d23de597b4c'/>
<id>843c83ee5f8f4c26b70d7873df0c3d23de597b4c</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/6c92ba2ba3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/6c92ba2ba3
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] All rubies working with different time zones</title>
<updated>2023-09-20T02:03:03+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-24T16:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cadca9f67eba9e101558aa32594646c3ece17c31'/>
<id>cadca9f67eba9e101558aa32594646c3ece17c31</id>
<content type='text'>
Tested with:

`ruby -e 'trap("INT") { exit 1 }; TZ=%w[UTC +0000 -0000]; RUBY=%w[ruby-2.7 ruby-3.2.2 jruby-9.4 truffleruby-22 truffleruby-23]; TZ.product(RUBY).each { |t, r| puts ?**120, "TZ=#{t} RUBY=#{r}", "*"*120; system({"TZ"=&gt;t,"RUBY"=&gt;r}, *ARGV) }' zsh -lic 'chruby $RUBY; ruby -vw -Ilib test/rubygems/test_gem_safe_marshal.rb --verbose=progress'`

https://github.com/rubygems/rubygems/commit/6192005afb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested with:

`ruby -e 'trap("INT") { exit 1 }; TZ=%w[UTC +0000 -0000]; RUBY=%w[ruby-2.7 ruby-3.2.2 jruby-9.4 truffleruby-22 truffleruby-23]; TZ.product(RUBY).each { |t, r| puts ?**120, "TZ=#{t} RUBY=#{r}", "*"*120; system({"TZ"=&gt;t,"RUBY"=&gt;r}, *ARGV) }' zsh -lic 'chruby $RUBY; ruby -vw -Ilib test/rubygems/test_gem_safe_marshal.rb --verbose=progress'`

https://github.com/rubygems/rubygems/commit/6192005afb
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Tests passing on truffleruby 22 in addition to 23</title>
<updated>2023-09-20T02:03:03+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-24T03:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c65c88e65c0d1c175dd2c33708b488e3f8268fda'/>
<id>c65c88e65c0d1c175dd2c33708b488e3f8268fda</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/8065530d43
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/8065530d43
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Bundler error handling</title>
<updated>2023-09-20T02:03:02+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-21T16:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e52f9bd41e1c407ac675fa3d1fbaabec854f6968'/>
<id>e52f9bd41e1c407ac675fa3d1fbaabec854f6968</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/63b422b71a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/63b422b71a
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Allow bundler to load from the dependency api</title>
<updated>2023-09-20T02:03:01+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-21T06:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f0d1b0cc4b5a99de9dc709b8f43d8be8e18c7323'/>
<id>f0d1b0cc4b5a99de9dc709b8f43d8be8e18c7323</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/3303957286
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/3303957286
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Verified working on mri/jruby/truffleruby with specs on rubygems.org</title>
<updated>2023-09-20T02:03:00+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2023-08-20T17:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1fff3e44ff3248c2c0bbd2bd244d52f64cfdd8a5'/>
<id>1fff3e44ff3248c2c0bbd2bd244d52f64cfdd8a5</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/4f51741cc6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/4f51741cc6
</pre>
</div>
</content>
</entry>
</feed>
