Skip to content

Commit

Permalink
relocate require to lib/excon from connection
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Mar 24, 2024
1 parent 8d8edd0 commit 7f8c949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/excon.rb
@@ -1,9 +1,11 @@
# frozen_string_literal: true

$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'cgi'
require 'forwardable'
require 'ipaddr'
require 'openssl'
require 'rbconfig'
require 'socket'
Expand Down
1 change: 0 additions & 1 deletion lib/excon/connection.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
require 'ipaddr'

module Excon
class Connection
Expand Down

0 comments on commit 7f8c949

Please sign in to comment.