[Groonga-commit] droonga/droonga-engine at b44a702 [master] Shorten

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri May 23 18:25:47 JST 2014


YUKI Hiroshi	2014-05-23 18:25:47 +0900 (Fri, 23 May 2014)

  New Revision: b44a7020261c68c225957665a82afc3cb89ac064
  https://github.com/droonga/droonga-engine/commit/b44a7020261c68c225957665a82afc3cb89ac064

  Message:
    Shorten

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+2 -2)
===================================================================
--- lib/droonga/engine.rb    2014-05-23 18:24:04 +0900 (c9ee367)
+++ lib/droonga/engine.rb    2014-05-23 18:25:47 +0900 (df0f974)
@@ -26,7 +26,7 @@ module Droonga
   class Engine
     include Loggable
 
-    LAST_PROCESSED_TIMESTAMP_FILE_NAME = "last_processed_timestamp"
+    LAST_PROCESSED_TIMESTAMP = "last_processed_timestamp"
 
     def initialize(loop, name)
       @state = EngineState.new(loop, name)
@@ -91,7 +91,7 @@ module Droonga
     end
 
     def output_last_processed_timestamp
-      file_path = File.join(Droonga.state_dir_path, LAST_PROCESSED_TIMESTAMP_FILE_NAME)
+      file_path = File.join(Droonga.state_dir_path, LAST_PROCESSED_TIMESTAMP)
       File.open(file_path, "w") do |file|
         file.write(@last_processed_timestamp)
       end
-------------- next part --------------
HTML����������������������������...
下載 



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