summaryrefslogtreecommitdiffstats
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
commitc6f56122c8f50afaf80f277629b4796b24f6e3cf (patch)
tree5f1294b5b8e37cd0fb5487e88428d0183a15d63e /lib/cgi.rb
parent1d2354b59a6f1839ec635911e21f6437603a4254 (diff)
downloadruby-c6f56122c8f50afaf80f277629b4796b24f6e3cf.tar.gz
ruby-c6f56122c8f50afaf80f277629b4796b24f6e3cf.tar.xz
ruby-c6f56122c8f50afaf80f277629b4796b24f6e3cf.zip
wakou
git-svn-id: http://svn.ruby-lang.org/repos/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 a4138c378..101fa0a8a 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.