lib/caboodle/kit.rb in caboodle-0.2.9 vs lib/caboodle/kit.rb in caboodle-0.2.10

- old
+ new

@@ -20,11 +20,11 @@ end class << self attr_accessor :credit_link - def configure config_path + def configure_site config_path set :config, config_path if File.exists?(config_path) Caboodle::Kit.load_config(config_path) Caboodle::Kit.setup else @@ -255,11 +255,10 @@ Caboodle::Layout[k.to_sym] << v else Caboodle::Layout[k.to_sym] = v end end - puts Caboodle::Layout.inspect end def defaults hash if hash.class == Hash hash.each {|k,v| Site[k] = v } @@ -287,10 +286,9 @@ Dir.new(File.join(File.dirname(__FILE__),"kits")).entries.delete_if{|a| a[0,1]=="."} end def start errors = [] - puts self.required_settings.inspect self.required_settings.each do |s| if Site[s].blank? errors << " :#{s} has not been set" end end \ No newline at end of file