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

ruby-changes:17020

From: nobu <ko1@a...>
Date: Tue, 17 Aug 2010 07:39:08 +0900 (JST)
Subject: [ruby-changes:17020] Ruby:r29017 (trunk): Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@r...>

nobu	2010-08-17 07:38:46 +0900 (Tue, 17 Aug 2010)

  New Revision: 29017

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

  Log:
    Tue Aug 17 07:38:43 2010  Nobuyoshi Nakada  <nobu@r...>
    
    * gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
      suffix.  [ruby-core:31730]

  Modified files:
    trunk/ChangeLog
    trunk/gem_prelude.rb
    trunk/lib/rubygems.rb
    trunk/test/rubygems/test_gem.rb
    trunk/version.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29016)
+++ ChangeLog	(revision 29017)
@@ -1,3 +1,8 @@
+Tue Aug 17 07:38:43 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
+	  suffix.  [ruby-core:31730]
+
 Mon Aug 16 22:16:12 2010  Tanaka Akira  <akr@f...>
 
 	* ext/pathname/pathname.c (path_basename): unused variable removed.
Index: gem_prelude.rb
===================================================================
--- gem_prelude.rb	(revision 29016)
+++ gem_prelude.rb	(revision 29017)
@@ -35,7 +35,7 @@
     }
 
     def self.suffixes
-      ['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
+      ['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
     end
 
     def self.dir
Index: lib/rubygems.rb
===================================================================
--- lib/rubygems.rb	(revision 29016)
+++ lib/rubygems.rb	(revision 29017)
@@ -902,7 +902,7 @@
   # Suffixes for require-able paths.
 
   def self.suffixes
-    ['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
+    ['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
   end unless defined?(suffixes)
 
   ##
Index: version.h
===================================================================
--- version.h	(revision 29016)
+++ version.h	(revision 29017)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.3"
-#define RUBY_RELEASE_DATE "2010-08-16"
+#define RUBY_RELEASE_DATE "2010-08-17"
 #define RUBY_PATCHLEVEL -1
 #define RUBY_BRANCH_NAME "trunk"
 
@@ -8,7 +8,7 @@
 #define RUBY_VERSION_TEENY 1
 #define RUBY_RELEASE_YEAR 2010
 #define RUBY_RELEASE_MONTH 8
-#define RUBY_RELEASE_DAY 16
+#define RUBY_RELEASE_DAY 17
 
 #include "ruby/version.h"
 
Index: test/rubygems/test_gem.rb
===================================================================
--- test/rubygems/test_gem.rb	(revision 29016)
+++ test/rubygems/test_gem.rb	(revision 29017)
@@ -291,6 +291,8 @@
     ]
 
     assert_equal expected, Gem.find_files('foo/discover')
+    bug3701 = '[ruby-core:31730]'
+    assert_equal expected, Gem.find_files('foo/**.rb'), bug3701
   ensure
     assert_equal cwd, $LOAD_PATH.shift
   end

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

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