diff options
author | Eric Hodel <drbrain@segment7.net> | 2011-08-18 17:48:10 -0800 |
---|---|---|
committer | Eric Hodel <drbrain@segment7.net> | 2011-08-18 17:48:10 -0800 |
commit | ee895dda242c79cf60855dee6f2625f2c7ba90a1 (patch) | |
tree | ca9241599427e4ba5a7dc04fe160fb83ac9bcddf | |
parent | 316e2be47542782a0bad165e41f14ed0d482b32a (diff) | |
download | hoe-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.rb | 2 | ||||
-rw-r--r-- | lib/hoe/inline.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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(/::/, '') |