* lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:

warn with caller position.

* test/rss/test_content.rb, test/rss/test_dublincore.rb,
  test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
  instead of cgi-lib.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-02-25 11:44:58 +00:00
parent 9418d16cbb
commit 8f2057e33d
9 changed files with 18 additions and 9 deletions

View file

@ -15,7 +15,7 @@
# rewritten by Akinori MUSHA <knu@ruby-lang.org>
#
warn "Warning: getopts is deprecated after Ruby 1.8.1; use optparse instead"
warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: getopts is deprecated after Ruby 1.8.1; use optparse instead"
$RCS_ID=%q$Header$