YUKI Hiroshi
null+****@clear*****
Wed Apr 22 11:41:11 JST 2015
YUKI Hiroshi 2015-04-22 11:41:11 +0900 (Wed, 22 Apr 2015) New Revision: b5c9c4eff131fb51b20e288fd14bc4fe601ceb33 https://github.com/droonga/droonga-engine/commit/b5c9c4eff131fb51b20e288fd14bc4fe601ceb33 Message: Define system.object.* as a part of the "system" plugin, not a separate one Modified files: lib/droonga/plugins/system/object.rb Modified: lib/droonga/plugins/system/object.rb (+2 -7) =================================================================== --- lib/droonga/plugins/system/object.rb 2015-04-22 11:20:51 +0900 (69d88a0) +++ lib/droonga/plugins/system/object.rb 2015-04-22 11:41:11 +0900 (8a5a036) @@ -19,11 +19,7 @@ require "droonga/database_scanner" module Droonga module Plugins module System - module Object - extend Plugin - register("system.object") - - class CountHandler < Droonga::Handler + class ObjectCountHandler < Droonga::Handler include DatabaseScanner def handle(message) @@ -49,10 +45,9 @@ module Droonga define_single_step do |step| step.name = "system.object.count" - step.handler = CountHandler + step.handler = ObjectCountHandler step.collector = Collectors::RecursiveSum end - end end end end -------------- next part -------------- HTML����������������������������... Download