[Groonga-commit] droonga/droonga-engine at f1874c4 [master] Use more generic name for generic code

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 20 16:34:14 JST 2014


Kouhei Sutou	2014-07-20 16:34:14 +0900 (Sun, 20 Jul 2014)

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

  Message:
    Use more generic name for generic code

  Modified files:
    lib/droonga/command/droonga_engine.rb
    lib/droonga/command/droonga_engine_service.rb
  Renamed files:
    lib/droonga/process_control_protocol.rb
      (from lib/droonga/service_control_protocol.rb)

  Modified: lib/droonga/command/droonga_engine.rb (+2 -2)
===================================================================
--- lib/droonga/command/droonga_engine.rb    2014-07-19 21:35:37 +0900 (c6e81e5)
+++ lib/droonga/command/droonga_engine.rb    2014-07-20 16:34:14 +0900 (1b286bc)
@@ -24,7 +24,7 @@ require "sigdump"
 require "droonga/path"
 require "droonga/serf"
 require "droonga/file_observer"
-require "droonga/service_control_protocol"
+require "droonga/process_control_protocol"
 require "droonga/line_buffer"
 
 module Droonga
@@ -351,7 +351,7 @@ module Droonga
       end
 
       class ServiceRunner
-        include ServiceControlProtocol
+        include ProcessControlProtocol
 
         def initialize(raw_loop, configuration)
           @raw_loop = raw_loop

  Modified: lib/droonga/command/droonga_engine_service.rb (+2 -2)
===================================================================
--- lib/droonga/command/droonga_engine_service.rb    2014-07-19 21:35:37 +0900 (6605c73)
+++ lib/droonga/command/droonga_engine_service.rb    2014-07-20 16:34:14 +0900 (4efad52)
@@ -17,7 +17,7 @@ require "optparse"
 
 require "coolio"
 
-require "droonga/service_control_protocol"
+require "droonga/process_control_protocol"
 require "droonga/line_buffer"
 require "droonga/engine"
 require "droonga/fluent_message_receiver"
@@ -34,7 +34,7 @@ module Droonga
       end
 
       include Loggable
-      include ServiceControlProtocol
+      include ProtocolControlProtocol
 
       def initialize
         @engine_name = nil

  Renamed: lib/droonga/process_control_protocol.rb (+1 -1) 96%
===================================================================
--- lib/droonga/service_control_protocol.rb    2014-07-19 21:35:37 +0900 (dbb9518)
+++ lib/droonga/process_control_protocol.rb    2014-07-20 16:34:14 +0900 (a07c3fc)
@@ -14,7 +14,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 module Droonga
-  module ServiceControlProtocol
+  module ProcessControlProtocol
     module Messages
       STOP_GRACEFUL    = "stop-graceful\n"
       STOP_IMMEDIATELY = "stop-immediately\n"
-------------- next part --------------
HTML����������������������������...
Download 



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