more simplecov ignores

This commit is contained in:
HoneyryderChuck 2021-02-19 17:56:01 +00:00
parent ee505a92e5
commit f3999daafc
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ SimpleCov.start do
add_filter "/.bundle/"
add_filter "/vendor/"
add_filter "/test/"
add_filter "/integrations/"
add_filter "/lib/httpx/extensions.rb"
add_filter "/lib/httpx/loggable.rb"
add_filter "/lib/httpx/plugins/internal_telemetry.rb"

View File

@ -17,8 +17,10 @@ module HTTPX
require "httpx/io/tls"
register "ssl", TLS
rescue LoadError
# :nocov:
require "httpx/io/ssl"
register "ssl", SSL
# :nocov:
end
else
require "httpx/io/ssl"