akr
166b3957e0
* lib/pathname.rb: use assert_raise instead of assert_raises.
...
* lib/pp.rb: ditto.
* lib/time.rb: ditto.
* lib/tsort.rb: ditto.
use TSortHash and TSortArray instead of Hash and Array in test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11 17:36:37 +00:00
usa
f9c2dcec4e
check ArgumentError by Time.at(-1) instead of by test itself.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 13:13:42 +00:00
usa
3dea3d810f
* lib/test.rb (test_rfc2822, test_rfc3339, test_encode_xmlschema):
...
should not expect that all platforms handle negative time_t value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 12:51:39 +00:00
akr
6abca35457
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 11:31:21 +00:00
matz
8ef5da3be1
consistent parentheses in assignment RHS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-16 17:47:19 +00:00
tadf
782b6ceac3
yyyy/mm is not an acceptable format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-31 01:26:29 +00:00
akr
0977fe1705
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
...
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb,
lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert
escape for `-' in character class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29 06:39:50 +00:00
akr
58ef7c2088
* regex.c (re_compile_pattern): fix previous change.
...
* instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb,
lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb,
lib/optparse.rb, lib/time.rb, lib/date/format.rb,
lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in
regexp to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-21 15:13:23 +00:00
gsinclair
b95357be1a
Converted RD to RDoc, with some changes/additions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21 16:06:32 +00:00
akr
fce7467e60
* lib/pp.rb: Use Test::Unit.
...
* lib/prettyprint.rb: Ditto
* lib/time.rb: Ditto
* lib/tsort.rb: Ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-21 05:51:41 +00:00
akr
9c4a482229
* lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.
...
* lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-24 05:18:08 +00:00
akr
53641c5118
modify document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-18 05:11:31 +00:00
akr
41dd4d2b6a
fix typo in documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-07 06:48:48 +00:00
akr
6a100f3ce4
* lib/time.rb (Time#xmlschema): new optional argument
...
fractional_seconds to specify a number of digits of
fractional part of the time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-07 03:56:55 +00:00
akr
8e8c76bd5f
* lib/time.rb: date.rb is not required anymore.
...
* lib/resolv.rb: fix document. refine IPv6 regex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-18 18:14:08 +00:00
akr
bb6c116c63
* lib/time.rb: use Time#utc_offset.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-17 07:22:03 +00:00
akr
3493ea5c7a
new file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-10 06:52:47 +00:00