[Groonga-commit] droonga/droonga-engine at 2dd3158 [master] Fix wrong plural form

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 17 17:11:50 JST 2015


YUKI Hiroshi	2015-04-17 17:11:50 +0900 (Fri, 17 Apr 2015)

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

  Message:
    Fix wrong plural form

  Modified files:
    lib/droonga/plugins/dump.rb

  Modified: lib/droonga/plugins/dump.rb (+4 -4)
===================================================================
--- lib/droonga/plugins/dump.rb    2015-04-17 17:05:56 +0900 (3853859)
+++ lib/droonga/plugins/dump.rb    2015-04-17 17:11:50 +0900 (2c7e902)
@@ -39,11 +39,11 @@ module Droonga
       class Request < AsyncCommand::Request
         DEFAULT_MESSAGES_PER_SECOND = 10000
 
-        def messages_per_seconds
+        def messages_per_second
           request = (@message.request || {})
-          minimum_messages_per_seconds = 10
+          minimum_messages_per_second = 10
           [
-            minimum_messages_per_seconds,
+            minimum_messages_per_second,
             (request["messagesPerSecond"] || DEFAULT_MESSAGES_PER_SECOND).to_i,
           ].max
         end
@@ -309,7 +309,7 @@ module Droonga
         def setup_forward_data
           super
           @n_forwarded_messages = 0
-          @messages_per_100msec =****@reque*****_per_seconds / 10
+          @messages_per_100msec =****@reque*****_per_second / 10
         end
 
         def forward(type, body=nil)
-------------- next part --------------
HTML����������������������������...
다운로드 



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