ruby-changes:26432
From: nobu <ko1@a...>
Date: Thu, 20 Dec 2012 10:53:02 +0900 (JST)
Subject: [ruby-changes:26432] nobu:r38483 (trunk): * remove trailing spaces.
nobu 2012-12-20 10:52:47 +0900 (Thu, 20 Dec 2012) New Revision: 38483 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38483 Log: * remove trailing spaces. Modified files: trunk/ChangeLog trunk/NEWS trunk/test/openssl/test_fips.rb trunk/test/rdoc/test_rdoc_comment.rb trunk/test/ruby/test_refinement.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 38482) +++ ChangeLog (revision 38483) @@ -38,7 +38,7 @@ Thu Dec 20 06:59:52 2012 Koichi Sasada https://github.com/ruby/ruby/blob/trunk/ChangeLog#L38 (1) You can run more complex program on a Fiber. (2) You can not make many (thousands) Fibers because of lack of address space (on 32bit CPU). - If (2) bothers you, + If (2) bothers you, (a) Use 64bit CPU with big memory, or (b) Specify RUBY_FIBER_(VM|MACHINE)_STACK_SIZE correctly. You need to choose correct stack size carefully. These values Index: NEWS =================================================================== --- NEWS (revision 38482) +++ NEWS (revision 38483) @@ -262,7 +262,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L262 is FIPS-enabled. OpenSSL.fips_mode= allows turning on and off FIPS mode manually in order to adapt to situations where FIPS mode would be an explicit requirement. - + * ostruct * new methods: * OpenStruct#[], []= Index: test/ruby/test_refinement.rb =================================================================== --- test/ruby/test_refinement.rb (revision 38482) +++ test/ruby/test_refinement.rb (revision 38483) @@ -563,7 +563,7 @@ class TestRefinement < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/ruby/test_refinement.rb#L563 def recursive_length if empty? 0 - else + else self[1..-1].recursive_length + 1 end end Index: test/openssl/test_fips.rb =================================================================== --- test/openssl/test_fips.rb (revision 38482) +++ test/openssl/test_fips.rb (revision 38483) @@ -3,7 +3,7 @@ require_relative 'utils' https://github.com/ruby/ruby/blob/trunk/test/openssl/test_fips.rb#L3 if defined?(OpenSSL) && OpenSSL::OPENSSL_FIPS class OpenSSL::TestFIPS < Test::Unit::TestCase - + def test_reject_md5 data = "test" assert_not_nil(OpenSSL::Digest.new("MD5").digest(data)) @@ -36,7 +36,7 @@ class OpenSSL::TestFIPS < Test::Unit::Te https://github.com/ruby/ruby/blob/trunk/test/openssl/test_fips.rb#L36 end private - + def in_fips_mode OpenSSL.fips_mode = true yield Index: test/rdoc/test_rdoc_comment.rb =================================================================== --- test/rdoc/test_rdoc_comment.rb (revision 38482) +++ test/rdoc/test_rdoc_comment.rb (revision 38483) @@ -70,7 +70,7 @@ call-seq: https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_comment.rb#L70 comment = RDoc::Comment.new <<-COMMENT, @top_level # call-seq: # bla => true or false -# +#\s # moar comment COMMENT -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/