lib/review/makerhelper.rb in review-2.0.0 vs lib/review/makerhelper.rb in review-2.1.0
- old
+ new
@@ -51,10 +51,10 @@
next unless /\.#{orig_type}$/ =~ fname
is_converted = system("convert #{from_dir}/#{fname} #{to_dir}/#{fname}.#{conv_type}")
image_files << "#{from_dir}/#{fname}.#{conv_type}"
end
- exts = options[:exts] || %w(png gif jpg jpeg svg pdf eps)
+ exts = options[:exts] || %w(png gif jpg jpeg svg pdf eps ai tif)
exts_str = exts.join('|')
if !is_converted && fname =~ /\.(#{exts_str})$/i
FileUtils.cp "#{from_dir}/#{fname}", to_dir
image_files << "#{from_dir}/#{fname}"
end