mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Move docs to a better place
https://github.com/rubygems/rubygems/commit/c87ac90528
This commit is contained in:
parent
15018f20dd
commit
3cfe190099
Notes:
git
2020-06-05 07:33:37 +09:00
2 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -127,7 +127,9 @@ class Gem::SpecificationPolicy
|
|||
end
|
||||
|
||||
##
|
||||
# Implementation for Specification#validate_dependencies
|
||||
# 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 # :nodoc:
|
||||
# NOTE: see REFACTOR note in Gem::Dependency about types - this might be brittle
|
||||
|
|
Loading…
Reference in a new issue