mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-27 00:03:01 -05:00
more simplecov ignores
This commit is contained in:
parent
ee505a92e5
commit
f3999daafc
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user