summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-05-29 15:49:50 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 07:32:42 +0900
commit257e6cda329dcc1d68e5d35893f5877de91d5978 (patch)
tree5ad7302929cdc3e37d941b884eef39a5b8d359f8
parentfc10f35f3d4054fa035603b83bb43de51e9af98b (diff)
[rubygems/rubygems] Reword `validate` method header
It's not so basic anymore, and it does much more than validating required fields. https://github.com/rubygems/rubygems/commit/3c0be4cdeb
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3184
-rw-r--r--lib/rubygems/specification_policy.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/specification_policy.rb b/lib/rubygems/specification_policy.rb
index 069182b543..2407b2e9e3 100644
--- a/lib/rubygems/specification_policy.rb
+++ b/lib/rubygems/specification_policy.rb
@@ -33,8 +33,7 @@ class Gem::SpecificationPolicy
attr_accessor :packaging
##
- # Checks that the specification contains all required fields, and does a
- # very basic sanity check.
+ # Does a sanity check on the specification.
#
# Raises InvalidSpecificationException if the spec does not pass the
# checks.