[前][次][番号順一覧][スレッド一覧]

ruby-changes:61546

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:34:25 +0900 (JST)
Subject: [ruby-changes:61546] 15018f20dd (master): [rubygems/rubygems] Deprecate some methods that are only there for compatibility

https://git.ruby-lang.org/ruby.git/commit/?id=15018f20dd

From 15018f20ddfb18f87bff11e20ac1b23f4d9fa2be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Fri, 29 May 2020 15:45:33 +0200
Subject: [rubygems/rubygems] Deprecate some methods that are only there for
 compatibility

https://github.com/rubygems/rubygems/commit/b4948bda74

diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
index 362cb37..b1c5ab2 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -2590,6 +2590,7 @@ class Gem::Specification < Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L2590
   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 https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L2599
   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]