Kouhei Sutou
null+****@clear*****
Fri Jan 31 18:15:51 JST 2014
Kouhei Sutou 2014-01-31 18:15:51 +0900 (Fri, 31 Jan 2014) New Revision: c8a8e9d8e404d31c9f89c48e91c2acba4a598bd5 https://github.com/droonga/fluent-plugin-droonga/commit/c8a8e9d8e404d31c9f89c48e91c2acba4a598bd5 Message: output-adapter groonga: don't use "groonga" for method name Because the class name for the method is GroongaOutputAdapter. It is obviosity in the class that the method is related with "groonga". Modified files: lib/droonga/plugin/output_adapter/groonga.rb Modified: lib/droonga/plugin/output_adapter/groonga.rb (+2 -2) =================================================================== --- lib/droonga/plugin/output_adapter/groonga.rb 2014-01-31 18:11:26 +0900 (5a7402f) +++ lib/droonga/plugin/output_adapter/groonga.rb 2014-01-31 18:15:51 +0900 (25032c2) @@ -30,9 +30,9 @@ module Droonga "table_remove.result", "column_create.result", ] - command :convert_groonga_result, + command :convert_generic_result, :patterns => [["replyTo.type", :in, *groonga_results]] - def convert_groonga_result(output_message) + def convert_generic_result(output_message) if output_message.body.include?("result") output_message.body = output_message.body["result"] end -------------- next part -------------- HTML����������������������������...Download