<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,7 +13,21 @@ module Jabber
     # A &lt;publish&gt; XMPP element, see example 1 in
     # http://www.xmpp.org/extensions/xep-0060.html#intro-howitworks
     class Publish &lt; XMPPElement
+      include Enumerable
       name_xmlns 'publish', NS_PUBSUB
+
+      ##
+      # support for enumerating &lt;item&gt; elements
+      def each(&amp;block)
+        items.each(&amp;block)
+      end
+
+      ##
+      # return child &lt;item&gt; elements
+      def items
+        get_elements(&quot;item&quot;)
+      end
+
       ##
       # return the node for this publication
       def node</diff>
      <filename>lib/xmpp4r/pubsub/children/publish.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f9b6735e9c7e02cef0f7cb434fa64db828579eb5</id>
    </parent>
    <parent>
      <id>781b98d61c8d4e382f69d71689fdce5ce66a7478</id>
    </parent>
  </parents>
  <author>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </author>
  <url>http://github.com/ln/xmpp4r/commit/86f92090a7d81492490c1cdf0a58d5ed84ef0266</url>
  <id>86f92090a7d81492490c1cdf0a58d5ed84ef0266</id>
  <committed-date>2008-12-01T13:37:40-08:00</committed-date>
  <authored-date>2008-12-01T13:37:40-08:00</authored-date>
  <message>Merge branch 'enhancements'</message>
  <tree>16d0148f11813015649b8c087786ec497dcc4117</tree>
  <committer>
    <name>Seth Fitzsimmons</name>
    <email>seth@mojodna.net</email>
  </committer>
</commit>
