File: vendored_persistent.rb

package info (click to toggle)
bundler 1.13.6-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,096 kB
  • sloc: ruby: 40,688; sh: 34; makefile: 18
file content (10 lines) | stat: -rw-r--r-- 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true
# We forcibly require OpenSSL, because net/http/persistent will only autoload
# it. On some Rubies, autoload fails but explicit require succeeds.
begin
  require "openssl"
rescue LoadError
  # some Ruby builds don't have OpenSSL
end

require "net/http/persistent"