Move files under lib back to libraries

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2017-12-14 23:41:12 -05:00 committed by GitHub
parent a33146f9a4
commit e317fff2ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 6 deletions

View file

@ -1,4 +0,0 @@
require 'aws-sdk'
require_relative 'aws/backend_factory_mixin'
require_relative 'aws/resource_mixin'
require_relative 'aws/connection'

7
libraries/_aws.rb Normal file
View file

@ -0,0 +1,7 @@
# Main AWS loader file. The intent is for this to be
# loaded only if AWS resources are needed.
require 'aws-sdk' # TODO: split once ADK v3 is in use
require '_aws_backend_factory_mixin'
require '_aws_resource_mixin'
require '_aws_connection'

View file

@ -1,3 +1,3 @@
# This file simply acts as a loader when inspec-aws
# is being used as a resource pack.
require_relative '../lib/inspec/aws'
require '_aws'

View file

@ -7,4 +7,4 @@ require 'json'
require 'ostruct'
require 'inspec/resource'
require_relative '../../lib/inspec/aws'
require_relative '../../libraries/_aws'