summaryrefslogtreecommitdiff
path: root/lib/cgi.rb
diff options
context:
space:
mode:
authorwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-11 16:28:15 +0000
committerwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-11 16:28:15 +0000
commit9dbce410e10e409f178291c1ef1007a1d9dd718c (patch)
tree5f1294b5b8e37cd0fb5487e88428d0183a15d63e /lib/cgi.rb
parentfe10b1680961e4ad68850cd6c3f786436af0f972 (diff)
wakou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r--lib/cgi.rb16
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index a4138c3..101fa0a 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -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.