* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b28ac4039d
commit
30fbc5591d
@ -38,7 +38,7 @@ Thu Dec 20 06:59:52 2012 Koichi Sasada <ko1@atdot.net>
|
|||||||
(1) You can run more complex program on a Fiber.
|
(1) You can run more complex program on a Fiber.
|
||||||
(2) You can not make many (thousands) Fibers because of
|
(2) You can not make many (thousands) Fibers because of
|
||||||
lack of address space (on 32bit CPU).
|
lack of address space (on 32bit CPU).
|
||||||
If (2) bothers you,
|
If (2) bothers you,
|
||||||
(a) Use 64bit CPU with big memory, or
|
(a) Use 64bit CPU with big memory, or
|
||||||
(b) Specify RUBY_FIBER_(VM|MACHINE)_STACK_SIZE correctly.
|
(b) Specify RUBY_FIBER_(VM|MACHINE)_STACK_SIZE correctly.
|
||||||
You need to choose correct stack size carefully. These values
|
You need to choose correct stack size carefully. These values
|
||||||
|
2
NEWS
2
NEWS
@ -262,7 +262,7 @@ with all sufficient information, see the ChangeLog file.
|
|||||||
is FIPS-enabled. OpenSSL.fips_mode= allows turning on and off FIPS mode
|
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
|
manually in order to adapt to situations where FIPS mode would be an
|
||||||
explicit requirement.
|
explicit requirement.
|
||||||
|
|
||||||
* ostruct
|
* ostruct
|
||||||
* new methods:
|
* new methods:
|
||||||
* OpenStruct#[], []=
|
* OpenStruct#[], []=
|
||||||
|
@ -3,7 +3,7 @@ require_relative 'utils'
|
|||||||
if defined?(OpenSSL) && OpenSSL::OPENSSL_FIPS
|
if defined?(OpenSSL) && OpenSSL::OPENSSL_FIPS
|
||||||
|
|
||||||
class OpenSSL::TestFIPS < Test::Unit::TestCase
|
class OpenSSL::TestFIPS < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_reject_md5
|
def test_reject_md5
|
||||||
data = "test"
|
data = "test"
|
||||||
assert_not_nil(OpenSSL::Digest.new("MD5").digest(data))
|
assert_not_nil(OpenSSL::Digest.new("MD5").digest(data))
|
||||||
@ -36,7 +36,7 @@ class OpenSSL::TestFIPS < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def in_fips_mode
|
def in_fips_mode
|
||||||
OpenSSL.fips_mode = true
|
OpenSSL.fips_mode = true
|
||||||
yield
|
yield
|
||||||
|
@ -70,7 +70,7 @@ call-seq:
|
|||||||
comment = RDoc::Comment.new <<-COMMENT, @top_level
|
comment = RDoc::Comment.new <<-COMMENT, @top_level
|
||||||
# call-seq:
|
# call-seq:
|
||||||
# bla => true or false
|
# bla => true or false
|
||||||
#
|
#\s
|
||||||
# moar comment
|
# moar comment
|
||||||
COMMENT
|
COMMENT
|
||||||
|
|
||||||
|
@ -563,7 +563,7 @@ class TestRefinement < Test::Unit::TestCase
|
|||||||
def recursive_length
|
def recursive_length
|
||||||
if empty?
|
if empty?
|
||||||
0
|
0
|
||||||
else
|
else
|
||||||
self[1..-1].recursive_length + 1
|
self[1..-1].recursive_length + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user