End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::SpecificationPolicy#validate_optional
validate_optional(strict)
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/specification_policy.rb, line 94
def validate_optional(strict)
validate_licenses
validate_permissions
validate_values
validate_dependencies
validate_extensions
validate_removed_attributes
if @warnings > 0
if strict
error "specification has warnings"
else
alert_warning help_text
end
end
end
No documentation available
See also
#validate_non_files
#validate_permissions
#validate_nil_attributes
#validate_platform
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0