Kosuke Asami
null+****@clear*****
Tue Jul 16 14:29:06 JST 2013
Kosuke Asami 2013-07-16 14:29:06 +0900 (Tue, 16 Jul 2013) New Revision: 91fc6a510848204274726070b4fa83552dd7a529 https://github.com/groonga/fluent-plugin-droonga/commit/91fc6a510848204274726070b4fa83552dd7a529 Message: column_create: use "create" instead of "parse" for method name Because the method isn't parsed. It just creates options for column method. parse_command -> create_column_options Modified files: lib/droonga/plugin/groonga/column_create.rb Modified: lib/droonga/plugin/groonga/column_create.rb (+2 -2) =================================================================== --- lib/droonga/plugin/groonga/column_create.rb 2013-07-16 14:12:26 +0900 (882db19) +++ lib/droonga/plugin/groonga/column_create.rb 2013-07-16 14:29:06 +0900 (6553f7b) @@ -33,7 +33,7 @@ module Droonga column_name = @command["name"] column_type = @command["type"] - options = parse_command + options = create_column_options Groonga::Schema.define(:context => @context) do |schema| schema.change_table(table_name) do |table| table.column(column_name, column_type, options) @@ -43,7 +43,7 @@ module Droonga end private - def parse_command + def create_column_options options = {} parse_flags(options) options -------------- next part -------------- HTML����������������������������...Download