[ruby-cvs:55520] naruse:r48370 (trunk): * lib/rubygems/commands/contents_command.rb (files_in_default_gem):

naruse at ruby-lang.org naruse at ruby-lang.org
Tue Nov 11 14:09:01 JST 2014


naruse	2014-11-11 14:08:59 +0900 (Tue, 11 Nov 2014)

  New Revision: 48370

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48370

  Log:
    * lib/rubygems/commands/contents_command.rb (files_in_default_gem):
      remove useless sort. show_files will sort the result and
      another branch, files_in_gem, doesn't sort.
      it should be removed for consistency.
    
    * test/rubygems/test_gem_commands_contents_command.rb
      (test_execute_default_gem): adjust the sort algorithm with
      Gem::Commands::ContentsCommand#show_files, which sort items
      as array of [prefix, basename] not strings.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rubygems/commands/contents_command.rb
    trunk/test/rubygems/test_gem_commands_contents_command.rb


More information about the ruby-cvs mailing list