[Groonga-commit] droonga/droonga-client-ruby at 3692138 [master] Return the first response if there is only one response correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Jan 24 15:16:31 JST 2014


YUKI Hiroshi	2014-01-24 15:16:31 +0900 (Fri, 24 Jan 2014)

  New Revision: 36921383c536bb800daaedef693a4c3fa050c072
  https://github.com/droonga/droonga-client-ruby/commit/36921383c536bb800daaedef693a4c3fa050c072

  Message:
    Return the first response if there is only one response correctly

  Modified files:
    lib/droonga/client/connection/droonga_protocol.rb

  Modified: lib/droonga/client/connection/droonga_protocol.rb (+1 -1)
===================================================================
--- lib/droonga/client/connection/droonga_protocol.rb    2014-01-24 12:48:59 +0900 (002238c)
+++ lib/droonga/client/connection/droonga_protocol.rb    2014-01-24 15:16:31 +0900 (a9eb9e9)
@@ -192,7 +192,7 @@ module Droonga
               if responses.size > 1
                 responses
               else
-                response
+                responses.first
               end
             end
           ensure
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index