[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
|
def validate_metadata
|
||||||
Gem::SpecificationPolicy.new(self).validate_metadata
|
Gem::SpecificationPolicy.new(self).validate_metadata
|
||||||
end
|
end
|
||||||
|
rubygems_deprecate :validate_metadata
|
||||||
|
|
||||||
##
|
##
|
||||||
# Checks that dependencies use requirements as we recommend. Warnings are
|
# Checks that dependencies use requirements as we recommend. Warnings are
|
||||||
@ -2598,12 +2599,14 @@ class Gem::Specification < Gem::BasicSpecification
|
|||||||
def validate_dependencies
|
def validate_dependencies
|
||||||
Gem::SpecificationPolicy.new(self).validate_dependencies
|
Gem::SpecificationPolicy.new(self).validate_dependencies
|
||||||
end
|
end
|
||||||
|
rubygems_deprecate :validate_dependencies
|
||||||
|
|
||||||
##
|
##
|
||||||
# Checks to see if the files to be packaged are world-readable.
|
# Checks to see if the files to be packaged are world-readable.
|
||||||
def validate_permissions
|
def validate_permissions
|
||||||
Gem::SpecificationPolicy.new(self).validate_permissions
|
Gem::SpecificationPolicy.new(self).validate_permissions
|
||||||
end
|
end
|
||||||
|
rubygems_deprecate :validate_permissions
|
||||||
|
|
||||||
##
|
##
|
||||||
# Set the version to +version+, potentially also setting
|
# Set the version to +version+, potentially also setting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user