Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
nahi 12c788d061 Sun Nov 14 08:46:33 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/logger/test_logger.rb: Logger just expects
          Logger#datetime_format to be used for Time#strftime independently of
          locale. [ruby-dev:24828]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13 23:50:46 +00:00
nahi 77cb3aeba1 * lib/logger.rb(Logger#msg2str): no special treatment for the object
which responds to :to_str.

        * lib/logger.rb(LogDevice#initialize): remove type checking if the
          given object is a String.  Kernel.open handles it correctly.

        * test/logger/test_logger.rb: follow above change (ArgumentError ->
          TypeError.)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 11:55:08 +00:00
nahi 637af54751 * test/logger/test_logger.rb: unlinking file before close causes problem under
win32 box.

* lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly when
  stringified and embedded into XML instance.  Ruby's sprintf may format -0.0
  as "0.0" (no minus sign) depending on underlying C sprintf implementation.

* test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.

* test/soap/calc/*: give httpd config param "CGIInterpreter".
  "/usr/bin/env ruby" thing does not work under non-Unix boxes.

* ChangeLog: corrected wrong DoW of my log entries...


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01 15:29:43 +00:00
nahi 523cd7be9c * lib/logger.rb: check if the given logdevice object respond_to :write and
:close, not is_a? IO.  duck duck.

* test/logger/test_logger.rb: self IO.pipe reading/writing may be locked by the
  flood.  use tempfile.

* lib/wsdl/xmlSchema/data.rb: wrong constant reference.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29 07:27:57 +00:00
nahi 406fd7754e * lib/logger.rb: add Logger#<<(msg) for writing msg without any formatting.
* test/logger/test_logger.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-23 14:12:42 +00:00
nahi 879944aa32 * reduce expecting size of backtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:54:52 +00:00
nahi deb2caf4b5 * lib/logger.rb: typo fixed.
* test/logger/test_logger.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:51:06 +00:00