diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-05-29 15:50:43 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-05 07:32:42 +0900 |
commit | 455330143aed490f867cde2c1a5d0db81c2b7c76 (patch) | |
tree | bbd6a060054e764672496f6e7acf6c3ac20263da | |
parent | 257e6cda329dcc1d68e5d35893f5877de91d5978 (diff) |
[rubygems/rubygems] Mention that some validations only warn
https://github.com/rubygems/rubygems/commit/32c7f7f484
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3184
-rw-r--r-- | lib/rubygems/specification_policy.rb | 3 |
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 |