lib/httpx/io/unix.rb in httpx-0.24.7 vs lib/httpx/io/unix.rb in httpx-1.0.0
- old
+ new
@@ -25,17 +25,10 @@
@path = @io.path
@keep_open = true
@state = :connected
else
- if @options.transport_options
- # :nocov:
- warn ":transport_options is deprecated, use :addresses instead"
- @path = @options.transport_options[:path]
- # :nocov:
- else
- @path = addresses.first
- end
+ @path = addresses.first
end
@io ||= build_socket
end
def connect