Permalink
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...
1 parent 01db499 commit 1dca752450e18009bc2ea6b1459a0669df6d6d7c @kou kou committed Sep 16, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −1 lib/rubygems.rb
  2. +0 −11 lib/rubygems/defaults.rb
View
1 lib/rubygems.rb
@@ -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
View
11 lib/rubygems/defaults.rb
@@ -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

0 comments on commit 1dca752

Please sign in to comment.