Kouhei Sutou
null+****@clear*****
Fri Feb 7 14:46:35 JST 2014
Kouhei Sutou 2014-02-07 14:46:35 +0900 (Fri, 07 Feb 2014) New Revision: 367e0ea36832b647ec2d5d04a2ffbd3b7d39ae2b https://github.com/droonga/fluent-plugin-droonga/commit/367e0ea36832b647ec2d5d04a2ffbd3b7d39ae2b Message: Add "Legacy" prefix to the current Pluggable Modified files: lib/droonga/collector.rb lib/droonga/handler.rb lib/droonga/planner.rb Renamed files: lib/droonga/legacy_pluggable.rb (from lib/droonga/pluggable.rb) Modified: lib/droonga/collector.rb (+3 -5) =================================================================== --- lib/droonga/collector.rb 2014-02-07 14:42:41 +0900 (8450aca) +++ lib/droonga/collector.rb 2014-02-07 14:46:35 +0900 (9feb2c4) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -15,12 +13,12 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -require "droonga/pluggable" +require "droonga/legacy_pluggable" require "droonga/collector_plugin" module Droonga class Collector - include Pluggable + include LegacyPluggable def initialize(options) @options = options Modified: lib/droonga/handler.rb (+3 -5) =================================================================== --- lib/droonga/handler.rb 2014-02-07 14:42:41 +0900 (4bfaafd) +++ lib/droonga/handler.rb 2014-02-07 14:46:35 +0900 (fa7ef03) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -20,12 +18,12 @@ require "groonga" require "droonga/forwarder" require "droonga/handler_message" require "droonga/handler_messenger" -require "droonga/pluggable" +require "droonga/legacy_pluggable" require "droonga/handler_plugin" module Droonga class Handler - include Pluggable + include LegacyPluggable attr_reader :context, :name Renamed: lib/droonga/legacy_pluggable.rb (+2 -4) 95% =================================================================== --- lib/droonga/pluggable.rb 2014-02-07 14:42:41 +0900 (1336699) +++ lib/droonga/legacy_pluggable.rb 2014-02-07 14:46:35 +0900 (acf4fb9) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -16,7 +14,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA module Droonga - module Pluggable + module LegacyPluggable class UnknownPlugin < StandardError attr_reader :command Modified: lib/droonga/planner.rb (+3 -5) =================================================================== --- lib/droonga/planner.rb 2014-02-07 14:42:41 +0900 (7762988) +++ lib/droonga/planner.rb 2014-02-07 14:46:35 +0900 (f5947b2) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -15,12 +13,12 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -require "droonga/pluggable" +require "droonga/legacy_pluggable" require "droonga/planner_plugin" module Droonga class Planner - include Pluggable + include LegacyPluggable def initialize(dispatcher, options={}) @dispatcher = dispatcher -------------- next part -------------- HTML����������������������������... Descargar