[Groonga-commit] groonga/fluent-plugin-droonga at 5ec50cd [master] Move plugin files to just under plugin directory

Back to archive index

Kosuke Asami null+****@clear*****
Tue Jul 23 14:53:31 JST 2013


Kosuke Asami	2013-07-23 14:53:31 +0900 (Tue, 23 Jul 2013)

  New Revision: 5ec50cd4ed300db7b142386b74d3d81fe922c46d
  https://github.com/groonga/fluent-plugin-droonga/commit/5ec50cd4ed300db7b142386b74d3d81fe922c46d

  Message:
    Move plugin files to just under plugin directory
    
    Because:
    Fluent uses plugins with this style.
    
    plugin/adapter/adapter_XXX.rb ->
    plugin/adapter_XXX.rb
    
    plugin/handler/handler_XXX.rb ->
    plugin/handler_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/adapter_groonga.rb
      (from lib/droonga/plugin/adapter/adapter_groonga.rb)
    lib/droonga/plugin/handler_add.rb
      (from lib/droonga/plugin/handler/handler_add.rb)
    lib/droonga/plugin/handler_forward.rb
      (from lib/droonga/plugin/handler/handler_forward.rb)
    lib/droonga/plugin/handler_groonga.rb
      (from lib/droonga/plugin/handler/handler_groonga.rb)
    lib/droonga/plugin/handler_merge.rb
      (from lib/droonga/plugin/handler/handler_merge.rb)
    lib/droonga/plugin/handler_search.rb
      (from lib/droonga/plugin/handler/handler_search.rb)

  Modified: lib/droonga/plugin.rb (+1 -1)
===================================================================
--- lib/droonga/plugin.rb    2013-07-23 14:48:50 +0900 (8102739)
+++ lib/droonga/plugin.rb    2013-07-23 14:53:31 +0900 (6d58b26)
@@ -35,7 +35,7 @@ module Droonga
     end
 
     def load
-      require "droonga/plugin/#{@type}/#{@type}_#{@name}"
+      require "droonga/plugin/#{@type}_#{@name}"
     end
   end
 end

  Renamed: lib/droonga/plugin/adapter_groonga.rb (+0 -0) 100%
===================================================================

  Renamed: lib/droonga/plugin/handler_add.rb (+0 -0) 100%
===================================================================

  Renamed: lib/droonga/plugin/handler_forward.rb (+0 -0) 100%
===================================================================

  Renamed: lib/droonga/plugin/handler_groonga.rb (+0 -0) 100%
===================================================================

  Renamed: lib/droonga/plugin/handler_merge.rb (+0 -0) 100%
===================================================================

  Renamed: lib/droonga/plugin/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:48:50 +0900 (09bfee8)
+++ test/plugin/handler/test_handler_add.rb    2013-07-23 14:53:31 +0900 (046d2fb)
@@ -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/handler_add"
+require "droonga/plugin/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:48:50 +0900 (9b07dfb)
+++ test/plugin/handler/test_handler_groonga.rb    2013-07-23 14:53:31 +0900 (30636ed)
@@ -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/handler_groonga"
+require "droonga/plugin/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:48:50 +0900 (ad9b20c)
+++ test/plugin/handler/test_handler_search.rb    2013-07-23 14:53:31 +0900 (ce4fc59)
@@ -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/handler_search"
+require "droonga/plugin/handler_search"
 
 class SearchHandlerTest < Test::Unit::TestCase
   def setup
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index