From 2549f6063205a62366ee6a63a8ab40d2b94b2c18 Mon Sep 17 00:00:00 2001 From: Saiqul Haq <1275215+saiqulhaq@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:44:31 +0700 Subject: [PATCH] feat: add `ciphers` SSL option (#21) --- faraday-excon.gemspec | 2 +- lib/faraday/adapter/excon.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/faraday-excon.gemspec b/faraday-excon.gemspec index f46672d..6c86b41 100644 --- a/faraday-excon.gemspec +++ b/faraday-excon.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_dependency 'excon', '>= 0.109.0' - spec.add_dependency 'faraday', '~> 2.0' + spec.add_dependency 'faraday', '>= 2.11.0', '< 3' end diff --git a/lib/faraday/adapter/excon.rb b/lib/faraday/adapter/excon.rb index 7abce9b..f5fcf7a 100644 --- a/lib/faraday/adapter/excon.rb +++ b/lib/faraday/adapter/excon.rb @@ -82,6 +82,7 @@ def needs_ssl_settings?(env) end OPTS_KEYS = [ + %i[ciphers ciphers], %i[client_cert client_cert], %i[client_key client_key], %i[certificate certificate],