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/commands/node.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/leap_cli/commands/node.rb') diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index 304d86b..ba637f8 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -1,6 +1,4 @@ -require 'net/ssh/known_hosts' -require 'tempfile' -require 'ipaddr' +autoload :IPAddr, 'ipaddr' module LeapCli; module Commands -- cgit v1.2.3