Kosuke Asami
null+****@clear*****
Tue Jul 23 14:39:10 JST 2013
Kosuke Asami 2013-07-23 14:39:10 +0900 (Tue, 23 Jul 2013) New Revision: db645c21289e6ee25fc844f723d9ed1bfbf85bb4 https://github.com/groonga/fluent-plugin-droonga/commit/db645c21289e6ee25fc844f723d9ed1bfbf85bb4 Message: Move handler files to "handler" directory plugin/handler_XXX.rb -> plugin/handler/handler_XXX.rb plugin/groonga/XXX.rb -> plugin/handler/groonga/XXX.rb Modified files: lib/droonga/plugin.rb test/plugin/handler/test_handler_add.rb test/plugin/handler/test_handler_groonga.rb test/plugin/handler/test_handler_search.rb Renamed files: lib/droonga/plugin/handler/groonga/column_create.rb (from lib/droonga/plugin/groonga/column_create.rb) lib/droonga/plugin/handler/groonga/table_create.rb (from lib/droonga/plugin/groonga/table_create.rb) lib/droonga/plugin/handler/handler_add.rb (from lib/droonga/plugin/handler_add.rb) lib/droonga/plugin/handler/handler_forward.rb (from lib/droonga/plugin/handler_forward.rb) lib/droonga/plugin/handler/handler_groonga.rb (from lib/droonga/plugin/handler_groonga.rb) lib/droonga/plugin/handler/handler_merge.rb (from lib/droonga/plugin/handler_merge.rb) lib/droonga/plugin/handler/handler_search.rb (from lib/droonga/plugin/handler_search.rb) Modified: lib/droonga/plugin.rb (+1 -1) =================================================================== --- lib/droonga/plugin.rb 2013-07-23 14:14:11 +0900 (6d58b26) +++ lib/droonga/plugin.rb 2013-07-23 14:39:10 +0900 (8102739) @@ -35,7 +35,7 @@ module Droonga end def load - require "droonga/plugin/#{@type}_#{@name}" + require "droonga/plugin/#{@type}/#{@type}_#{@name}" end end end Renamed: lib/droonga/plugin/handler/groonga/column_create.rb (+0 -0) 100% =================================================================== Renamed: lib/droonga/plugin/handler/groonga/table_create.rb (+0 -0) 100% =================================================================== Renamed: lib/droonga/plugin/handler/handler_add.rb (+0 -0) 100% =================================================================== Renamed: lib/droonga/plugin/handler/handler_forward.rb (+0 -0) 100% =================================================================== Renamed: lib/droonga/plugin/handler/handler_groonga.rb (+2 -2) 92% =================================================================== --- lib/droonga/plugin/handler_groonga.rb 2013-07-23 14:14:11 +0900 (d4691b0) +++ lib/droonga/plugin/handler/handler_groonga.rb 2013-07-23 14:39:10 +0900 (3ebe24b) @@ -44,5 +44,5 @@ module Droonga end end -require "droonga/plugin/groonga/table_create" -require "droonga/plugin/groonga/column_create" +require "droonga/plugin/handler/groonga/table_create" +require "droonga/plugin/handler/groonga/column_create" Renamed: lib/droonga/plugin/handler/handler_merge.rb (+0 -0) 100% =================================================================== Renamed: lib/droonga/plugin/handler/handler_search.rb (+0 -0) 100% =================================================================== Modified: test/plugin/handler/test_handler_add.rb (+1 -1) =================================================================== --- test/plugin/handler/test_handler_add.rb 2013-07-23 14:14:11 +0900 (046d2fb) +++ test/plugin/handler/test_handler_add.rb 2013-07-23 14:39:10 +0900 (09bfee8) @@ -13,7 +13,7 @@ # 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/plugin/handler_add" +require "droonga/plugin/handler/handler_add" class AddHandlerTest < Test::Unit::TestCase def setup Modified: test/plugin/handler/test_handler_groonga.rb (+1 -1) =================================================================== --- test/plugin/handler/test_handler_groonga.rb 2013-07-23 14:14:11 +0900 (30636ed) +++ test/plugin/handler/test_handler_groonga.rb 2013-07-23 14:39:10 +0900 (9b07dfb) @@ -13,7 +13,7 @@ # 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/plugin/handler_groonga" +require "droonga/plugin/handler/handler_groonga" class GroongaHandlerTest < Test::Unit::TestCase def setup Modified: test/plugin/handler/test_handler_search.rb (+1 -1) =================================================================== --- test/plugin/handler/test_handler_search.rb 2013-07-23 14:14:11 +0900 (ce4fc59) +++ test/plugin/handler/test_handler_search.rb 2013-07-23 14:39:10 +0900 (ad9b20c) @@ -13,7 +13,7 @@ # 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/plugin/handler_search" +require "droonga/plugin/handler/handler_search" class SearchHandlerTest < Test::Unit::TestCase def setup -------------- next part -------------- HTML����������������������������...Download