Skip to content

Commit

Permalink
- RbConfig is used instead of Config to remove a warning
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/hoe/dev/": change = 6561]
  • Loading branch information
drbrain committed Aug 19, 2011
1 parent 316e2be commit ee895dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/hoe.rb
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/hoe/inline.rb
Expand Up @@ -37,7 +37,7 @@ def define_inline_tasks
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(/::/, '')
Expand Down

0 comments on commit ee895dd

Please sign in to comment.