Skip to content

Commit

Permalink
* remove trailing spaces.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed May 15, 2011
1 parent 39da1b6 commit 3a47cf3
Show file tree
Hide file tree
Showing 212 changed files with 846 additions and 846 deletions.
36 changes: 18 additions & 18 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Sat May 14 22:45:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Sat May 14 19:52:22 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
add for $0 test.
add for $0 test.

Sat May 14 19:50:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

Expand Down Expand Up @@ -50,10 +50,10 @@ Sat May 14 17:42:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>

Sat May 14 12:12:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>

* test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
ensure new public key PEM encoding behavior and ensure backward
compatibility.
[Ruby 1.9 - Bug #4422] [ruby-core:35328]
* test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
ensure new public key PEM encoding behavior and ensure backward
compatibility.
[Ruby 1.9 - Bug #4422] [ruby-core:35328]
* test/openssl/test_pkey_rsa.rb: Remove line with 'puts'.

Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
Expand All @@ -64,8 +64,8 @@ Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>

* test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key
encoding behavior and also ensure backward compatibility.
[Ruby 1.9 - Bug #4421] [ruby-core:35327]
encoding behavior and also ensure backward compatibility.
[Ruby 1.9 - Bug #4421] [ruby-core:35327]

Sat May 14 09:50:10 2011 Eric Hodel <drbrain@segment7.net>

Expand All @@ -87,7 +87,7 @@ Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey.c
* ext/openssl/ossl_pkey.h
* test/openssl/pkey/test_pkey_rsa.rb
Reverted premature commit. Sorry for the noise!
Reverted premature commit. Sorry for the noise!

Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>

Expand All @@ -97,8 +97,8 @@ Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>

* NEWS: Describe altered behaviour for RSA and DSA public key
encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
[ruby-core:35327,35328]
encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
[ruby-core:35327,35328]

Sat May 14 02:57:52 2011 Eric Hodel <drbrain@segment7.net>

Expand Down Expand Up @@ -488,7 +488,7 @@ Fri May 6 23:29:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Fri May 6 23:13:43 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* configure.in: remove nanosleep check. we no longer use it.
r20124 removed last usage.
r20124 removed last usage.

Fri May 6 22:35:56 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>

Expand Down Expand Up @@ -551,7 +551,7 @@ Thu May 5 15:03:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* eval.c (frame_func_id): __method__ return different name from
methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
* eval (method_entry_of_iseq): new helper function. search control
* eval.c (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test_method.rb: add tests for #4696

Expand All @@ -573,14 +573,14 @@ Wed May 4 21:11:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Wed May 4 20:22:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* io.c (Init_IO): Added File::CLOEXEC constant.
[ruby-core:22893] [Feature #1291]
[ruby-core:22893] [Feature #1291]
* test/ruby/test_io.rb (TestIO#test_o_cloexec): test for File::CLOEXEC.

Wed May 4 19:00:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

* thread.c (rb_wait_for_single_fd): Fix wrong return value.
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
(TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
(TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.

Wed May 4 18:46:39 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>

Expand Down Expand Up @@ -1201,7 +1201,7 @@ Tue Apr 12 01:33:00 2011 Luis Lavena <luislavena@gmail.com>

* configure.in: properly evaluate existence of truncate, ftruncate
and ftello for MinGW. [ruby-core:35678]
* win32/win32.c: rename truncate, ftruncate and ftello to avoid
* win32/win32.c: rename truncate, ftruncate and ftello to avoid
redefinitions.
* win32/win32.h: ditto.

Expand Down Expand Up @@ -1409,11 +1409,11 @@ Tue Mar 29 05:19:57 2011 Tanaka Akira <akr@fsij.org>

* ext/socket/raddrinfo.c: parenthesize macro arguments.

Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>

* test/webrick/test_filehandler.rb (test_short_filename):
read real short filename by cmd because smb mounted files
have different naming convention.
read real short filename by cmd because smb mounted files
have different naming convention.

Mon Mar 28 11:38:08 2011 NARUSE, Yui <naruse@ruby-lang.org>

Expand Down
2 changes: 1 addition & 1 deletion benchmark/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def message_print *args

def progress_message *args
unless STDOUT.tty?
STDERR.print(*args)
STDERR.print(*args)
STDERR.flush
end
end
Expand Down
4 changes: 2 additions & 2 deletions benchmark/other-lang/eval.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ def bench cmd

require 'pp'
# utime
puts Lang.join("\t")
puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[0]}.join("\t")
}

# rtime
puts Lang.join("\t")
puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[1]}.join("\t")
Expand Down
2 changes: 1 addition & 1 deletion benchmark/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def exec_command type, file, w

def benchmark cmd
rubybin = ENV['RUBY'] || RbConfig.ruby

IO.popen(rubybin, 'r+'){|io|
io.write cmd
io.close_write
Expand Down
6 changes: 3 additions & 3 deletions benchmark/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def bm file
bm_name = $1
puts '-----------------------------------------------------------' unless $rubyonly || $matzrubyonly
puts "#{bm_name}: "


puts <<EOS unless $matzrubyonly || $rubyonly
#{prog}
--
Expand Down Expand Up @@ -93,7 +93,7 @@ def matzruby_exec file
ARGV.delete_if{|arg|
/\A-/ =~ arg
}

puts "MatzRuby:"
system("#{$matzruby_program} -v")
puts "Ruby:"
Expand Down
26 changes: 13 additions & 13 deletions bootstraptest/test_block.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def each
}
end
end
C.new.to_a
}
assert_equal %q{[4, 5, 6]}, %q{
Expand All @@ -87,7 +87,7 @@ def each
}
end
end
C.new.map{|e|
e + 3
}
Expand All @@ -110,7 +110,7 @@ def n
def m
yield 1
end
m{|ib|
m{|jb|
i = 20
Expand All @@ -121,7 +121,7 @@ def m
def m
yield 1
end
m{|ib|
m{|jb|
ib = 20
Expand All @@ -135,11 +135,11 @@ def iter1
yield
}
end
def iter2
yield
end
iter1{
jb = 2
iter1{
Expand All @@ -154,11 +154,11 @@ def iter1
yield
}
end
def iter2
yield
end
iter1{
jb = 2
iter1{
Expand Down Expand Up @@ -226,11 +226,11 @@ def iter
}
assert_equal %q{[1]}, %q{
$a = []
def iter
yield 1
end
def m
x = iter{|x|
$a << x
Expand Down Expand Up @@ -450,7 +450,7 @@ def each
end
vs1 = []
C.new.each {|*v| vs1 << v }
vs2 = []
vs2 = []
C.new.to_enum.each {|*v| vs2 << v }
vs1 == vs2 ? :ok : :ng
}, '[ruby-dev:32329]'
Expand All @@ -468,9 +468,9 @@ def each
def m() yield nil,[] end
l = lambda {|*v| v}
GC.stress=true
r = m(&l)
r = m(&l)
GC.stress=false
r.inspect
r.inspect
}, '[ruby-dev:32567]'

assert_equal NilClass.to_s, %q{
Expand Down
14 changes: 7 additions & 7 deletions bootstraptest/test_exception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def m
def m
$!
end
begin
begin
raise "FOO"
Expand Down Expand Up @@ -205,11 +205,11 @@ def m a, b
assert_equal %q{ok3}, %q{
class E1 < Exception
end
def m
yield
end
begin
begin
begin
Expand Down Expand Up @@ -239,15 +239,15 @@ def m
$i += 2
break
ensure
end
ensure
$i += 4
end
$i = 0
}
end
def iter
yield
end
Expand Down Expand Up @@ -349,7 +349,7 @@ def m
7+7
end
}
assert_equal %q{ok}, %q{ #
assert_equal %q{ok}, %q{ #
proc{
begin
raise
Expand All @@ -376,7 +376,7 @@ class C
def inspect
bar {}
end
def bar
raise
ensure
Expand Down
2 changes: 1 addition & 1 deletion bootstraptest/test_flow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def lines
end
end
end
('a').lines.map{|e|
break :ok
}
Expand Down
8 changes: 4 additions & 4 deletions bootstraptest/test_jump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def all_?
def m
yield
end
m{
begin
ensure
Expand Down Expand Up @@ -190,7 +190,7 @@ def m
$i = 100
end
end
def iter
yield
end
Expand All @@ -216,7 +216,7 @@ def m
return 1
end
end
m
}
assert_equal %q{1}, %q{
Expand All @@ -227,7 +227,7 @@ def m
return 1
end
end
m
}
assert_equal 'ok', %q{
Expand Down
6 changes: 3 additions & 3 deletions bootstraptest/test_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ def test
o1 = c1.new
o2 = c2.new
test{o1.m}
test{o2.mm}
test{o1.send :m}
Expand Down Expand Up @@ -1074,7 +1074,7 @@ class Foo
def regular(a, b, *c)
[a, b, c]
end
regular(*[], 1, *[], *[2, 3], *[], 4)
regular(*[], 1, *[], *[2, 3], *[], 4)
}, '[ruby-core:19413]'

assert_equal '[1, [:foo, 3, 4, :foo]]', %q{
Expand All @@ -1093,7 +1093,7 @@ def m
end
class B < A
define_method(:m) do
define_method(:m) do
['B', super()]
end
end
Expand Down
Loading

0 comments on commit 3a47cf3

Please sign in to comment.