YUKI Hiroshi
null+****@clear*****
Wed May 29 13:46:24 JST 2013
YUKI Hiroshi 2013-05-29 13:46:24 +0900 (Wed, 29 May 2013) New Revision: 37800a2663ff0ced9207f566e47ab33d9b0ddf33 https://github.com/groonga/fluent-plugin-droonga/commit/37800a2663ff0ced9207f566e47ab33d9b0ddf33 Message: Fix typo: remove needless "s" Modified files: lib/droonga/plugin/handler_search.rb Modified: lib/droonga/plugin/handler_search.rb (+3 -2) =================================================================== --- lib/droonga/plugin/handler_search.rb 2013-05-29 13:41:32 +0900 (37c8004) +++ lib/droonga/plugin/handler_search.rb 2013-05-29 13:46:24 +0900 (f6c1b51) @@ -257,14 +257,14 @@ module Droonga def complex_record(attributes, record) values = {} attributes.collect do |attribute| - values[attribute[:label]] = attributes[:static_value] || record[attribute[:source]] + values[attribute[:label]] = attribute[:static_value] || record[attribute[:source]] end values end def simple_record(attributes, record) attributes.collect do |attribute| - attributes[:static_value] || record[attribute[:source]] + attribute[:static_value] || record[attribute[:source]] end end @@ -277,6 +277,7 @@ module Droonga { label: attribute, source: attribute, + static_value: nil, } else source = attribute["source"] -------------- next part -------------- HTML����������������������������... ダウンロード