[Groonga-commit] droonga/fluent-plugin-droonga at 2b5c474 [master] Rename PATH to DEFAULT_PATH to be more specific

Back to archive index

Yoji Shidara null+****@clear*****
Thu Jan 23 18:20:58 JST 2014


Yoji Shidara	2014-01-23 18:20:58 +0900 (Thu, 23 Jan 2014)

  New Revision: 2b5c47477a03d7937caee2fd711295d176d68cc1
  https://github.com/droonga/fluent-plugin-droonga/commit/2b5c47477a03d7937caee2fd711295d176d68cc1

  Message:
    Rename PATH to DEFAULT_PATH to be more specific

  Modified files:
    lib/droonga/catalog.rb

  Modified: lib/droonga/catalog.rb (+2 -2)
===================================================================
--- lib/droonga/catalog.rb    2014-01-23 11:51:31 +0900 (84afe63)
+++ lib/droonga/catalog.rb    2014-01-23 18:20:58 +0900 (fec6dfc)
@@ -25,11 +25,11 @@ module Droonga
   end
 
   module Catalog
-    PATH = "catalog.json"
+    DEFAULT_PATH = "catalog.json"
 
     class << self
       def load(path=nil)
-        path = ENV["DROONGA_CATALOG"] || PATH
+        path = ENV["DROONGA_CATALOG"] || DEFAULT_PATH
         path = File.expand_path(path)
         loader = CatalogLoader.new(path)
         loader.load
-------------- next part --------------
HTML����������������������������...
下載 



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