[Groonga-commit] droonga/droonga-engine at 3731abb [master] Revert "Fix indent"

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Wed Apr 22 11:00:18 JST 2015


YUKI Hiroshi	2015-04-22 11:00:18 +0900 (Wed, 22 Apr 2015)

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

  Message:
    Revert "Fix indent"
    
    This reverts commit 1593ab181d04e5d3a1e8d7b6da82edb3732f9e11.
    Because these methods should be defined as unimportable.

  Modified files:
    lib/droonga/serf/tag.rb

  Modified: lib/droonga/serf/tag.rb (+28 -28)
===================================================================
--- lib/droonga/serf/tag.rb    2015-04-22 10:53:31 +0900 (a537e6b)
+++ lib/droonga/serf/tag.rb    2015-04-22 11:00:18 +0900 (9b33cdc)
@@ -17,43 +17,43 @@ module Droonga
   class Serf
     module Tag
       module_function
-      def node_type
-        "type"
-      end
+        def node_type
+          "type"
+        end
 
-      def node_role
-        "role"
-      end
+        def node_role
+          "role"
+        end
 
-      def internal_node_name
-        "internal-name"
-      end
+        def internal_node_name
+          "internal-name"
+        end
 
-      def cluster_id
-        "cluster_id"
-      end
+        def cluster_id
+          "cluster_id"
+        end
 
-      def accept_messages_newer_than
-        "accept-newer-than"
-      end
+        def accept_messages_newer_than
+          "accept-newer-than"
+        end
 
-      def last_processed_message_timestamp
-        "last-timestamp"
-      end
+        def last_processed_message_timestamp
+          "last-timestamp"
+        end
 
-      HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX = "buffered-for-"
+        HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX = "buffered-for-"
 
-      def have_unprocessed_messages_tag_for(node_name)
-       "#{HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX}#{node_name}"
-      end
+        def have_unprocessed_messages_tag_for(node_name)
+         "#{HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX}#{node_name}"
+        end
 
-      def have_unprocessed_messages_tag?(tag)
-        tag.start_with?(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX)
-      end
+        def have_unprocessed_messages_tag?(tag)
+          tag.start_with?(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX)
+        end
 
-      def extract_node_name_from_have_unprocessed_messages_tag(tag)
-        tag.sub(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX, "")
-      end
+        def extract_node_name_from_have_unprocessed_messages_tag(tag)
+          tag.sub(HAVE_UNPROCESSED_MESSAGES_TAG_PREFIX, "")
+        end
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る