Rakefile in quandl_client-2.6.2 vs Rakefile in quandl_client-2.7.0

- old
+ new

@@ -7,11 +7,13 @@ require 'pry' require "quandl/client" include Quandl::Client -Quandl::Client.use ENV['QUANDL_URL'] -Quandl::Client.token = ENV['QUANDL_AUTH_TOKEN'] +config = OpenStruct.new(YAML.load(File.read("#{ENV['HOME']}/.quandl/config"))) + +Quandl::Client.use config.quandl_url +Quandl::Client.token = config.token task :default => :spec desc "Run all specs" RSpec::Core::RakeTask.new(:spec) do |task|