diff options
| author | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-18 15:27:06 +0000 |
|---|---|---|
| committer | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-18 15:27:06 +0000 |
| commit | ca167baba1d35613e2580b8315aeea20340b1235 (patch) | |
| tree | 6a614a8b8316c341e4818d3752fc8be2ea64168a | |
| parent | 0e1b6f795c677546e935f16dac49109db97a46d4 (diff) | |
| download | ruby-ca167baba1d35613e2580b8315aeea20340b1235.tar.gz ruby-ca167baba1d35613e2580b8315aeea20340b1235.tar.xz ruby-ca167baba1d35613e2580b8315aeea20340b1235.zip | |
* lib/cgi-lib.rb: deprecated after 1.8.1
* lib/getopts.rb: ditto
* lib/importenv.rb: ditto
* lib/parsearg.rb: ditto
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rw-r--r-- | lib/cgi-lib.rb | 2 | ||||
| -rw-r--r-- | lib/getopts.rb | 2 | ||||
| -rw-r--r-- | lib/importenv.rb | 2 | ||||
| -rw-r--r-- | lib/parsearg.rb | 2 |
5 files changed, 16 insertions, 0 deletions
@@ -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> * 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 +>>>>>>> 1.2947 Wed Feb 18 22:03:11 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> * test/*: should not depend on $KCODE. diff --git a/lib/cgi-lib.rb b/lib/cgi-lib.rb index bc780ffc4..33c732660 100644 --- a/lib/cgi-lib.rb +++ b/lib/cgi-lib.rb @@ -1,3 +1,5 @@ +warn "Warning: cgi-lib is deprecated after Ruby 1.8.1; use cgi instead" + =begin = simple CGI support library diff --git a/lib/getopts.rb b/lib/getopts.rb index 34fb0d644..1cd6d2f48 100644 --- a/lib/getopts.rb +++ b/lib/getopts.rb @@ -15,6 +15,8 @@ # 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$ diff --git a/lib/importenv.rb b/lib/importenv.rb index 435d6f972..c47fc1f6c 100644 --- a/lib/importenv.rb +++ b/lib/importenv.rb @@ -7,6 +7,8 @@ # $USER = "matz" # p ENV["USER"] +warn "Warning: importenv is deprecated after Ruby 1.8.1 (no replacement)" + for k,v in ENV next unless /^[a-zA-Z][_a-zA-Z0-9]*/ =~ k eval <<EOS diff --git a/lib/parsearg.rb b/lib/parsearg.rb index d5f3c9638..9d58be99f 100644 --- a/lib/parsearg.rb +++ b/lib/parsearg.rb @@ -10,6 +10,8 @@ # # +warn "Warning: parsearg is deprecated after Ruby 1.8.1; use optparse instead" + $RCS_ID=%q$Header$ require "getopts" |
