ruby-changes:19839
From: nobu <ko1@a...>
Date: Wed, 1 Jun 2011 13:05:12 +0900 (JST)
Subject: [ruby-changes:19839] nobu:r31886 (trunk): * lib/rubygems, test/rubygems: properties.
nobu 2011-06-01 13:05:03 +0900 (Wed, 01 Jun 2011) New Revision: 31886 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31886 Log: * lib/rubygems, test/rubygems: properties. Modified files: trunk/lib/rubygems/commands/server_command.rb trunk/lib/rubygems/deprecate.rb trunk/lib/rubygems/ext/builder.rb trunk/lib/rubygems/package/tar_writer.rb trunk/lib/rubygems/path_support.rb trunk/test/rubygems/test_gem_commands_cleanup_command.rb trunk/test/rubygems/test_gem_commands_help_command.rb trunk/test/rubygems/test_gem_path_support.rb trunk/test/rubygems/test_gem_silent_ui.rb trunk/test/rubygems/test_gem_uninstaller.rb Property changes on: lib/rubygems/path_support.rb ___________________________________________________________________ Added: svn:eol-style + LF Property changes on: lib/rubygems/deprecate.rb ___________________________________________________________________ Added: svn:eol-style + LF Index: lib/rubygems/ext/builder.rb =================================================================== --- lib/rubygems/ext/builder.rb (revision 31885) +++ lib/rubygems/ext/builder.rb (revision 31886) @@ -19,7 +19,7 @@ def self.make(dest_path, results) unless File.exist? 'Makefile' then - raise Gem::InstallError, "Makefile not found:\n\n#{results.join "\n"}" + raise Gem::InstallError, "Makefile not found:\n\n#{results.join "\n"}" end mf = File.read('Makefile') Index: lib/rubygems/package/tar_writer.rb =================================================================== --- lib/rubygems/package/tar_writer.rb (revision 31885) +++ lib/rubygems/package/tar_writer.rb (revision 31886) @@ -236,7 +236,7 @@ name = newname if name.size > 100 or prefix.size > 155 then - raise Gem::Package::TooLongFileName + raise Gem::Package::TooLongFileName end end Index: lib/rubygems/commands/server_command.rb =================================================================== --- lib/rubygems/commands/server_command.rb (revision 31885) +++ lib/rubygems/commands/server_command.rb (revision 31886) @@ -50,7 +50,7 @@ options[:addresses].push(*address) end - add_option '-l', '--launch[=COMMAND]', + add_option '-l', '--launch[=COMMAND]', 'launches a browser window', "COMMAND defaults to 'start' on Windows", "and 'open' on all other platforms" do |launch, options| Property changes on: test/rubygems/test_gem_path_support.rb ___________________________________________________________________ Added: svn:eol-style + LF Index: test/rubygems/test_gem_uninstaller.rb =================================================================== --- test/rubygems/test_gem_uninstaller.rb (revision 31885) +++ test/rubygems/test_gem_uninstaller.rb (revision 31886) @@ -216,7 +216,7 @@ def test_uninstall_selection_greater_than_one util_make_gems - + list = Gem::Specification.find_all_by_name('a') uninstaller = Gem::Uninstaller.new('a') Index: test/rubygems/test_gem_commands_cleanup_command.rb =================================================================== --- test/rubygems/test_gem_commands_cleanup_command.rb (revision 31885) +++ test/rubygems/test_gem_commands_cleanup_command.rb (revision 31886) @@ -8,7 +8,7 @@ require 'rubygems/commands/cleanup_command' class TestGemCommandsCleanupCommand < Gem::TestCase - + def setup super Property changes on: test/rubygems/test_gem_commands_cleanup_command.rb ___________________________________________________________________ Added: svn:eol-style + LF Property changes on: test/rubygems/test_gem_commands_help_command.rb ___________________________________________________________________ Added: svn:eol-style + LF Index: test/rubygems/test_gem_silent_ui.rb =================================================================== --- test/rubygems/test_gem_silent_ui.rb (revision 31885) +++ test/rubygems/test_gem_silent_ui.rb (revision 31886) @@ -55,7 +55,7 @@ assert_empty out, 'No output' assert_empty err, 'No output' - + out, err = capture_io do use_ui @sui do value = @sui.ask_yes_no 'Problem?', true @@ -66,7 +66,7 @@ assert_empty err, 'No output' assert value, 'Value is true' - + out, err = capture_io do use_ui @sui do value = @sui.ask_yes_no 'Problem?', false -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/