tag:help.lighthouseapp.com,2008-09-20:/discussions/questions/7-warehouse-feature-questionLighthouse: Discussion 2011-04-07T05:34:23Ztag:help.lighthouseapp.com,2008-09-20:Comment/103122007-07-11T11:58:54Z2009-06-20T20:55:52Zwarehouse feature question<div><p>Hello, I<code>ve seen your new application Warehouse it</code>s
really great. But as a rails developer i have a question about a
feature that would like to implement myself in my app. It<code>s
about the comparison of two version (of the file) with showing the
differences between them.</code></p>
<p>Can you please tell me how did you do that?</p>
<p>I want to build something similar to a
writeboard(http://www.writeboard.com/), i used acts_as_versioned
but i could not find a way to show the differences between two
versions.</p>
<p>Thank you very much and hope to hear from you again. Bogdan Gaza
- Romania</p></div>Bogdan Gazatag:help.lighthouseapp.com,2008-09-20:Comment/103122007-07-11T13:23:21Z2009-06-20T20:55:52Zwarehouse feature question<div><p>Buy the app and find out :) Seriously though, the subversion API
takes care of that for me, Warehouse just formats it to add
color.</p>
<p><a href=
"http://svn.rubyonrails.org/rails/tools/i2/trunk/">i2</a> (the
rails wiki) uses the <a href=
"http://svn.rubyonrails.org/rails/tools/i2/trunk/vendor/html_diff/lib/html_diff.rb">
html_diff</a> library to show colorized diffs between two blobs of
text.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/103122007-07-15T22:24:18Z2009-06-20T20:55:53Zwarehouse feature question<div><p>Not the same as what is in warehouse but you could use HTMLDiff
(http://dev.rubyonrails.org/browser/tools/i2/branches/alexey/lib/diff.rb)</p></div>Adam