vendor/riddle/lib/riddle/client/message.rb in ultrasphinx-1.6.7 vs vendor/riddle/lib/riddle/client/message.rb in ultrasphinx-1.7

- old
+ new

@@ -24,10 +24,10 @@ @message << [int].pack('N') end # Append a float def append_float(float) - @message << [float].pack('f') + @message << [float].pack('f').unpack('L*').pack("N") end # Append multiple integers def append_ints(*ints) ints.each { |int| append_int(int) } \ No newline at end of file