diff --git a/asserts/puzzles.xsd b/assets/puzzles.xsd similarity index 100% rename from asserts/puzzles.xsd rename to assets/puzzles.xsd diff --git a/asserts/puzzles.xsl b/assets/puzzles.xsl similarity index 100% rename from asserts/puzzles.xsl rename to assets/puzzles.xsl diff --git a/lib/pdd.rb b/lib/pdd.rb index 332d772..dffc846 100644 --- a/lib/pdd.rb +++ b/lib/pdd.rb @@ -121,7 +121,7 @@ def render(puzzle, xml) def sanitize(xml) xsd = Nokogiri::XML::Schema( - File.read(File.join(File.dirname(__FILE__), '../asserts/puzzles.xsd')) + File.read(File.join(File.dirname(__FILE__), '../assets/puzzles.xsd')) ) errors = xsd.validate(Nokogiri::XML(xml)).map { |error| error.message } errors.each { |e| PDD.log.error e }