1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
wakou 2000-10-11 16:28:15 +00:00
parent fe10b16809
commit 9dbce410e1
2 changed files with 15 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Thu Oct 12 01:23:38 2000 Wakou Aoyama <wakou@fsinet.or.jp>
* lib/cgi.rb: bug fix: CGI::html(): PRETTY option didn't work.
Wed Oct 11 14:29:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
* lib/net/protocol.rb: 2nd arg for ProtocolError#initialize is optional.

View file

@ -4,7 +4,7 @@
cgi.rb - cgi support library
Version 2.0.1
Version 2.1.0
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
@ -185,10 +185,10 @@ class CGI
CR = "\015"
LF = "\012"
EOL = CR + LF
VERSION = "2.0.1"
RELEASE_DATE = "2000-09-13"
VERSION_CODE = 201
RELEASE_CODE = 20000913
VERSION = "2.1.0"
RELEASE_DATE = "2000-10-12"
VERSION_CODE = 210
RELEASE_CODE = 20001012
NEEDS_BINMODE = true if /WIN/ni === RUBY_PLATFORM
PATH_SEPARATOR = {'UNIX'=>'/', 'WINDOWS'=>'\\', 'MACINTOSH'=>':'}
@ -1319,6 +1319,7 @@ convert string charset, and set language to "ja".
attributes = { "PRETTY" => true }
end
pretty = attributes.delete("PRETTY")
pretty = " " if true == pretty
buf = ""
if attributes.has_key?("DOCTYPE")
@ -1924,6 +1925,11 @@ end
== HISTORY
* Thu Oct 12 01:16:59 JST 2000 - wakou
* version 2.1.0
* bug fix: CGI::html(): PRETTY option didn't work.
thanks to akira yamada <akira@ruby-lang.org>
* Wed Sep 13 06:09:26 JST 2000 - wakou
* version 2.0.1
* bug fix: CGI::header(): output status header.