<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -53,6 +53,9 @@ module MicroformatsHelper
         fn = content_tag(&quot;span&quot;, prefix, :class =&gt; &quot;honorific-prefix&quot;)
       end
       fn = &quot;&quot; unless fn
+      if org = values[:org]
+        fn += &quot; &quot; + content_tag(&quot;span&quot;, org, :class =&gt; &quot;org&quot;)
+      end
       if given = values[:given]
         fn += &quot; &quot; + content_tag(&quot;span&quot;, given, :class =&gt; &quot;given-name&quot;)
       end</diff>
      <filename>lib/microformats_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,10 @@
 # Rubygems is where Rails is located
 require 'rubygems'
-require 'test/unit'
 require File.dirname(__FILE__) + '/../lib/microformats_helper'
 # Here's the helper file we need
+require 'test/unit'
 require 'action_controller'
 require 'action_controller/test_process'
-require 'action_view/helpers/tag_helper'
-require 'action_view/helpers/url_helper'
 
 class MicroformatsHelperTest &lt; Test::Unit::TestCase
 
@@ -30,6 +28,11 @@ class MicroformatsHelperTest &lt; Test::Unit::TestCase
     assert_equal &quot;&lt;span class=\&quot;vcard\&quot;&gt;\n&lt;span class=\&quot;fn n\&quot;&gt; &lt;span class=\&quot;given-name\&quot;&gt;Ricardo&lt;/span&gt; &lt;span class=\&quot;additional-name\&quot;&gt;Shiota&lt;/span&gt; &lt;span class=\&quot;family-name\&quot;&gt;Yasuda&lt;/span&gt;&lt;/span&gt;\n&lt;/span&gt;&quot;, output
   end
 
+  def test_hcard_org
+    output = hcard(:org =&gt; &quot;DBurns Design&quot;)
+    assert_equal &quot;&lt;span class=\&quot;vcard\&quot;&gt;\n&lt;span class=\&quot;fn n\&quot;&gt; &lt;span class=\&quot;org\&quot;&gt;DBurns Design&lt;/span&gt;&lt;/span&gt;\n&lt;/span&gt;&quot;, output
+  end
+
   def test_hcard_prefix_suffix
     output = hcard(:given =&gt; &quot;Gregory&quot;, :family =&gt; &quot;House&quot;, :prefix =&gt; &quot;Dr.&quot;, :suffix =&gt; &quot;M.D.&quot;)
     assert_equal &quot;&lt;span class=\&quot;vcard\&quot;&gt;\n&lt;span class=\&quot;fn n\&quot;&gt;&lt;span class=\&quot;honorific-prefix\&quot;&gt;Dr.&lt;/span&gt; &lt;span class=\&quot;given-name\&quot;&gt;Gregory&lt;/span&gt; &lt;span class=\&quot;family-name\&quot;&gt;House&lt;/span&gt;, &lt;span class=\&quot;honorific-suffix\&quot;&gt;M.D.&lt;/span&gt;&lt;/span&gt;\n&lt;/span&gt;&quot;, output</diff>
      <filename>test/microformats_helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ec6537513e4c296dc3b4c5a4420ebe0c3137a503</id>
    </parent>
  </parents>
  <author>
    <name>Ricardo Shiota Yasuda</name>
    <email>shadow11@gmail.com</email>
  </author>
  <url>http://github.com/shadow11/microformats_helper/commit/d6e9445375ec88efee68d065c2707ee2abcb54c7</url>
  <id>d6e9445375ec88efee68d065c2707ee2abcb54c7</id>
  <committed-date>2009-04-27T15:47:13-07:00</committed-date>
  <authored-date>2009-04-27T15:47:13-07:00</authored-date>
  <message>Support for Rails 2.3 and the 'org' option in hCard</message>
  <tree>6f1871ad992e4c8ce43d437c4f3f76c86bcf25ea</tree>
  <committer>
    <name>Ricardo Shiota Yasuda</name>
    <email>shadow11@gmail.com</email>
  </committer>
</commit>
