From dddbaa40ed9abb1031ccdce21c3d6769dbc5b112 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 28 Oct 2014 11:21:21 -0700 Subject: autoload some of the external dependencies that are rarely used, so that we don't need to load them every time. --- lib/leap_cli/util/secret.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/util/secret.rb') diff --git a/lib/leap_cli/util/secret.rb b/lib/leap_cli/util/secret.rb index a6bd7a3..837a0af 100644 --- a/lib/leap_cli/util/secret.rb +++ b/lib/leap_cli/util/secret.rb @@ -4,7 +4,7 @@ # # Uses OpenSSL random number generator instead of Ruby's rand function # -require 'openssl' +autoload :OpenSSL, 'openssl' module LeapCli; module Util class Secret -- cgit v1.2.3