lib/asciibook/book.rb in asciibook-0.0.2.beta2 vs lib/asciibook/book.rb in asciibook-0.0.2

- old
+ new

@@ -141,10 +141,10 @@ node.page = page @pages << page end def assets - Dir.glob('**/*.{jpg,png,gif,mp3,mp4,ogg,wav}', File::FNM_CASEFOLD, base: @base_dir).reject do |path| + Dir.glob('**/*.{jpg,png,svg,gif,mp3,mp4,ogg,wav}', File::FNM_CASEFOLD, base: @base_dir).reject do |path| @exclude_patterns.any? do |pattern| File.fnmatch?(pattern, path) end end end