aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/specification.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-05-29 15:47:18 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 07:32:42 +0900
commit3cfe190099bd4354b39d4276eec97bdef44255a2 (patch)
tree174d714ab1520f3867b6387e311ac68b4bc88297 /lib/rubygems/specification.rb
parent15018f20ddfb18f87bff11e20ac1b23f4d9fa2be (diff)
downloadruby-3cfe190099bd4354b39d4276eec97bdef44255a2.tar.gz
[rubygems/rubygems] Move docs to a better place
https://github.com/rubygems/rubygems/commit/c87ac90528
Diffstat (limited to 'lib/rubygems/specification.rb')
-rw-r--r--lib/rubygems/specification.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index b1c5ab2269..cb70b96bb1 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -2592,17 +2592,11 @@ class Gem::Specification < Gem::BasicSpecification
end
rubygems_deprecate :validate_metadata
- ##
- # Checks that dependencies use requirements as we recommend. Warnings are
- # issued when dependencies are open-ended or overly strict for semantic
- # versioning.
def validate_dependencies
Gem::SpecificationPolicy.new(self).validate_dependencies
end
rubygems_deprecate :validate_dependencies
- ##
- # Checks to see if the files to be packaged are world-readable.
def validate_permissions
Gem::SpecificationPolicy.new(self).validate_permissions
end