diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-12 04:50:06 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-12 04:50:06 +0000 |
commit | a2ba489e2eff648b98054b1252e45a3c0643ab8e (patch) | |
tree | 58f10e4d9889404e62192b90809755c667c567e7 /lib/rubygems.rb | |
parent | 8b129406c606800888610403f1afb57baeb515e2 (diff) | |
download | ruby-a2ba489e2eff648b98054b1252e45a3c0643ab8e.tar.gz |
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(db78980).
this version includes #1367 , #1373 , #1375
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r-- | lib/rubygems.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index c84a67ba76..5ee82c2397 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -307,11 +307,10 @@ module Gem # package is not available as a gem, return nil. def self.datadir(gem_name) -# TODO: deprecate and move to Gem::Specification -# and drop the extra ", gem_name" which is uselessly redundant +# TODO: deprecate spec = @loaded_specs[gem_name] return nil if spec.nil? - File.join spec.full_gem_path, "data", gem_name + spec.datadir end ## |