* lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:

* Fixed typos.

  * Relaxed Gem.ruby test for ruby packagers that do not use `ruby`.

* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-12-19 22:09:19 +00:00
parent 6bd1988668
commit 37e4a8d39d
4 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,13 @@
Fri Dec 20 07:07:35 2013 Eric Hodel <drbrain@segment7.net>
* lib/rubygems: Update to RubyGems master 03d6ae7. Changes include:
* Fixed typos.
* Relaxed Gem.ruby test for ruby packagers that do not use `ruby`.
* test/rubygems: ditto.
Thu Dec 19 14:03:04 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (heap_get_freeobj): improve hot path performance.

View File

@ -1275,7 +1275,7 @@ class Gem::Specification < Gem::BasicSpecification
##
# Activate all unambiguously resolved runtime dependencies of this
# spec. Add any ambigous dependencies to the unresolved list to be
# spec. Add any ambiguous dependencies to the unresolved list to be
# resolved later, as needed.
def activate_dependencies

View File

@ -12,7 +12,7 @@
module YAML # :nodoc:
# In newer 1.9.2, there is a Syck toplevel constant instead of it
# being underneith YAML. If so, reference it back under YAML as
# being underneath YAML. If so, reference it back under YAML as
# well.
if defined? ::Syck
# for tests that change YAML::ENGINE

View File

@ -228,10 +228,16 @@ install:
assert_match %r%#{Regexp.escape Gem.ruby} extconf\.rb%,
File.read(gem_make_out)
assert_match %r%#{Regexp.escape Gem.ruby}: No such file%,
assert_match /: No such file/,
File.read(gem_make_out)
refute_path_exists @spec.gem_build_complete_path
skip "Gem.ruby is not the name of the binary being run in the end" \
unless File.read(gem_make_out).include? "#{Regexp.escape Gem.ruby}:"
assert_match %r%#{Regexp.escape Gem.ruby}: No such file%,
File.read(gem_make_out)
end
def test_build_extensions_unsupported