Kouhei Sutou
null+****@clear*****
Fri Oct 27 16:33:23 JST 2017
Kouhei Sutou 2017-10-27 16:33:23 +0900 (Fri, 27 Oct 2017) New Revision: e599d0f86971c8be1f8e86e6f14277f7fe5a0b9f https://github.com/ranguba/groonga-client/commit/e599d0f86971c8be1f8e86e6f14277f7fe5a0b9f Message: Fix indent Modified files: lib/groonga/client/command-line/groonga-client-index-check.rb Modified: lib/groonga/client/command-line/groonga-client-index-check.rb (+16 -16) =================================================================== --- lib/groonga/client/command-line/groonga-client-index-check.rb 2017-10-27 16:31:59 +0900 (0b039bb) +++ lib/groonga/client/command-line/groonga-client-index-check.rb 2017-10-27 16:33:23 +0900 (4a50c60) @@ -211,11 +211,11 @@ module Groonga def list_tokens(table_name) keys = [] response = execute_command(:select, - :table => table_name, - :limit => -1, - :output_columns => :_key) + :table => table_name, + :limit => -1, + :output_columns => :_key) keys = response.records.collect do |record| - record["_key"] + record["_key"] end keys end @@ -225,19 +225,19 @@ module Groonga tokens.each do |token| query = Groonga::Client::ScriptSyntax.format_string(token) old_response = execute_command(:select, - :table => table_name, - :match_columns => old_column, - :query => query, - :output_columns => :_id, - :limit => -1, - :sort_keys => :_id) + :table => table_name, + :match_columns => old_column, + :query => query, + :output_columns => :_id, + :limit => -1, + :sort_keys => :_id) new_response = execute_command(:select, - :table => table_name, - :match_columns => new_column, - :query => query, - :output_columns => :_id, - :limit => -1, - :sort_keys => :_id) + :table => table_name, + :match_columns => new_column, + :query => query, + :output_columns => :_id, + :limit => -1, + :sort_keys => :_id) old_response_ids = old_response.records.collect do |value| value["_id"] end -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171027/35da1def/attachment-0001.htm