[Groonga-commit] long-long-float/droonga-engine at 97becd7 [master] Use one line per one option

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Mon Aug 25 20:21:01 JST 2014


YUKI "Piro" Hiroshi	2014-08-25 20:21:01 +0900 (Mon, 25 Aug 2014)

  New Revision: 97becd72a76830c464fcc8f31522a6ca5b233758
  https://github.com/long-long-float/droonga-engine/commit/97becd72a76830c464fcc8f31522a6ca5b233758

  Message:
    Use one line per one option

  Modified files:
    lib/droonga/command/serf_event_handler.rb

  Modified: lib/droonga/command/serf_event_handler.rb (+7 -4)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-08-25 20:19:37 +0900 (7823a47)
+++ lib/droonga/command/serf_event_handler.rb    2014-08-25 20:21:01 +0900 (ae49814)
@@ -145,12 +145,15 @@ module Droonga
         joining_host = joining_node.split(":").first
 
         catalog = nil
-        Droonga::Client.open(:host => source_host, :port => source_node_port,
-                             :tag => tag, :protocol => :droonga, :timeout => 1, 
-                             :receiver_host => joining_host, 
+        Droonga::Client.open(:host          => source_host,
+                             :port          => source_node_port,
+                             :tag           => tag,
+                             :protocol      => :droonga,
+                             :timeout       => 1,
+                             :receiver_host => joining_host,
                              :receiver_port => 0) do |client|
           request = client.request(:dataset => source_node_dataset , 
-                                   :type => "catalog.fetch") do |responce|
+                                   :type    => "catalog.fetch") do |responce|
             File.write(Path.catalog, JSON.generate(responce["body"]))
             catalog = responce["body"]
           end
-------------- next part --------------
HTML����������������������������...
Download 



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