aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2006-01-12-recent-ruby-patches.html
blob: 3856e611295cfb35ddfff00785dcc16a145ea7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
date: "2006-01-12T21:32:04Z"
title: Recent Ruby Patches
---

<p>I've submitted a couple of patches to <a href="http://ruby-lang.org/">Ruby</a> in the last month or so.
<a href="http://diff.pablotron.org/ruby-1.8.4-cgi&#95;headers.diff">The first patch</a>, which has been accepted for <a href="http://ruby-lang.org/">Ruby</a> 1.9, and
possibly 1.8, adds several missing 
<acronym title='HyperText Transfer Protocol'>HTTP</acronym>
headers to <a href="http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html">Ruby 
<acronym title='Common Gateway Interface'>CGI</acronym></a>, including
the ever-important <code>If-Modified-Since</code> and <code>If-None-Match</code> headers.</p>

<p><a href="http://diff.pablotron.org/ruby-1.8.4-rdoc&#95;html&#95;cleanup.diff">The second patch</a>, which (as of today) is still floating on
<code>ruby-core</code>, improves the
<acronym title='HyperText Markup Language'>HTML</acronym> output of
<a href="http://rdoc.sourceforge.net/">RDoc</a> by adding proper encoding and language declarations, closing
dangling <code>&lt;img&gt;</code> and <code>&lt;br/&gt;</code> elements, and fixing a handful of other
annoyances.</p>

<p>Without any further ado, each of the patches and their respective
descriptions from <code>ruby-core</code>:</p>

<ul>
<li><a href="http://diff.pablotron.org/ruby-1.8.4-cgi&#95;headers.diff">ruby-1.8.4-cgi_headers.diff</a> (<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6906">description</a>)</li>
<li><a href="http://diff.pablotron.org/ruby-1.8.4-rdoc&#95;html&#95;cleanup-3.diff">ruby-1.8.4-rdoc_html_cleanup-3.diff</a> (<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7028">description</a>)</li>
</ul>

<p>(Second post written using 
<a href='http://daringfireball.net/projects/markdown/'>Markdown</a>; I could get used to this...)</p>

<p><b>Update:</b> Updated to reflect latest version of second patch.</p>