Skip to content

Commit

Permalink
Revert to regular require to fix transport loading across gem bo… (#572)
Browse files Browse the repository at this point in the history
Revert to regular require to fix transport loading across gem boundary
  • Loading branch information
clintoncwolfe authored Feb 14, 2020
2 parents 933eba6 + c9c5c72 commit 7204d03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/train/transports/azure.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# encoding: utf-8

require_relative "../plugins"
require "train/plugins"
require "ms_rest_azure"
require "azure_mgmt_resources"
require "azure_graph_rbac"
require "azure_mgmt_key_vault"
require "socket"
require "timeout"
require_relative "helpers/azure/file_credentials"
require_relative "clients/azure/graph_rbac"
require_relative "clients/azure/vault"
require "train/transports/helpers/azure/file_credentials"
require "train/transports/clients/azure/graph_rbac"
require "train/transports/clients/azure/vault"

module Train::Transports
class Azure < Train.plugin(1)
Expand Down
2 changes: 1 addition & 1 deletion lib/train/transports/gcp.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# encoding: utf-8

require_relative "../plugins"
require "train/plugins"
require "google/apis"
require "google/apis/cloudresourcemanager_v1"
require "google/apis/compute_v1"
Expand Down
2 changes: 1 addition & 1 deletion lib/train/transports/vmware.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8
require_relative "../plugins"
require "train/plugins"
require "open3"
require "ostruct"
require "json"
Expand Down

0 comments on commit 7204d03

Please sign in to comment.