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
@ -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>
|
Mon Aug 16 22:16:12 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/pathname/pathname.c (path_basename): unused variable removed.
|
* ext/pathname/pathname.c (path_basename): unused variable removed.
|
||||||
|
@ -35,7 +35,7 @@ if defined?(Gem) then
|
|||||||
}
|
}
|
||||||
|
|
||||||
def self.suffixes
|
def self.suffixes
|
||||||
['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.dir
|
def self.dir
|
||||||
|
@ -902,7 +902,7 @@ module Gem
|
|||||||
# Suffixes for require-able paths.
|
# Suffixes for require-able paths.
|
||||||
|
|
||||||
def self.suffixes
|
def self.suffixes
|
||||||
['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
['', '.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
|
||||||
end unless defined?(suffixes)
|
end unless defined?(suffixes)
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -291,6 +291,8 @@ class TestGem < RubyGemTestCase
|
|||||||
]
|
]
|
||||||
|
|
||||||
assert_equal expected, Gem.find_files('foo/discover')
|
assert_equal expected, Gem.find_files('foo/discover')
|
||||||
|
bug3701 = '[ruby-core:31730]'
|
||||||
|
assert_equal expected, Gem.find_files('foo/**.rb'), bug3701
|
||||||
ensure
|
ensure
|
||||||
assert_equal cwd, $LOAD_PATH.shift
|
assert_equal cwd, $LOAD_PATH.shift
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#define RUBY_VERSION "1.9.3"
|
#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_PATCHLEVEL -1
|
||||||
#define RUBY_BRANCH_NAME "trunk"
|
#define RUBY_BRANCH_NAME "trunk"
|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
#define RUBY_VERSION_TEENY 1
|
#define RUBY_VERSION_TEENY 1
|
||||||
#define RUBY_RELEASE_YEAR 2010
|
#define RUBY_RELEASE_YEAR 2010
|
||||||
#define RUBY_RELEASE_MONTH 8
|
#define RUBY_RELEASE_MONTH 8
|
||||||
#define RUBY_RELEASE_DAY 16
|
#define RUBY_RELEASE_DAY 17
|
||||||
|
|
||||||
#include "ruby/version.h"
|
#include "ruby/version.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user