diff options
Diffstat (limited to 'ruby_1_9_3/lib/rbconfig')
-rw-r--r-- | ruby_1_9_3/lib/rbconfig/.document | 1 | ||||
-rw-r--r-- | ruby_1_9_3/lib/rbconfig/datadir.rb | 13 | ||||
-rw-r--r-- | ruby_1_9_3/lib/rbconfig/obsolete.rb | 5 |
3 files changed, 0 insertions, 19 deletions
diff --git a/ruby_1_9_3/lib/rbconfig/.document b/ruby_1_9_3/lib/rbconfig/.document deleted file mode 100644 index 4cea83cd0e..0000000000 --- a/ruby_1_9_3/lib/rbconfig/.document +++ /dev/null @@ -1 +0,0 @@ -# these files are obsolete diff --git a/ruby_1_9_3/lib/rbconfig/datadir.rb b/ruby_1_9_3/lib/rbconfig/datadir.rb deleted file mode 100644 index 9b7eabb473..0000000000 --- a/ruby_1_9_3/lib/rbconfig/datadir.rb +++ /dev/null @@ -1,13 +0,0 @@ -#-- -# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. -# All rights reserved. -# See LICENSE.txt for permissions. -#++ - -# N.B. This file is used by Config.datadir in rubygems.rb, and must not be -# removed before that require is removed. I require to avoid warning more than -# once. - -warn 'rbconfig/datadir.rb and {Rb}Config.datadir is being deprecated from '\ - 'RubyGems. It will be removed completely on or after June 2011. If you '\ - 'wish to rely on a datadir, please use Gem.datadir.' diff --git a/ruby_1_9_3/lib/rbconfig/obsolete.rb b/ruby_1_9_3/lib/rbconfig/obsolete.rb deleted file mode 100644 index eae9155af6..0000000000 --- a/ruby_1_9_3/lib/rbconfig/obsolete.rb +++ /dev/null @@ -1,5 +0,0 @@ -loc = caller[0] -loc = loc[/\A.*:\d+:/] if loc -loc = "#{loc} " if loc -warn "#{loc}Use RbConfig instead of obsolete and deprecated Config." -Config = RbConfig # compatibility for ruby-1.8.4 and older. |