summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/specification_policy.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 2407b2e9e3..f752240368 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -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