mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty suffix. [ruby-core:31730] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
adff6d4477
commit
0afddf7b0a
5 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
|
||||
suffix. [ruby-core:31730]
|
||||
|
||||
Mon Aug 16 22:16:12 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/pathname/pathname.c (path_basename): unused variable removed.
|
||||
|
|
|
@ -35,7 +35,7 @@ if defined?(Gem) then
|
|||
}
|
||||
|
||||
def self.suffixes
|
||||
['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||
['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||
end
|
||||
|
||||
def self.dir
|
||||
|
|
|
@ -902,7 +902,7 @@ module Gem
|
|||
# Suffixes for require-able paths.
|
||||
|
||||
def self.suffixes
|
||||
['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||
['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||
end unless defined?(suffixes)
|
||||
|
||||
##
|
||||
|
|
|
@ -291,6 +291,8 @@ class TestGem < RubyGemTestCase
|
|||
]
|
||||
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue