ruby-changes:57070
From: Nobuyoshi <ko1@a...>
Date: Fri, 16 Aug 2019 08:42:23 +0900 (JST)
Subject: [ruby-changes:57070] Nobuyoshi Nakada: 787b437a2a (master): Use Gem.default_specifications_dir
https://git.ruby-lang.org/ruby.git/commit/?id=787b437a2a From 787b437a2aaf8bfd60a9ac151f52cdb2638b7d8d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 8 Aug 2019 23:04:32 +0900 Subject: Use Gem.default_specifications_dir Gem::Specification.default_specifications_dir is deprecated. diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb index b674aa6..6007157 100644 --- a/test/rdoc/test_rdoc_rubygems_hook.rb +++ b/test/rdoc/test_rdoc_rubygems_hook.rb @@ -133,7 +133,7 @@ class TestRDocRubygemsHook < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rubygems_hook.rb#L133 def test_generate_default_gem Gem::Deprecate.skip_during do @a.loaded_from = - File.join Gem::Specification.default_specifications_dir, 'a.gemspec' + File.join Gem.default_specifications_dir, 'a.gemspec' end @hook.generate -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/