[Groonga-commit] ranguba/groonga-client at 0ff758c [master] Support lock_clear response

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 21 22:58:52 JST 2016


Kouhei Sutou	2016-03-21 22:58:52 +0900 (Mon, 21 Mar 2016)

  New Revision: 0ff758cda953f98072848c690131377f5990f30e
  https://github.com/ranguba/groonga-client/commit/0ff758cda953f98072848c690131377f5990f30e

  Message:
    Support lock_clear response

  Modified files:
    lib/groonga/client/response.rb
  Renamed files:
    lib/groonga/client/response/lock-clear.rb
      (from lib/groonga/client/response/clearlock.rb)

  Modified: lib/groonga/client/response.rb (+1 -1)
===================================================================
--- lib/groonga/client/response.rb    2016-03-21 22:55:55 +0900 (b2269f0)
+++ lib/groonga/client/response.rb    2016-03-21 22:58:52 +0900 (df76b80)
@@ -17,7 +17,6 @@
 
 require "groonga/client/response/cache-limit"
 require "groonga/client/response/check"
-require "groonga/client/response/clearlock"
 require "groonga/client/response/column-create"
 require "groonga/client/response/column-list"
 require "groonga/client/response/column-remove"
@@ -27,6 +26,7 @@ require "groonga/client/response/delete"
 require "groonga/client/response/dump"
 require "groonga/client/response/error"
 require "groonga/client/response/load"
+require "groonga/client/response/lock-clear"
 require "groonga/client/response/log-level"
 require "groonga/client/response/log-put"
 require "groonga/client/response/log-reopen"

  Renamed: lib/groonga/client/response/lock-clear.rb (+4 -3) 85%
===================================================================
--- lib/groonga/client/response/clearlock.rb    2016-03-21 22:55:55 +0900 (f87f5f3)
+++ lib/groonga/client/response/lock-clear.rb    2016-03-21 22:58:52 +0900 (c092424)
@@ -1,6 +1,5 @@
-# -*- coding: utf-8 -*-
-#
 # Copyright (C) 2013  Haruka Yoshihara <yoshihara �� clear-code.com>
+# Copyright (C) 2016  Kouhei Sutou <kou �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -21,7 +20,9 @@ require "groonga/client/response/base"
 module Groonga
   class Client
     module Response
-      class ClearLock < Base
+      class LockClear < Base
+        Response.register("lock_clear", self)
+        # For backward compatibility
         Response.register("clearlock", self)
       end
     end
-------------- next part --------------
HTML����������������������������...
下载 



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