lib/madvertise/boot.rb in madvertise-ext-0.6.0 vs lib/madvertise/boot.rb in madvertise-ext-0.6.1
- old
+ new
@@ -26,10 +26,10 @@
'sysconf.rb',
'proc_stat.rb',
]
Dir[File.join(File.dirname(__FILE__), '*.rb')].each do |f|
- require f unless blacklist.include?(f)
+ require f unless blacklist.include?(File.basename(f))
end
require 'madvertise/logging' # dedicated gem
# load default configuration