Kouhei Sutou
null+****@clear*****
Thu Jan 16 15:26:41 JST 2014
Kouhei Sutou 2014-01-16 15:26:41 +0900 (Thu, 16 Jan 2014) New Revision: 85739e1a45dcb1df90e4a594a2109ab6b57f13cb https://github.com/droonga/droonga-client-ruby/commit/85739e1a45dcb1df90e4a594a2109ab6b57f13cb Message: Use "message" instead of "envelope" Modified files: lib/droonga/client/connection/droonga_protocol.rb Modified: lib/droonga/client/connection/droonga_protocol.rb (+3 -3) =================================================================== --- lib/droonga/client/connection/droonga_protocol.rb 2013-12-29 12:15:40 +0900 (2f1cfbb) +++ lib/droonga/client/connection/droonga_protocol.rb 2014-01-16 15:26:41 +0900 (f903109) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -50,14 +50,14 @@ module Droonga end def search(body, &block) - envelope = { + message = { "id" => Time.now.to_f.to_s, "date" => Time.now, "statusCode" => 200, "type" => "search", "body" => body, } - execute(envelope, &block) + execute(message, &block) end # Sends a request message and receives one ore more response -------------- next part -------------- HTML����������������������������... Descargar