[rubygems/rubygems] Deprecate some methods that are only there for compatibility
https://github.com/rubygems/rubygems/commit/b4948bda74
This commit is contained in:
parent
5eacf4e72c
commit
15018f20dd
Notes:
git
2020-06-05 07:33:37 +09:00
@ -2590,6 +2590,7 @@ class Gem::Specification < Gem::BasicSpecification
|
||||
def validate_metadata
|
||||
Gem::SpecificationPolicy.new(self).validate_metadata
|
||||
end
|
||||
rubygems_deprecate :validate_metadata
|
||||
|
||||
##
|
||||
# Checks that dependencies use requirements as we recommend. Warnings are
|
||||
@ -2598,12 +2599,14 @@ class Gem::Specification < Gem::BasicSpecification
|
||||
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
|
||||
rubygems_deprecate :validate_permissions
|
||||
|
||||
##
|
||||
# Set the version to +version+, potentially also setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user