puppetlabs / ruby-hocon

A Ruby port of the Typesafe Config library.
Apache License 2.0
34 stars 30 forks source link

(PA-4914) Use relative_require #133

Closed joshcooper closed 1 year ago

joshcooper commented 1 year ago

Require will scan each entry in the $LOAD_PATH, so avoid that.

The only remaining requires are for ruby standard gems:

$ git grep -hE "require ['\"][a-z]+['\"]" lib | sort | uniq
require 'forwardable'
require 'optparse'
require 'pathname'
require 'set'
require 'stringio'
require 'uri'