Kouhei Sutou
null+****@clear*****
Wed Nov 28 12:31:36 JST 2012
Kouhei Sutou 2012-11-28 12:31:36 +0900 (Wed, 28 Nov 2012) New Revision: a289f6bbaf39f3605b6d9063e6c5cb7e6ba98849 https://github.com/groonga/groonga-command/commit/a289f6bbaf39f3605b6d9063e6c5cb7e6ba98849 Log: column-create: fix parameter name Modified files: lib/groonga/command/column-create.rb test/command/test-column-create.rb Modified: lib/groonga/command/column-create.rb (+1 -1) =================================================================== --- lib/groonga/command/column-create.rb 2012-11-27 23:16:10 +0900 (5bc8741) +++ lib/groonga/command/column-create.rb 2012-11-28 12:31:36 +0900 (ee58c93) @@ -29,7 +29,7 @@ module Groonga :table, :name, :flags, - :key_type, + :type, :source, ] end Modified: test/command/test-column-create.rb (+3 -3) =================================================================== --- test/command/test-column-create.rb 2012-11-27 23:16:10 +0900 (00a6c90) +++ test/command/test-column-create.rb 2012-11-28 12:31:36 +0900 (cb5fbce) @@ -24,16 +24,16 @@ class ColumnCreateCommandTest < Test::Unit::TestCase table = "Lexicon" name = "content_index" flags = "COLUMN_INDEX" - key_type = "Posts" + type = "Posts" source = "content" - command = parse(table, name, flags, key_type, source) + command = parse(table, name, flags, type, source) assert_instance_of(Groonga::Command::ColumnCreate, command) assert_equal({ :table => table, :name => name, :flags => flags, - :key_type => key_type, + :type => type, :source => source, }, command.arguments) -------------- next part -------------- HTML����������������������������...ダウンロード