1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Mention that some validations only warn

https://github.com/rubygems/rubygems/commit/32c7f7f484
This commit is contained in:
David Rodríguez 2020-05-29 15:50:43 +02:00 committed by Hiroshi SHIBATA
parent 257e6cda32
commit 455330143a
Notes: git 2020-06-05 07:33:36 +09:00

View file

@ -37,6 +37,9 @@ class Gem::SpecificationPolicy
#
# Raises InvalidSpecificationException if the spec does not pass the
# checks.
#
# It also performs some validations that do not raise but print warning
# messages instead.
def validate(strict = false)
validate_nil_attributes