1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update to RubyGems 1.0.1, r1581

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2007-12-21 08:45:07 +00:00
parent f12cc82e0f
commit b42179135d
6 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Fri Dec 21 17:44:47 2007 Eric Hodel <drbrain@segment7.net>
* lib/rubygems*: Update to RubyGems 1.0.1, r1581
Fri Dec 21 17:32:49 2007 Koichi Sasada <ko1@atdot.net> Fri Dec 21 17:32:49 2007 Koichi Sasada <ko1@atdot.net>
* bootstraptest/pending.rb: renamed from featurebug.rb. * bootstraptest/pending.rb: renamed from featurebug.rb.
@ -160,6 +164,7 @@ Fri Dec 21 12:45:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_chomp_bang): avoid unnecessary loop using * string.c (rb_str_chomp_bang): avoid unnecessary loop using
ONIGENC_LEFT_ADJUST_CHAR_HEAD(). ONIGENC_LEFT_ADJUST_CHAR_HEAD().
>>>>>>> .r14423
Fri Dec 21 12:32:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org> Fri Dec 21 12:32:08 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* file.c (Init_File): File.exists? revived. * file.c (Init_File): File.exists? revived.

View file

@ -73,6 +73,7 @@ module Gem
ConfigMap = {} unless defined?(ConfigMap) ConfigMap = {} unless defined?(ConfigMap)
require 'rbconfig' require 'rbconfig'
RbConfig = Config unless defined? ::RbConfig
ConfigMap.merge!( ConfigMap.merge!(
:BASERUBY => RbConfig::CONFIG["BASERUBY"], :BASERUBY => RbConfig::CONFIG["BASERUBY"],
:EXEEXT => RbConfig::CONFIG["EXEEXT"], :EXEEXT => RbConfig::CONFIG["EXEEXT"],

View file

@ -47,7 +47,7 @@ class Gem::Commands::BuildCommand < Gem::Command
def yaml?(filename) def yaml?(filename)
line = open(filename) { |f| line = f.gets } line = open(filename) { |f| line = f.gets }
result = line =~ %r{^--- *!ruby/object:Gem::Specification} result = line =~ %r{!ruby/object:Gem::Specification}
result result
end end
end end

View file

@ -2,5 +2,5 @@
# This file is auto-generated by build scripts. # This file is auto-generated by build scripts.
# See: rake update_version # See: rake update_version
module Gem module Gem
RubyGemsVersion = '1.0.0' RubyGemsVersion = '1.0.1'
end end

View file

@ -52,7 +52,7 @@ class TestGem < RubyGemTestCase
assert_equal nil, Gem.instance_variable_get(:@gem_home) assert_equal nil, Gem.instance_variable_get(:@gem_home)
assert_equal nil, Gem.instance_variable_get(:@gem_path) assert_equal nil, Gem.instance_variable_get(:@gem_path)
assert_not_equal searcher, Gem.searcher assert_not_equal searcher, Gem.searcher
assert_not_equal source_index, Gem.source_index assert_not_equal source_index.object_id, Gem.source_index.object_id
end end
def test_self_configuration def test_self_configuration

View file

@ -27,7 +27,8 @@ end
class TarTestCase < Test::Unit::TestCase class TarTestCase < Test::Unit::TestCase
undef_method :default_test undef_method :default_test if instance_methods.include? 'default_test' or
instance_methods.include? :default_test
def assert_headers_equal(h1, h2) def assert_headers_equal(h1, h2)
fields = %w[name 100 mode 8 uid 8 gid 8 size 12 mtime 12 checksum 8 fields = %w[name 100 mode 8 uid 8 gid 8 size 12 mtime 12 checksum 8