aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/util/secret.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-10-28 11:21:21 -0700
committerelijah <elijah@riseup.net>2014-10-28 11:21:21 -0700
commitdddbaa40ed9abb1031ccdce21c3d6769dbc5b112 (patch)
treeadec8224af0906c291cd7daa63f1dc1c359851fd /lib/leap_cli/util/secret.rb
parent8067a244be533aac273725bef70618bae6f557cc (diff)
downloadleap_cli-dddbaa40ed9abb1031ccdce21c3d6769dbc5b112.tar.gz
leap_cli-dddbaa40ed9abb1031ccdce21c3d6769dbc5b112.tar.bz2
autoload some of the external dependencies that are rarely used, so that we don't need to load them every time.
Diffstat (limited to 'lib/leap_cli/util/secret.rb')
-rw-r--r--lib/leap_cli/util/secret.rb2
1 files changed, 1 insertions, 1 deletions
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