Kouhei Sutou
null+****@clear*****
Wed Jun 19 16:59:33 JST 2013
Kouhei Sutou 2013-06-19 16:59:33 +0900 (Wed, 19 Jun 2013) New Revision: b700f754556eaf08b52b4dd2b6f4b6772a9e1d21 https://github.com/groonga/fluent-plugin-droonga/commit/b700f754556eaf08b52b4dd2b6f4b6772a9e1d21 Message: Unify to collect Modified files: lib/droonga/plugin/handler_search.rb Modified: lib/droonga/plugin/handler_search.rb (+2 -2) =================================================================== --- lib/droonga/plugin/handler_search.rb 2013-06-17 00:45:48 +0900 (112d674) +++ lib/droonga/plugin/handler_search.rb 2013-06-19 16:59:33 +0900 (6ea65b9) @@ -183,7 +183,7 @@ module Droonga end def parseOrderKeys(keys) - keys.map do |key| + keys.collect do |key| if key =~ /^-/ [$', :descending] else @@ -277,7 +277,7 @@ module Droonga STATIC_STRING_VALUE_PATTERN = /\A("[^"]*"|'[^']*')\z/.freeze def normalize_target_attributes(attributes) - attributes.map do |attribute| + attributes.collect do |attribute| if attribute.is_a?(String) { label: attribute, -------------- next part -------------- HTML����������������������������...Download