diff options
author | mwrock <matt@mattwrock.com> | 2020-09-04 18:46:27 -0700 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-09-08 14:46:36 -0700 |
commit | 41ae92bd5070b450e04f02ae9a1d30987d14bb93 (patch) | |
tree | 952399197c5344e29a648560fda242ef77a7dd7e /lib/chef/digester.rb | |
parent | 313afa345a0d19019218807a16bf6fdd6447a87b (diff) | |
download | chef-41ae92bd5070b450e04f02ae9a1d30987d14bb93.tar.gz |
use autoloading for many required gems
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'lib/chef/digester.rb')
-rw-r--r-- | lib/chef/digester.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/digester.rb b/lib/chef/digester.rb index b9180ddd24..36df63f3a1 100644 --- a/lib/chef/digester.rb +++ b/lib/chef/digester.rb @@ -18,8 +18,8 @@ # limitations under the License. # -require "openssl" unless defined?(OpenSSL) -require "digest" unless defined?(Digest) +autoload :OpenSSL, "openssl" +autoload :Digest, "digest" require "singleton" unless defined?(Singleton) class Chef |