<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,8 +11,8 @@ CmdUtils.CreateCommand({
      },
      preview: function(pblock, directObject)
      {
-         searchText = jQuery.trim(directObject.text);
-         if(searchText.length &lt;= 0)
+         var query = jQuery.trim(directObject.text);
+         if(query.length &lt;= 0)
          	return;
          pblock.innerHTML = &quot;Search rails documentation for:&quot; + query;
      }</diff>
      <filename>rails/rails.ubiquity.js</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@
       Ruby Doc
   &lt;/title&gt;
 	
-	&lt;link rel=&quot;commands&quot; href=&quot;ruby.ubiquity.js&quot;/&gt;
+	&lt;link rel=&quot;commands&quot; href=&quot;ruby.ubiquity.js&quot; name=&quot;ruby&quot;/&gt;
 	
 	&lt;style&gt;
 </diff>
      <filename>ruby/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -18,11 +18,13 @@ template = ERB.new(File.open(template).read)
 title = nil
 body = nil
 ubiquity_file = nil
+name = nil
 File.open(src) do |fsrc|
   title_text = fsrc.readline
   body_text_template = fsrc.read
   body_text = ERB.new(body_text_template).result(binding)
   
+  name = &quot;#{File.dirname(src)}&quot;
   ubiquity_file = &quot;#{File.dirname(src)}.ubiquity.js&quot;
   title = RedCloth.new(title_text).to_html.gsub(%r!&lt;.*?&gt;!,'').strip
   body = RedCloth.new(body_text).to_html</diff>
      <filename>script/txt2html</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@
       &lt;%= title %&gt;
   &lt;/title&gt;
 	
-	&lt;link rel=&quot;commands&quot; href=&quot;&lt;%= ubiquity_file %&gt;&quot;/&gt;
+	&lt;link rel=&quot;commands&quot; href=&quot;&lt;%= ubiquity_file %&gt;&quot; name=&quot;&lt;%= name %&gt;&quot;/&gt;
 	
 	&lt;style&gt;
 </diff>
      <filename>ubiquity.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@
       Woobby.com
   &lt;/title&gt;
 	
-	&lt;link rel=&quot;commands&quot; href=&quot;woobby.com.ubiquity.js&quot;/&gt;
+	&lt;link rel=&quot;commands&quot; href=&quot;woobby.com.ubiquity.js&quot; name=&quot;woobby.com&quot;/&gt;
 	
 	&lt;style&gt;
 </diff>
      <filename>woobby.com/index.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>164046cee8cf4571eb00b1e66747171281ccf093</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bumann</name>
    <email>michael@railslove.com</email>
  </author>
  <url>http://github.com/bumi/ubiquity-commands/commit/7395dffcac8d11fff66ee8e32ba8ef27d2820981</url>
  <id>7395dffcac8d11fff66ee8e32ba8ef27d2820981</id>
  <committed-date>2008-08-31T06:25:27-07:00</committed-date>
  <authored-date>2008-08-31T06:25:27-07:00</authored-date>
  <message>some minor fixes and improvements</message>
  <tree>b247aaef1cca048171ed5b265f31c52227fd73a9</tree>
  <committer>
    <name>Michael Bumann</name>
    <email>michael@railslove.com</email>
  </committer>
</commit>
