From 952beb5ff4a866a012fb646bf598ae112acdfb82 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 30 Nov 2012 16:27:52 +0000 Subject: * lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions): who assumes that the pathname of a gem never contains ':' ? yes, on Unixen pathnames can contain ':', and on Windows they almost certainly contain ':'. see [ruby-core:50388]. * lib/rubygems/requirement.rb (Gem::Requirement::PATTERN_RAW): extract the regexp to match the version specifier from PATTERN to use in above method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_commands_install_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rubygems/test_gem_commands_install_command.rb') diff --git a/test/rubygems/test_gem_commands_install_command.rb b/test/rubygems/test_gem_commands_install_command.rb index 6a3293e356..28b4e474ba 100644 --- a/test/rubygems/test_gem_commands_install_command.rb +++ b/test/rubygems/test_gem_commands_install_command.rb @@ -664,7 +664,7 @@ ERROR: Possible alternatives: non_existent_with_hint assert_equal 0, e.exit_code end - def test_execute_satisify_deps_of_local_from_sources + def test_execute_satisfy_deps_of_local_from_sources r, r_gem = util_gem 'r', '1', 'q' => '= 1' q, q_gem = util_gem 'q', '1' -- cgit v1.2.3