lib/cronicle/utils.rb in cronicle-0.2.3 vs lib/cronicle/utils.rb in cronicle-0.2.4
- old
+ new
@@ -35,9 +35,9 @@
end
def diff(file1, file2)
file1 = file1.chomp + "\n"
file2 = file2.chomp + "\n"
- Diffy::Diff.new(file1, file2).to_s(:text)
+ Diffy::Diff.new(file1, file2, :context => 3, :include_diff_info => true).to_s(:text)
end
end # of class methods
end