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

ruby-changes:56849

From: Nobuyoshi <ko1@a...>
Date: Wed, 7 Aug 2019 10:41:54 +0900 (JST)
Subject: [ruby-changes:56849] Nobuyoshi Nakada: e6901cea74 (master): Fixed deprecation message

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

From e6901cea741931906bacbb7c6afdafa621e50c0b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 7 Aug 2019 10:41:12 +0900
Subject: Fixed deprecation message


diff --git a/lib/rubygems/basic_specification.rb b/lib/rubygems/basic_specification.rb
index 168d07a..86abc4d 100644
--- a/lib/rubygems/basic_specification.rb
+++ b/lib/rubygems/basic_specification.rb
@@ -41,7 +41,7 @@ class Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/basic_specification.rb#L41
   class << self
 
     extend Gem::Deprecate
-    deprecate :default_specifications_dir, "Gem::BasicSpecification.default_specifications_dir", 2020, 02
+    deprecate :default_specifications_dir, "Gem.default_specifications_dir", 2020, 02
 
   end
 
-- 
cgit v0.10.2


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

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