[Groonga-commit] droonga/fluent-plugin-droonga at b8a6b52 [master] Fix inverted value

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 31 16:52:28 JST 2014


Kouhei Sutou	2014-01-31 16:52:28 +0900 (Fri, 31 Jan 2014)

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

  Message:
    Fix inverted value

  Modified files:
    lib/droonga/plugin_registerable.rb

  Modified: lib/droonga/plugin_registerable.rb (+1 -1)
===================================================================
--- lib/droonga/plugin_registerable.rb    2014-01-31 16:42:55 +0900 (57490ab)
+++ lib/droonga/plugin_registerable.rb    2014-01-31 16:52:28 +0900 (e9003c5)
@@ -40,7 +40,7 @@ module Droonga
 
     def command(method_name_or_map, options={})
       if method_name_or_map.is_a?(Hash)
-        method_name, type = method_name_or_map.to_a.first
+        type, method_name = method_name_or_map.to_a.first
         options[:patterns] ||= []
         options[:patterns] << ["type", :equal, type.to_s]
       else
-------------- next part --------------
HTML����������������������������...
Download 



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