mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
[rubygems/rubygems] Deprecate some methods that are only there for compatibility
b4948bda74
This commit is contained in:
parent
5eacf4e72c
commit
15018f20dd
Notes:
git
2020-06-05 07:33:37 +09:00
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue