<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,6 @@
 
+v1.11. Update to Sphinx 0.9.8-rc2.
+
 v1.10. Add geodistance support (Jeremy Seitz, Mark Lane). Move Postgres stored procedures into a migration generator (Lang Riley). Duplicate text :sortable columns so that they are also searchable.
 
 v1.9.1. Add ultrasphinx:index:merge task for index merging, and a note in DEPLOYMENT_NOTES about how to use it.</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ If you use this software, please {make a donation}[http://blog.evanweaver.com/do
 == Requirements
 
 * MySQL 5.0, or PostgreSQL 8.2
-* Sphinx 0.9.8-rc1
+* Sphinx 0.9.8-rc2
 * Rails 2.0.2
 
 More recent versions than listed are usually ok.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ The easiest way to install is to grab the gem (available since 0.9.8r1112 only):
 However, if you're so inclined, you can grab sourcecode via subversion. If you
 are after a specific release, use the tag as follows:
 
-  svn co http://rails-oceania.googlecode.com/svn/patallan/riddle/tags/0.9.8-rc1 riddle
+  svn co http://rails-oceania.googlecode.com/svn/patallan/riddle/tags/0.9.8-rc2 riddle
 
 Or for the most current, just use trunk:
 
@@ -25,7 +25,8 @@ Please note that at the time of writing, the following versions are supported (i
 * 0.9.8-r985
 * 0.9.8-r1065
 * 0.9.8-r1112
-* 0.9.8-rc1 (gem version is 0.9.8.1198)
+* 0.9.8-rc1 (gem version: 0.9.8.1198)
+* 0.9.8-rc2 (gem version: 0.9.8.1231)
 
 To get started, just instantiate a Client object:
 </diff>
      <filename>vendor/riddle/README</filename>
    </modified>
    <modified>
      <diff>@@ -9,14 +9,17 @@ module Riddle #:nodoc:
   end
   
   module Version #:nodoc:
-    Major = 0
-    Minor = 9
-    Tiny  = 8
+    Major   = 0
+    Minor   = 9
+    Tiny    = 8
     # Revision number for RubyForge's sake, taken from what Sphinx
     # outputs to the command line.
-    Rev   = 1198
+    Rev     = 1231
+    # Release number to mark my own fixes, beyond feature parity with
+    # Sphinx itself.
+    Release = 0
     
-    String      = [Major, Minor, Tiny].join('.') + &quot;rc1&quot;
-    GemVersion  = [Major, Minor, Tiny, Rev].join('.')
+    String      = [Major, Minor, Tiny].join('.') + &quot;rc2&quot;
+    GemVersion  = [Major, Minor, Tiny, Rev, Release].join('.')
   end
 end
\ No newline at end of file</diff>
      <filename>vendor/riddle/lib/riddle.rb</filename>
    </modified>
    <modified>
      <diff>@@ -206,14 +206,9 @@ module Riddle
 
           result[:matches] &lt;&lt; {:doc =&gt; doc, :weight =&gt; weight, :index =&gt; i, :attributes =&gt; {}}
           result[:attribute_names].each do |attr|
-            case result[:attributes][attr]
-            when AttributeTypes[:float]
-              result[:matches].last[:attributes][attr] = response.next_float
-            when AttributeTypes[:multi]
-              result[:matches].last[:attributes][attr] = response.next_int_array
-            else
-              result[:matches].last[:attributes][attr] = response.next_int
-            end
+            result[:matches].last[:attributes][attr] = attribute_from_type(
+              result[:attributes][attr], response
+            )
           end
         end
 
@@ -583,5 +578,16 @@ module Riddle
       
       message.to_s
     end
+    
+    def attribute_from_type(type, response)
+      type -= AttributeTypes[:multi] if is_multi = type &gt; AttributeTypes[:multi]
+      
+      case type
+      when AttributeTypes[:float]
+        is_multi ? response.next_float_array : response.next_float
+      else
+        is_multi ? response.next_int_array   : response.next_int
+      end
+    end
   end
 end</diff>
      <filename>vendor/riddle/lib/riddle/client.rb</filename>
    </modified>
    <modified>
      <diff>@@ -65,6 +65,16 @@ module Riddle
         return items
       end
       
+      def next_float_array
+        count = next_int
+        items = []
+        for i in 0...count
+          items &lt;&lt; self.next_float
+        end
+        
+        return items
+      end
+      
       # Returns the length of the streamed data
       def length
         @str.length</diff>
      <filename>vendor/riddle/lib/riddle/client/response.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f5ec50e4191657d9c18a3ab52208314892aadd70</id>
    </parent>
  </parents>
  <author>
    <name>evanweaver</name>
    <email>evanweaver@c1ad287d-65d5-445d-b84c-e64f8492f1e6</email>
  </author>
  <url>http://github.com/DrMark/ultrasphinx/commit/760b7d1c3be6d4271c15e831624247e69bb04e4d</url>
  <id>760b7d1c3be6d4271c15e831624247e69bb04e4d</id>
  <committed-date>2008-04-16T06:48:06-07:00</committed-date>
  <authored-date>2008-04-16T06:48:06-07:00</authored-date>
  <message>Update to Sphinx rc2.


git-svn-id: svn://rubyforge.org/var/svn/fauna/ultrasphinx/trunk@1925 c1ad287d-65d5-445d-b84c-e64f8492f1e6</message>
  <tree>0001a2b0c8eceb2c2fdcf429dc55322743126d99</tree>
  <committer>
    <name>evanweaver</name>
    <email>evanweaver@c1ad287d-65d5-445d-b84c-e64f8492f1e6</email>
  </committer>
</commit>
