From df96e4184556346d821541d847f9fca7b53e29a5 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 7 Aug 2010 08:40:32 +0000 Subject: [PATCH] * mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and deprecated Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rbconfig/obsolete.rb | 2 ++ tool/mkconfig.rb | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 lib/rbconfig/obsolete.rb diff --git a/ChangeLog b/ChangeLog index 3d006ffeee..df76363978 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 7 17:40:24 2010 Nobuyoshi Nakada + + * mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and + deprecated Config. + Sat Aug 7 17:18:34 2010 Nobuyoshi Nakada * ext/extmk.rb (extract_makefile): follow the change of diff --git a/lib/rbconfig/obsolete.rb b/lib/rbconfig/obsolete.rb new file mode 100644 index 0000000000..fcc7151ad2 --- /dev/null +++ b/lib/rbconfig/obsolete.rb @@ -0,0 +1,2 @@ +warn "Use RbConfig instead of obsolete and deprecated Config." +Config = RbConfig # compatibility for ruby-1.8.4 and older. diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index ac24821829..07d6982701 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -213,7 +213,7 @@ print <