Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 557 Bytes

UPGRADING.md

File metadata and controls

15 lines (11 loc) · 557 Bytes

Upgrading OpenWeather Ruby Client

Upgrading to >= 0.3.0

#27 Removes default values for Faraday's SSL settings ca_file and ca_path.

If you previously relied on OpenSSL::X509::DEFAULT_CERT_FILE or OpenSSL::X509::DEFAULT_CERT_DIR to set these values you must now do so explicitly. E.g.:

OpenWeather::Client.configure do |config|
  config.ca_path = OpenSSL::X509::DEFAULT_CERT_DIR
  config.ca_file = OpenSSL::X509::DEFAULT_CERT_FILE
end