File ruby-sort-rdoc-output.patch of Package ruby19

Index: ruby-1.9.3-p194/lib/rdoc/generator/template/darkfish/classpage.rhtml
===================================================================
--- ruby-1.9.3-p194.orig/lib/rdoc/generator/template/darkfish/classpage.rhtml
+++ ruby-1.9.3-p194/lib/rdoc/generator/template/darkfish/classpage.rhtml
@@ -33,7 +33,7 @@
         <h3 class="section-header">In Files</h3>
         <div class="section-body">
           <ul>
-          <% klass.in_files.each do |tl| %>
+          <% klass.in_files.sort.each do |tl| %>
             <li><a href="<%= rel_prefix %>/<%= h tl.path %>?TB_iframe=true&amp;height=550&amp;width=785"
               class="thickbox" title="<%= h tl.absolute_name %>"><%= h tl.absolute_name %></a></li>
           <% end %>
Index: ruby-1.9.3-p194/lib/rdoc/stats.rb
===================================================================
--- ruby-1.9.3-p194.orig/lib/rdoc/stats.rb
+++ ruby-1.9.3-p194/lib/rdoc/stats.rb
@@ -288,7 +288,7 @@ class RDoc::Stats
     else
       report << '# in files:'
 
-      cm.in_files.each do |file|
+      cm.in_files.sort.each do |file|
         report << "#   #{file.full_name}"
       end
 
openSUSE Build Service is sponsored by