lib/tasks/single-output-task.rb in distil-0.8.0 vs lib/tasks/single-output-task.rb in distil-0.8.1

- old
+ new

@@ -27,14 +27,13 @@ @concat = "" @debug = "" end def process_files - destination= File.expand_path(remove_prefix||"") @included_files.each { |f| - @concat << f.content_relative_to_destination(destination) - @debug << f.debug_content_relative_to_destination(destination) + @concat << f.filtered_content(options) + @debug << f.debug_content(options) } end def finish return if (!output_type) @@ -48,10 +47,10 @@ return if (""==@concat) params= { "VERSION"=>@options.version } - + concat= replace_tokens(@concat, params) File.open(@name_concat, "w") { |f| f.write(notice_text) f.write(concat)