Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem::Cooldown.warn_missing_created_at
warn_missing_created_at(source)
lib/rubygems/cooldown.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/cooldown.rb, line 135
def self.warn_missing_created_at(source)
return if @warned
@warned = true
Gem::DefaultUserInteraction.ui.alert_warning \
"#{source.uri} does not provide gem publish times, the cooldown period does not apply to gems from this source"
end
Warns once per process that source did not provide publish times, so the cooldown cannot be applied to gems from it.