summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_safe_marshal.rb
AgeCommit message (Collapse)Author
2025-05-14[rubygems/rubygems] Reenable skipped specs in truffleruby since they should ↵David Rodríguez
be fixed https://github.com/rubygems/rubygems/commit/a7cbec95c1
2025-01-16[rubygems/rubygems] fix `@licenses` array unmarshallingMichael Rykov
https://github.com/rubygems/rubygems/commit/12f3e78c95
2024-12-24Merge RubyGems-3.6.2 and Bundler-2.6.2David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/12444
2024-12-11[rubygems/rubygems] Avoid UTF-32 and UTF-16 strings with trailing bytes in ↵Josef Haider
truffleruby https://github.com/rubygems/rubygems/commit/5f8249471f
2024-08-31[rubygems/rubygems] fix `@license` typo preventing licenses from being ↵Durable Programming Team
correctly unmarshalled https://github.com/rubygems/rubygems/commit/d6ba7ef79f
2024-01-31[rubygems/rubygems] Remove truffleruby specific stuff no longer neededDavid Rodriguez
We're already testing with truffleruby 23. https://github.com/rubygems/rubygems/commit/cd0494d628
2024-01-11[rubygems/rubygems] bin/rubocop -A --only Style/RedundantParenthesesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/7cc647c8f3
2023-12-23Merge RubyGems-3.5.3 and Bundler-2.5.3Hiroshi SHIBATA
2023-11-13[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/10c26a483d
2023-10-25[rubygems/rubygems] Raise exception on unexpected EOF in marshalSamuel Giddins
Instead of NoMethodError being raised by accidentally trying to use nil https://github.com/rubygems/rubygems/commit/ac8f812bbf
2023-09-21[rubygems/rubygems] Fix safe marshal test on jrubySamuel Giddins
Allow for variance in order of dumped ivars, fix by setting the disallowed ivar on an object that will have no other ivars so the index is consistent https://github.com/rubygems/rubygems/commit/ccb8f42753
2023-09-21[rubygems/rubygems] Aggressively optimize allocations in SafeMarshalSamuel Giddins
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->string lookup is done by using symbol#name https://github.com/rubygems/rubygems/commit/7d2ee51402
2023-09-20[rubygems/rubygems] Give up, load Time via Marshal.loadSamuel Giddins
https://github.com/rubygems/rubygems/commit/6c92ba2ba3
2023-09-20[rubygems/rubygems] Ruby 2.6 compatSamuel Giddins
https://github.com/rubygems/rubygems/commit/1a84960af3
2023-09-20[rubygems/rubygems] All rubies working with different time zonesSamuel Giddins
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"=>t,"RUBY"=>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
2023-09-20[rubygems/rubygems] Tests passing on truffleruby 22 in addition to 23Samuel Giddins
https://github.com/rubygems/rubygems/commit/8065530d43
2023-09-20[rubygems/rubygems] safe_load tests passing on jruby & trufflerubySamuel Giddins
https://github.com/rubygems/rubygems/commit/a64b21b052
2023-09-20[rubygems/rubygems] Verified working on mri/jruby/truffleruby with specs on ↵Samuel Giddins
rubygems.org https://github.com/rubygems/rubygems/commit/4f51741cc6
2023-09-20[rubygems/rubygems] Broader version compatibility in marshal testsSamuel Giddins
https://github.com/rubygems/rubygems/commit/6ec518c563
2023-09-20[rubygems/rubygems] Fix UTC time loadingSamuel Giddins
https://github.com/rubygems/rubygems/commit/2a4d0a44b0
2023-09-20[rubygems/rubygems] Add a Marshal.load replacement that walks an AST to ↵Samuel Giddins
safely load permitted classes/symbols https://github.com/rubygems/rubygems/commit/7e4478fe73