diff options
author | elijah <elijah@riseup.net> | 2014-10-28 11:21:21 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-10-28 11:21:21 -0700 |
commit | dddbaa40ed9abb1031ccdce21c3d6769dbc5b112 (patch) | |
tree | adec8224af0906c291cd7daa63f1dc1c359851fd /lib/leap_cli/commands/ca.rb | |
parent | 8067a244be533aac273725bef70618bae6f557cc (diff) |
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/commands/ca.rb')
-rw-r--r-- | lib/leap_cli/commands/ca.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/leap_cli/commands/ca.rb b/lib/leap_cli/commands/ca.rb index ecc324b..579e305 100644 --- a/lib/leap_cli/commands/ca.rb +++ b/lib/leap_cli/commands/ca.rb @@ -1,6 +1,6 @@ -require 'openssl' -require 'certificate_authority' -require 'date' +autoload :OpenSSL, 'openssl' +autoload :CertificateAuthority, 'certificate_authority' +autoload :Date, 'date' require 'digest/md5' module LeapCli; module Commands |