[Groonga-commit] ranguba/groonga-client at 87e77d8 [master] Set @auth_user and @auth_password to supress warnings

Zurück zum Archiv-Index

KITAITI Makoto null+****@clear*****
Sat Feb 6 12:59:57 JST 2016


KITAITI Makoto	2016-02-06 12:59:57 +0900 (Sat, 06 Feb 2016)

  New Revision: 87e77d82873538d64876c4bd4b7520a030a16f12
  https://github.com/ranguba/groonga-client/commit/87e77d82873538d64876c4bd4b7520a030a16f12

  Merged 41a8b86: Merge pull request #4 from KitaitiMakoto/basic-auth

  Message:
    Set @auth_user and @auth_password to supress warnings

  Modified files:
    test/test-client.rb

  Modified: test/test-client.rb (+4 -0)
===================================================================
--- test/test-client.rb    2016-02-06 12:59:32 +0900 (c13836d)
+++ test/test-client.rb    2016-02-06 12:59:57 +0900 (39b45bb)
@@ -289,6 +289,8 @@ JSON
       @port =****@serve*****[1]
       @protocol = :gqtp
 
+      @auth_user = nil
+      @auth_password = nil
       @actual_commands = []
       @response_body = nil
       @thread = Thread.new do
@@ -332,6 +334,8 @@ JSON
       @port =****@serve*****[1]
       @protocol = :http
 
+      @auth_user ||= nil
+      @auth_password ||= nil
       @request_headers = {}
       @actual_commands = []
       @response_body = nil
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index