lib/peddler/flat_file_parser.rb in peddler-0.7.6 vs lib/peddler/flat_file_parser.rb in peddler-0.7.7
- old
+ new
@@ -19,10 +19,10 @@
def parse
CSV.parse(scrub_content, OPTIONS) if content
end
def records_count
- summarize if summary
+ summarize if has_summary?
end
def valid?
headers['Content-MD5'] == Digest::MD5.base64digest(body)
end