summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Hodel <drbrain@segment7.net>2011-08-18 17:48:10 -0800
committerEric Hodel <drbrain@segment7.net>2011-08-18 17:48:10 -0800
commitee895dda242c79cf60855dee6f2625f2c7ba90a1 (patch)
treeca9241599427e4ba5a7dc04fe160fb83ac9bcddf
parent316e2be47542782a0bad165e41f14ed0d482b32a (diff)
downloadhoe-ee895dda242c79cf60855dee6f2625f2c7ba90a1.tar.gz
- RbConfig is used instead of Config to remove a warning
[git-p4: depot-paths = "//src/hoe/dev/": change = 6561]
-rw-r--r--lib/hoe.rb2
-rw-r--r--lib/hoe/inline.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/hoe.rb b/lib/hoe.rb
index af93af0..0f6ca2d 100644
--- a/lib/hoe.rb
+++ b/lib/hoe.rb
@@ -97,7 +97,7 @@ class Hoe
##
# True if you're a masochistic developer. Used for building commands.
- WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/ unless defined? WINDOZE
+ WINDOZE = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ unless defined? WINDOZE
##
# *MANDATORY*: The author(s) of the package. (can be array)
diff --git a/lib/hoe/inline.rb b/lib/hoe/inline.rb
index 0b0ebad..7796709 100644
--- a/lib/hoe/inline.rb
+++ b/lib/hoe/inline.rb
@@ -37,7 +37,7 @@ module Hoe::Inline
if defined?(Inline) then
directory 'lib/inline'
- dlext = Config::CONFIG['DLEXT']
+ dlext = RbConfig::CONFIG['DLEXT']
Inline.registered_inline_classes.each do |cls|
name = cls.name.gsub(/::/, '')