From f0d9c402e8273270b8f445ab3e9ecab381666374 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 14 Jan 2020 20:27:36 -0800 Subject: [PATCH] Use require_relative instead of require require_relative is faster Signed-off-by: Tim Smith --- .travis.yml | 8 +++++--- lib/kitchen/driver/azurerm.rb | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63d0b5c..db3799b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,10 @@ branches: matrix: include: - - rvm: 2.4.5 - - rvm: 2.5.3 - - rvm: 2.6.0 + - rvm: 2.4.9 + - rvm: 2.5.7 + - rvm: 2.6.5 + - rvm: 2.7.0 + - rvm: ruby-head allow_failures: - rvm: ruby-head diff --git a/lib/kitchen/driver/azurerm.rb b/lib/kitchen/driver/azurerm.rb index 5dd121d..932d93c 100644 --- a/lib/kitchen/driver/azurerm.rb +++ b/lib/kitchen/driver/azurerm.rb @@ -1,5 +1,5 @@ require "kitchen" -require "kitchen/driver/credentials" +require_relative "credentials" require "securerandom" require "azure_mgmt_resources" require "azure_mgmt_network"