[前][次][番号順一覧][スレッド一覧]

ruby-changes:32134

From: drbrain <ko1@a...>
Date: Sun, 15 Dec 2013 05:28:59 +0900 (JST)
Subject: [ruby-changes:32134] drbrain:r44213 (trunk): * lib/rubygems/basic_specification.rb: Update to RubyGems master

drbrain	2013-12-15 05:28:45 +0900 (Sun, 15 Dec 2013)

  New Revision: 44213

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44213

  Log:
    * lib/rubygems/basic_specification.rb:  Update to RubyGems master
      9c718fe.  Removes code duplication.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems/basic_specification.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44212)
+++ ChangeLog	(revision 44213)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Dec 15 05:28:35 2013  Eric Hodel  <drbrain@s...>
+
+	* lib/rubygems/basic_specification.rb:  Update to RubyGems master
+	  9c718fe.  Removes code duplication.
+
 Sat Dec 14 17:39:00 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_insnhelper.c (vm_callee_setup_arg_complex): count post
Index: lib/rubygems/basic_specification.rb
===================================================================
--- lib/rubygems/basic_specification.rb	(revision 44212)
+++ lib/rubygems/basic_specification.rb	(revision 44213)
@@ -86,7 +86,7 @@ class Gem::BasicSpecification https://github.com/ruby/ruby/blob/trunk/lib/rubygems/basic_specification.rb#L86
 
   def find_full_gem_path # :nodoc:
     # TODO: also, shouldn't it default to full_name if it hasn't been written?
-    path = File.expand_path File.join(gems_dir, full_name)
+    path = gem_dir
     path.untaint
     path if File.directory? path
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]