[Groonga-commit] droonga/fluent-plugin-droonga at 0dc0f19 [master] Create envelope with the option given to "convert()" method

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 12 11:20:10 JST 2013


YUKI Hiroshi	2013-09-12 11:20:10 +0900 (Thu, 12 Sep 2013)

  New Revision: 0dc0f19fbe03e008702131d2f212f14fca27cb0d
  https://github.com/droonga/fluent-plugin-droonga/commit/0dc0f19fbe03e008702131d2f212f14fca27cb0d

  Message:
    Create envelope with the option given to "convert()" method

  Modified files:
    lib/groonga_command_converter.rb

  Modified: lib/groonga_command_converter.rb (+6 -6)
===================================================================
--- lib/groonga_command_converter.rb    2013-09-12 11:18:45 +0900 (8e29844)
+++ lib/groonga_command_converter.rb    2013-09-12 11:20:10 +0900 (d017a38)
@@ -41,13 +41,13 @@ module Droonga
     end
 
     private
-    def create_envelope(type, body, options={})
+    def create_envelope(type, body)
       {
-        :id => options[:id] || new_unique_id,
-        :date => options[:date] || current_date,
-        :replyTo => options[:reply_to],
-        :statusCode => options[:status_code] || STATUS_OK,
-        :dataset => options[:dataset],
+        :id => @options[:id] || new_unique_id,
+        :date => @options[:date] || current_date,
+        :replyTo => @options[:reply_to],
+        :statusCode => @options[:status_code] || STATUS_OK,
+        :dataset => @options[:dataset],
         :type => type,
         :body => body
       }
-------------- next part --------------
HTML����������������������������...
Download 



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