<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>db/migrate/20081224020432_remove_openid_authority_from_comment.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -49,7 +49,6 @@ class CommentsController &lt; ApplicationController
           @comment.author_url              = @comment.author
           @comment.author                  = (registration[&quot;fullname&quot;] || registration[&quot;nickname&quot;] || @comment.author_url).to_s
           @comment.author_email            = registration[&quot;email&quot;].to_s
-          @comment.author_openid_authority = result.server_url 
 
           @comment.openid_error = &quot;&quot;
         end</diff>
      <filename>app/controllers/comments_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -38,7 +38,7 @@ module UrlHelper
     if comment.author_url.blank?
       h(comment.author)
     else
-      link_to(h(comment.author), h(comment.author_url), :title =&gt; h(&quot;Authenticated by #{comment.author_openid_authority}&quot;), :class =&gt; 'openid')
+      link_to(h(comment.author), h(comment.author_url), :class =&gt; 'openid')
     end
   end
 </diff>
      <filename>app/helpers/url_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,6 @@ class Comment &lt; ActiveRecord::Base
   end
   
   def blank_openid_fields
-    self.author_openid_authority = &quot;&quot;
     self.author_url = &quot;&quot;
     self.author_email = &quot;&quot;
   end</diff>
      <filename>app/models/comment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,6 @@ ActiveRecord::Schema.define(:version =&gt; 9) do
     t.string   &quot;author&quot;,                  :null =&gt; false
     t.string   &quot;author_url&quot;,              :null =&gt; false
     t.string   &quot;author_email&quot;,            :null =&gt; false
-    t.string   &quot;author_openid_authority&quot;, :null =&gt; false
     t.text     &quot;body&quot;,                    :null =&gt; false
     t.text     &quot;body_html&quot;,               :null =&gt; false
     t.datetime &quot;created_at&quot;</diff>
      <filename>db/schema.rb</filename>
    </modified>
    <modified>
      <diff>@@ -184,10 +184,6 @@ describe CommentsController, 'handling commenting' do
 
     it_should_behave_like(&quot;creating new comment&quot;)
 
-    it 'records OpenID authority ' do
-      assigns(:comment).author_openid_authority.should == 'http://example.com'
-    end
-
     it 'records OpenID identity url' do
       assigns(:comment).author_url.should == 'http://enkiblog.com'
     end
@@ -212,7 +208,6 @@ describe CommentsController, 'handling commenting' do
         # Attributes you are not allowed to set
         :author_url              =&gt; 'http://www.enkiblog.com',
         :author_email            =&gt; 'donalias@enkiblog.com',
-        :author_openid_authority =&gt; 'http://enkiblog.com/openid_server',
         :created_at              =&gt; @created_at = 1.year.ago,
         :updated_at              =&gt; @updated_at = 1.year.ago,
       }
@@ -235,10 +230,6 @@ describe CommentsController, 'handling commenting' do
       assigns(:comment).author_email.should be_blank
     end
 
-    it &quot;forbids setting of author_openid_authority&quot; do
-      assigns(:comment).author_openid_authority.should be_blank
-    end
-    
     it &quot;forbids setting of created_at&quot; do
       assigns(:comment).created_at.should_not == @created_at 
     end</diff>
      <filename>spec/controllers/comments_controller_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -93,7 +93,6 @@ describe Comment, '#blank_openid_fields_if_unused' do
     @comment.blank_openid_fields
   end
 
-  it('blanks out author_openid_authority') { @comment.author_openid_authority.should == '' } 
   it('blanks out author_url')              { @comment.author_url.should == '' } 
   it('blanks out author_email')            { @comment.author_email.should == '' } 
 end</diff>
      <filename>spec/models/comment_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,6 @@ describe &quot;/admin/comments/show.html.erb&quot; do
     assigns[:comment] = Comment.new(
       :author                  =&gt; 'Don Alias',
       :author_url              =&gt; 'http://enkiblog.com',
-      :author_openid_authority =&gt; 'http://example.com',
       :author_email            =&gt; 'donalias@enkiblog.com',
       :body                    =&gt; 'Hello I am a post',
       :created_at              =&gt; Time.now</diff>
      <filename>spec/views/admin/comments/show.html.erb_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8a12ae5135b34bc31172078fc876364cefcfc522</id>
    </parent>
  </parents>
  <author>
    <name>Xavier Shay</name>
    <email>xavier@rhnh.net</email>
  </author>
  <url>http://github.com/antonjenkins/enki/commit/f06cb00d168073afcda9ae4fc6a56ed3b547712b</url>
  <id>f06cb00d168073afcda9ae4fc6a56ed3b547712b</id>
  <committed-date>2008-12-23T18:10:25-08:00</committed-date>
  <authored-date>2008-12-23T18:10:25-08:00</authored-date>
  <message>Remove OpenID authority field from comments

This is not supported by the openid plugin, and is kinda useless info anyway</message>
  <tree>247cfd15335bc3be6d61c2ec0d008309391ee724</tree>
  <committer>
    <name>Xavier Shay</name>
    <email>xavier@rhnh.net</email>
  </committer>
</commit>
