KITAITI Makoto
null+****@clear*****
Fri Feb 5 13:36:28 JST 2016
KITAITI Makoto 2016-02-05 13:36:28 +0900 (Fri, 05 Feb 2016) New Revision: 2809c6e15a7755e3487ced5af4ebdc36e07b32be https://github.com/ranguba/groonga-client/commit/2809c6e15a7755e3487ced5af4ebdc36e07b32be Merged 41a8b86: Merge pull request #4 from KitaitiMakoto/basic-auth Message: Add Protocol::HTTP::Synchronous#do_authenticate? Modified files: lib/groonga/client/protocol/http/synchronous.rb Modified: lib/groonga/client/protocol/http/synchronous.rb (+4 -0) =================================================================== --- lib/groonga/client/protocol/http/synchronous.rb 2016-02-05 13:34:00 +0900 (958d7e1) +++ lib/groonga/client/protocol/http/synchronous.rb 2016-02-05 13:36:28 +0900 (06a14f3) @@ -120,6 +120,10 @@ module Groonga "user-agent" => @options[:user_agent], } end + + def do_authenticate? + @options[:auth_user] && @options[:auth_password] + end end end end -------------- next part -------------- HTML����������������������������... 다운로드