End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::SpecificationPolicy#validate_licenses_length
validate_licenses_length
lib/rubygems/specification_policy.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification_policy.rb, line 352
def validate_licenses_length
licenses = @specification.licenses
licenses.each do |license|
if license.length > 64
error "each license must be 64 characters or less"
end
end
end
No documentation available
See also
#validate_licenses
#validate_metadata
#validate_lazy_metadata
#validate_name
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1