* lib/cgi-lib.rb: deprecated after 1.8.1

* lib/getopts.rb:   ditto
 * lib/importenv.rb: ditto
 * lib/parsearg.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gsinclair 2004-02-18 15:27:06 +00:00
Родитель 847fd91e32
Коммит 1399c1bca0
5 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,10 @@
Wed Feb 19 00:20:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au>
* lib/cgi-lib.rb: deprecated after 1.8.1
* lib/getopts.rb: ditto
* lib/importenv.rb: ditto
* lib/parsearg.rb: ditto
Thu Feb 19 00:11:05 2004 Dave Thomas <dave@pragprog.com> Thu Feb 19 00:11:05 2004 Dave Thomas <dave@pragprog.com>
* lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::handle): * lib/rdoc/markup/simple_markup/preprocess.rb (SM::PreProcess::handle):
@ -11,6 +18,7 @@ Wed Feb 18 22:42:19 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/rinda/test_rinda.rb: improt test_rinda.rb * test/rinda/test_rinda.rb: improt test_rinda.rb
>>>>>>> 1.2947
Wed Feb 18 22:03:11 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> Wed Feb 18 22:03:11 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/*: should not depend on $KCODE. * test/*: should not depend on $KCODE.

Просмотреть файл

@ -1,3 +1,5 @@
warn "Warning: cgi-lib is deprecated after Ruby 1.8.1; use cgi instead"
=begin =begin
= simple CGI support library = simple CGI support library

Просмотреть файл

@ -15,6 +15,8 @@
# rewritten by Akinori MUSHA <knu@ruby-lang.org> # rewritten by Akinori MUSHA <knu@ruby-lang.org>
# #
warn "Warning: getopts is deprecated after Ruby 1.8.1; use optparse instead"
$RCS_ID=%q$Header$ $RCS_ID=%q$Header$

Просмотреть файл

@ -7,6 +7,8 @@
# $USER = "matz" # $USER = "matz"
# p ENV["USER"] # p ENV["USER"]
warn "Warning: importenv is deprecated after Ruby 1.8.1 (no replacement)"
for k,v in ENV for k,v in ENV
next unless /^[a-zA-Z][_a-zA-Z0-9]*/ =~ k next unless /^[a-zA-Z][_a-zA-Z0-9]*/ =~ k
eval <<EOS eval <<EOS

Просмотреть файл

@ -10,6 +10,8 @@
# #
# #
warn "Warning: parsearg is deprecated after Ruby 1.8.1; use optparse instead"
$RCS_ID=%q$Header$ $RCS_ID=%q$Header$
require "getopts" require "getopts"