Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove deprecated Gem.default_user_source_cache_dir

It is described that "will be removed on or after 2011-11".
  • Loading branch information...
commit 1dca752450e18009bc2ea6b1459a0669df6d6d7c 1 parent 01db499
Kouhei Sutou kou authored
Showing with 0 additions and 12 deletions.
  1. +0 −1  lib/rubygems.rb
  2. +0 −11 lib/rubygems/defaults.rb
1  lib/rubygems.rb
View
@@ -1160,7 +1160,6 @@ def RbConfig.datadir(package_name) # :nodoc:
module Gem
class << self
extend Gem::Deprecate
- deprecate :default_user_source_cache_dir, :none, 2011, 11
deprecate :report_activate_error, :none, 2011, 11
deprecate :required_location, :none, 2011, 11
deprecate :unresolved_deps, "Specification.unresolved_deps", 2011, 12
11 lib/rubygems/defaults.rb
View
@@ -94,17 +94,6 @@ def self.default_bindir
end
##
- # The default user-specific source info cache directory
-
- def self.default_user_source_cache_dir
- #
- # NOTE Probably an argument for moving this to per-ruby supported dirs like
- # user_dir
- #
- File.join(Gem.user_home, '.gem', 'source_cache')
- end
-
- ##
# A wrapper around RUBY_ENGINE const that may not be defined
def self.ruby_engine
Please sign in to comment.
Something went wrong with that request. Please try again.