KITAITI Makoto
null+****@clear*****
Wed Mar 2 01:11:27 JST 2016
KITAITI Makoto 2016-03-02 01:11:27 +0900 (Wed, 02 Mar 2016) New Revision: 8b4f5c111732c11861a6e8582f76adfde558572d https://github.com/ranguba/groonga-client/commit/8b4f5c111732c11861a6e8582f76adfde558572d Merged 6ec9a71: Merge pull request #8 from KitaitiMakoto/https Message: Change name of TLS option: use_ssl -> use_tls Modified files: lib/groonga/client.rb lib/groonga/client/protocol/http/synchronous.rb Modified: lib/groonga/client.rb (+1 -1) =================================================================== --- lib/groonga/client.rb 2016-02-28 03:02:10 +0900 (59ee634) +++ lib/groonga/client.rb 2016-03-02 01:11:27 +0900 (9ed0651) @@ -78,7 +78,7 @@ module Groonga if protocol == :gqtp @connection = Groonga::Client::Protocol::GQTP.new(options) else - options[:use_ssl] = true if protocol == :https + options[:use_tls] = true if protocol == :https @connection = Groonga::Client::Protocol::HTTP.new(options) end end Modified: lib/groonga/client/protocol/http/synchronous.rb (+1 -1) =================================================================== --- lib/groonga/client/protocol/http/synchronous.rb 2016-02-28 03:02:10 +0900 (ac2e59b) +++ lib/groonga/client/protocol/http/synchronous.rb 2016-03-02 01:11:27 +0900 (3461ce4) @@ -34,7 +34,7 @@ module Groonga def send(command) begin - Net::HTTP.start(@host, @port, @options) do |http| + Net::HTTP.start(@host, @port, use_ssl: @options[:use_tls]) do |http| http.read_timeout = read_timeout response = send_request(http, command) case response -------------- next part -------------- HTML����������������������������...Download