[前][次][番号順一覧][スレッド一覧]

ruby-changes:36650

From: svn <ko1@a...>
Date: Sun, 7 Dec 2014 09:53:29 +0900 (JST)
Subject: [ruby-changes:36650] svn:r48731 (trunk): * remove trailing spaces.

svn	2014-12-07 09:53:20 +0900 (Sun, 07 Dec 2014)

  New Revision: 48731

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

  Log:
    * remove trailing spaces.

  Modified files:
    trunk/lib/rubygems/package/tar_writer.rb
Index: lib/rubygems/package/tar_writer.rb
===================================================================
--- lib/rubygems/package/tar_writer.rb	(revision 48730)
+++ lib/rubygems/package/tar_writer.rb	(revision 48731)
@@ -291,7 +291,7 @@ class Gem::Package::TarWriter https://github.com/ruby/ruby/blob/trunk/lib/rubygems/package/tar_writer.rb#L291
 
   def split_name(name) # :nodoc:
     if name.bytesize > 256
-      raise Gem::Package::TooLongFileName.new("File \"#{name}\" has a too long path (should be 256 or less)") 
+      raise Gem::Package::TooLongFileName.new("File \"#{name}\" has a too long path (should be 256 or less)")
     end
 
     if name.bytesize <= 100 then
@@ -311,11 +311,11 @@ class Gem::Package::TarWriter https://github.com/ruby/ruby/blob/trunk/lib/rubygems/package/tar_writer.rb#L311
       name = newname
 
       if name.bytesize > 100
-        raise Gem::Package::TooLongFileName.new("File \"#{prefix}/#{name}\" has a too long name (should be 100 or less)") 
+        raise Gem::Package::TooLongFileName.new("File \"#{prefix}/#{name}\" has a too long name (should be 100 or less)")
       end
-    
+
       if prefix.bytesize > 155 then
-        raise Gem::Package::TooLongFileName.new("File \"#{prefix}/#{name}\" has a too long base path (should be 155 or less)") 
+        raise Gem::Package::TooLongFileName.new("File \"#{prefix}/#{name}\" has a too long base path (should be 155 or less)")
       end
     end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]