<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,6 +22,15 @@ things to improve, so contribution/patches are very welcome.
    converter = DiffToHtml.new
    ...
 
+* to use in any Ruby program:
+   
+   require 'rubygems'
+   gem 'artemv-diff_to_html'
+   require 'diff_to_html'
+   ...
+
+(just like in test.rb)
+   
 == License
 
 diff_to_html is released under the MIT license.</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,9 @@
+require 'rubygems'
+gem 'artemv-diff_to_html'
 require 'diff_to_html'
-diff = `svn diff -r 46:47 svn://hamptoncatlin.com/haml --diff-cmd diff -x &quot;-w -U 2&quot;`
-
+#require '../lib/diff_to_html.rb'
+diff = `svn diff -r 46:47 svn://hamptoncatlin.com/haml --diff-cmd diff -x &quot;-U 2&quot;`
+#diff = `cat diff`
 puts &lt;&lt;EOF
 &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</diff>
      <filename>examples/test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -123,7 +123,7 @@ EOF
           line = line[1..-1]
           
           if ((@last_op != ' ' and op == ' ') or (@last_op == ' ' and op != ' '))
-            flush_changes(result, left_ln, right_ln)
+            left_ln, right_ln = flush_changes(result, left_ln, right_ln)
           end
           
           # truncate and escape</diff>
      <filename>lib/diff_to_html.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>960e9c5d1d0c1ded8ab9840bc5a6b1e5be9545e9</id>
    </parent>
  </parents>
  <author>
    <name>unknown</name>
    <login>artemv</login>
    <email>abublic@gmail.com</email>
  </author>
  <url>http://github.com/artemv/diff_to_html.rb/commit/b386d9f9ca11efda9e7735205411e95020cdceb9</url>
  <id>b386d9f9ca11efda9e7735205411e95020cdceb9</id>
  <committed-date>2008-05-23T12:06:43-07:00</committed-date>
  <authored-date>2008-05-23T12:06:43-07:00</authored-date>
  <message>fixed nasty line numbering bug</message>
  <tree>f064357b0ec8ff99a390ee56e4d51bbc721537b9</tree>
  <committer>
    <name>unknown</name>
    <login>artemv</login>
    <email>abublic@gmail.com</email>
  </committer>
</commit>
