-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unexpected fallbacks to full index by adding FalseClass and Time to the SafeMarshal list #6655
Conversation
I've confirmed this patch resolves the issue for us with this config: source 'https://rubygems.org'
source 'https://packagecloud.io/cinc-project/stable' do
gem 'chef', '~> 17.10.0'
gem 'chef-cli', '~> 5.6.1'
gem 'chef-utils'
gem 'mixlib-versioning'
end |
it "loads Gem::Specification" do | ||
gem_spec = Gem::Specification.new("name", "3.7.2") | ||
gem_spec = Gem::Specification.new do |s| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this doesn't test false
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
👍 @indirect Thanks! |
add FalseClass and Time to the SafeMarshal list (cherry picked from commit 3593ade)
@deivid-rodriguez Do you think you could release RubyGems 3.4.13 to address this? It seems our |
Thanks! |
add FalseClass and Time to the SafeMarshal list (cherry picked from commit 3593ade)
fixes #6614, maybe