<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 == master
 
+* Remove the PluginAWeek namespace
+
 == 0.0.5 / 2008-06-22
 
 * Remove log files from gems</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,54 +1,52 @@
-module PluginAWeek
-  # Adds dynamic attributes for polymorphic associations based on the name of
-  # the class for the polymorphic record.  For example,
-  # 
-  #   class Tag &lt; ActiveRecord::Base
-  #     belongs_to :taggable, :polymorphic =&gt; true
-  #   end
-  #   
-  #   class Article &lt; ActiveRecord::Base
-  #     has_many :tags, :as =&gt; :taggable
-  #   end
-  #   
-  #   t = Tag.find(1)   # =&gt; #&lt;Tag id: 1, taggable_id: 1, taggable_type: &quot;Article&quot;&gt;
-  #   t.taggable        # =&gt; #&lt;Article id: 1&gt;
-  #   t.article         # =&gt; #&lt;Article id: 1&gt;
-  module PolymorphicIdentity
-    def self.included(base) #:nodoc:
-      base.class_eval do
-        alias_method_chain :method_missing, :polymorphic_identity
-        alias_method_chain :respond_to?, :polymorphic_identity
-      end
-    end
-    
-    def method_missing_with_polymorphic_identity(method_id, *args, &amp;block) #:nodoc:
-      if association_name = find_polymorphic_association_name(method_id)
-        send(association_name, *args, &amp;block)
-      else
-        method_missing_without_polymorphic_identity(method_id, *args, &amp;block)
-      end
+# Adds dynamic attributes for polymorphic associations based on the name of
+# the class for the polymorphic record.  For example,
+# 
+#   class Tag &lt; ActiveRecord::Base
+#     belongs_to :taggable, :polymorphic =&gt; true
+#   end
+#   
+#   class Article &lt; ActiveRecord::Base
+#     has_many :tags, :as =&gt; :taggable
+#   end
+#   
+#   t = Tag.find(1)   # =&gt; #&lt;Tag id: 1, taggable_id: 1, taggable_type: &quot;Article&quot;&gt;
+#   t.taggable        # =&gt; #&lt;Article id: 1&gt;
+#   t.article         # =&gt; #&lt;Article id: 1&gt;
+module PolymorphicIdentity
+  def self.included(base) #:nodoc:
+    base.class_eval do
+      alias_method_chain :method_missing, :polymorphic_identity
+      alias_method_chain :respond_to?, :polymorphic_identity
     end
-    
-    # True if a polymorphic association can be found whose foreign type is set
-    # to the name of the method
-    def respond_to_with_polymorphic_identity?(method, include_priv = false) #:nodoc:
-      respond_to_without_polymorphic_identity?(method, include_priv) || !find_polymorphic_association_name(method).nil?
+  end
+  
+  def method_missing_with_polymorphic_identity(method_id, *args, &amp;block) #:nodoc:
+    if association_name = find_polymorphic_association_name(method_id)
+      send(association_name, *args, &amp;block)
+    else
+      method_missing_without_polymorphic_identity(method_id, *args, &amp;block)
     end
-    
-    private
-      # Finds the name of the polymorphic association whose foreign type is set to
-      # the value specified.
-      def find_polymorphic_association_name(foreign_type_value)
-        foreign_type_value = foreign_type_value.to_s.camelize
-        reflection = self.class.reflections.values.find do |reflection|
-          reflection.options[:polymorphic] &amp;&amp; self[reflection.options[:foreign_type]] == foreign_type_value
-        end
-        
-        reflection ? reflection.name : nil
-      end
   end
+  
+  # True if a polymorphic association can be found whose foreign type is set
+  # to the name of the method
+  def respond_to_with_polymorphic_identity?(method, include_priv = false) #:nodoc:
+    respond_to_without_polymorphic_identity?(method, include_priv) || !find_polymorphic_association_name(method).nil?
+  end
+  
+  private
+    # Finds the name of the polymorphic association whose foreign type is set to
+    # the value specified.
+    def find_polymorphic_association_name(foreign_type_value)
+      foreign_type_value = foreign_type_value.to_s.camelize
+      reflection = self.class.reflections.values.find do |reflection|
+        reflection.options[:polymorphic] &amp;&amp; self[reflection.options[:foreign_type]] == foreign_type_value
+      end
+      
+      reflection ? reflection.name : nil
+    end
 end
 
 ActiveRecord::Base.class_eval do
-  include PluginAWeek::PolymorphicIdentity
+  include PolymorphicIdentity
 end</diff>
      <filename>lib/polymorphic_identity.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5caa8b507b6d2aab942d87ac2ed730b6cd853e91</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Pfeifer</name>
    <email>aaron.pfeifer@gmail.com</email>
  </author>
  <url>http://github.com/pluginaweek/polymorphic_identity/commit/139d886caf62b734155864828a713641393bb3c9</url>
  <id>139d886caf62b734155864828a713641393bb3c9</id>
  <committed-date>2008-12-14T19:26:55-08:00</committed-date>
  <authored-date>2008-12-14T19:26:55-08:00</authored-date>
  <message>Remove the PluginAWeek namespace</message>
  <tree>1540e4f924327b6e15597810571b895d72d55357</tree>
  <committer>
    <name>Aaron Pfeifer</name>
    <email>aaron.pfeifer@gmail.com</email>
  </committer>
</commit>
