[Groonga-commit] droonga/fluent-plugin-droonga at e240aeb [master] Unfreeze constants, becasue it is too robust

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 27 18:07:42 JST 2014


YUKI Hiroshi	2014-01-27 18:07:42 +0900 (Mon, 27 Jan 2014)

  New Revision: e240aeb02651f9a2075c1a8655a9ebc340e8cf4e
  https://github.com/droonga/fluent-plugin-droonga/commit/e240aeb02651f9a2075c1a8655a9ebc340e8cf4e

  Message:
    Unfreeze constants, becasue it is too robust

  Modified files:
    lib/droonga/message_processing_error.rb

  Modified: lib/droonga/message_processing_error.rb (+3 -3)
===================================================================
--- lib/droonga/message_processing_error.rb    2014-01-27 18:07:23 +0900 (7224ea6)
+++ lib/droonga/message_processing_error.rb    2014-01-27 18:07:42 +0900 (67e111c)
@@ -15,7 +15,7 @@
 
 module Droonga
   class MessageProcessingError < StandardError
-    STATUS_CODE = 500.freeze
+    STATUS_CODE = 500
 
     attr_reader :message, :detail
  
@@ -43,7 +43,7 @@ module Droonga
   end
 
   class BadRequest < MessageProcessingError
-    STATUS_CODE = 400.freeze
+    STATUS_CODE = 400
 
     def status_code
       STATUS_CODE
@@ -51,7 +51,7 @@ module Droonga
   end
 
   class NotFound < MessageProcessingError
-    STATUS_CODE = 404.freeze
+    STATUS_CODE = 404
 
     def status_code
       STATUS_CODE
-------------- next part --------------
HTML����������������������������...
Download 



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