summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer_test_case.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/installer_test_case.rb')
-rw-r--r--lib/rubygems/installer_test_case.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/rubygems/installer_test_case.rb b/lib/rubygems/installer_test_case.rb
index eccd5711c2..4cec5da3f4 100644
--- a/lib/rubygems/installer_test_case.rb
+++ b/lib/rubygems/installer_test_case.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require 'rubygems/test_case'
require 'rubygems/installer'
+require 'rubygems/deprecate'
class Gem::Installer
@@ -72,7 +73,7 @@ class Gem::InstallerTestCase < Gem::TestCase
# a spec named 'a', intended for regular installs
# @user_spec::
# a spec named 'b', intended for user installs
-
+ #
# @gem::
# the path to a built gem from @spec
# @user_spec::
@@ -107,15 +108,17 @@ class Gem::InstallerTestCase < Gem::TestCase
end
def util_gem_bindir spec = @spec # :nodoc:
- # TODO: deprecate
spec.bin_dir
end
def util_gem_dir spec = @spec # :nodoc:
- # TODO: deprecate
spec.gem_dir
end
+ extend Gem::Deprecate
+ deprecate :util_gem_bindir, "@spec.bin_dir", 2016, 10
+ deprecate :util_gem_dir, "@spec.gem_dir", 2016, 10
+
##
# The path where installed executables live