lib/darkext.rb in darkhelmet-darkext-0.9.4 vs lib/darkext.rb in darkhelmet-darkext-0.9.5
- old
+ new
@@ -1,6 +1,7 @@
$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
Dir[File.join(File.join(File.dirname(__FILE__), 'darkext'), '*.rb')].sort.each do |lib|
- require lib unless lib.include?('sinatra') # don't include sinatra stuff by defaults
+ # don't include sinatra stuff by defaults
+ require lib unless lib.include?('sinatra') || lib.include?('sitemap')
end