lib/nanoc.rb in nanoc-1.5 vs lib/nanoc.rb in nanoc-1.6

- old
+ new

@@ -1,8 +1,8 @@ module Nanoc - VERSION = '1.5' + VERSION = '1.6' def self.ensure_in_site unless in_site? $stderr.puts 'ERROR: The current working directory does not seem to ' + 'be a valid/complete nanoc site directory; aborting.' unless $quiet @@ -25,15 +25,18 @@ true end end +require File.dirname(__FILE__) + '/nanoc/enhancements.rb' + require File.dirname(__FILE__) + '/nanoc/creator.rb' require File.dirname(__FILE__) + '/nanoc/compiler.rb' $nanoc_creator = Nanoc::Creator.new $nanoc_compiler = Nanoc::Compiler.new require File.dirname(__FILE__) + '/nanoc/core_ext.rb' -require File.dirname(__FILE__) + '/nanoc/enhancements.rb' require File.dirname(__FILE__) + '/nanoc/filters.rb' require File.dirname(__FILE__) + '/nanoc/page.rb' +require File.dirname(__FILE__) + '/nanoc/page_drop.rb' +require File.dirname(__FILE__) + '/nanoc/page_proxy.rb'