<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -82,10 +82,7 @@ class REXMLUtilityNode #:nodoc:
 
     if @text
       t = typecast_value( unnormalize_xml_entities( inner_html ) )
-      unless t.respond_to? :attributes
-        # Some types don't work with singleton methods, so modifying the class instead
-        t.class.send :attr_accessor, :attributes
-      end
+      t.class.send(:attr_accessor, :attributes)
       t.attributes = attributes
       return { name =&gt; t }
     else</diff>
      <filename>lib/crack/xml.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8822c76f98f07e837ff6eeef7fbca9a2647e7bd0</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/crack/commit/be463a10929cc8acea1328fb8b47f9f73e3645f3</url>
  <id>be463a10929cc8acea1328fb8b47f9f73e3645f3</id>
  <committed-date>2009-06-30T20:24:01-07:00</committed-date>
  <authored-date>2009-06-30T20:24:01-07:00</authored-date>
  <message>Removed the respond to as it wasn't being tested anyway.</message>
  <tree>8c6e8366c900bfc566523cdc993013129438223f</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
