instance method
Gem::SpecificationPolicy#validate_optional
validate_optional(strict)
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/specification_policy.rb, line 100
def validate_optional(strict)
validate_licenses
validate_permissions
validate_values
validate_dependencies
validate_required_ruby_version
validate_extensions
validate_removed_attributes
validate_unique_links
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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0