Commit 908fe14a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Skip not-different classes in compare-created diff.

parent c3cbeea5
Loading
Loading
Loading
Loading
+25 −23
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ old_classes.each_pair do |name, cls|
end

# do HTML output
title = "Comparison of Ext 3.4.0 and Ext 4.0.6"
title = "Comparison of Ext 4.0.7 and Ext 4.1.0"
#title = "Comparison of Touch 1.1.1 and Touch 2.0.0"
html = []
html << <<-EOHTML
@@ -111,6 +111,7 @@ EOHTML
html << "<ul>"
diff_data.sort! {|a, b| a[:name] <=> b[:name] }
diff_data.each do |cls|
  if !cls[:found] || cls[:diff].length > 0
    html << "<li>"
    if cls[:found]
      new_name = (cls[:new_name] == cls[:name] ? "" : " --> " + cls[:new_name])
@@ -138,6 +139,7 @@ diff_data.each do |cls|
    end
    html << "</li>"
  end
end
html << "</ul>"

html << "<h2>Summary</h2>"