From 4241ef565e335d70ff7784e3cd6bff3d6404c9f2 Mon Sep 17 00:00:00 2001 From: Jack Wong Date: Wed, 6 Mar 2019 14:25:41 +0800 Subject: [PATCH] move config file to appropriate path (#1408) --- lib/cryptoexchange.rb | 6 +++--- lib/{ => cryptoexchange}/config.rb | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/{ => cryptoexchange}/config.rb (100%) diff --git a/lib/cryptoexchange.rb b/lib/cryptoexchange.rb index 9b5280ac5..b8687b589 100644 --- a/lib/cryptoexchange.rb +++ b/lib/cryptoexchange.rb @@ -14,6 +14,7 @@ require "cryptoexchange/services/trade_stream" require "cryptoexchange/services/order_book_stream" require "cryptoexchange/services/authentication" +require "cryptoexchange/config" path_files = Dir[File.join(File.dirname(__dir__), 'lib', 'cryptoexchange', '**', '*.rb')] @@ -21,9 +22,8 @@ require_relative path end +Cryptoexchange.reset_config + require "http" require "lru_redux" require "websocket-eventmachine-client" -require "config" - -Cryptoexchange.reset_config diff --git a/lib/config.rb b/lib/cryptoexchange/config.rb similarity index 100% rename from lib/config.rb rename to lib/cryptoexchange/config.rb