Yoji Shidara
null+****@clear*****
Thu Feb 27 14:19:31 JST 2014
Yoji Shidara 2014-02-27 14:19:31 +0900 (Thu, 27 Feb 2014) New Revision: 61dd838297520250bf28dcb39385804b7adce147 https://github.com/droonga/fluent-plugin-droonga/commit/61dd838297520250bf28dcb39385804b7adce147 Message: Remove direct Schema dependency from Dispatcher Modified files: lib/droonga/dispatcher.rb Modified: lib/droonga/dispatcher.rb (+1 -2) =================================================================== --- lib/droonga/dispatcher.rb 2014-02-27 14:14:05 +0900 (e0d5c2c) +++ lib/droonga/dispatcher.rb 2014-02-27 14:19:31 +0900 (af8d99d) @@ -24,7 +24,6 @@ require "droonga/session" require "droonga/replier" require "droonga/error_messages" require "droonga/distributor" -require "droonga/catalog/schema" module Droonga class Dispatcher @@ -279,7 +278,7 @@ module Droonga def ensure_schema @catalog.datasets.each do |name, dataset| - schema = Droonga::Catalog::Schema.new(name, dataset["schema"]) + schema = dataset.schema messages = schema.to_messages messages.each do |message| process_message(message) -------------- next part -------------- HTML����������������������������... 下載