lib/emaildiff.rb in diff-0.3.4.1 vs lib/emaildiff.rb in diff-0.3.4.2

- old
+ new

@@ -13,9 +13,19 @@ else @diffs = [] @curdiffs = [] strip_a = striplines(diffs_or_a) strip_b = striplines(b) + if defined? logger + logger.info "---------------------------------------------------------" + logger.info "Previous stripped notes." + logger.info "---------------------------------------------------------" + logger.info strip_a + logger.info "---------------------------------------------------------" + logger.info "Current stripped notes." + logger.info "---------------------------------------------------------" + logger.info strip_b + end makediff(strip_a, strip_b) @orig_a = diffs_or_a @orig_b = b @difftype = diffs_or_a.class end