Bugs: Browse | Submit New | Admin

[#25815] Ruby 1.9.1 Net::HTTP Bug in activeresource-2.3.2/lib/active_resource/connection.rb

Date:
2009-05-07 02:04
Priority:
3
Submitted By:
Christopher Maujean (cmaujean)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Ruby 1.9.1 Net::HTTP Bug in activeresource-2.3.2/lib/active_resource/connection.rb

Detailed description
Net::HTTP#use_ssl was not aliased to use_ssl? in 1.9.1 as it was in 1.8.6

line 191 was:
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl

line 191 should be:
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if http.use_ssl?

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item