[Groonga-commit] droonga/fluent-plugin-droonga at 18fbedf [master] Don't output detail

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 12:55:11 JST 2013


YUKI Hiroshi	2013-12-26 12:55:11 +0900 (Thu, 26 Dec 2013)

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

  Merged d5217b2: Merge branch 'master' of 192.168.1.21:~piro/groonga/fluent-plugin-droonga into HEAD

  Message:
    Don't output detail

  Modified files:
    lib/droonga/plugin/handler/add.rb

  Modified: lib/droonga/plugin/handler/add.rb (+6 -8)
===================================================================
--- lib/droonga/plugin/handler/add.rb    2013-12-26 12:54:49 +0900 (c13baf9)
+++ lib/droonga/plugin/handler/add.rb    2013-12-26 12:55:11 +0900 (7851458)
@@ -27,23 +27,21 @@ module Droonga
     end
 
     class MissingTable < InvalidRequest
-      def initialize(options={})
-        super("\"table\" must be specified.", options)
+      def initialize
+        super("\"table\" must be specified.")
       end
     end
 
     class MissingPrimaryKey < InvalidRequest
-      def initialize(table_name, options={})
+      def initialize(table_name)
         super("\"key\" must be specified. " +
-                "The table #{table_name.inspect} requires a primary key for a new record.",
-              options)
+                "The table #{table_name.inspect} requires a primary key for a new record.")
       end
     end
 
     class UnknownTable < InvalidRequest
-      def initialize(table_name, options={})
-        super("The table #{table_name.inspect} does not exist in the dataset.",
-              options)
+      def initialize(table_name)
+        super("The table #{table_name.inspect} does not exist in the dataset.")
       end
 
       def status_code
-------------- next part --------------
HTML����������������������������...
Download 



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