lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.8.1 vs lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.8.2
- old
+ new
@@ -17,10 +17,10 @@
# Google::Cloud.bigquery and Google::Cloud#bigquery methods can be available,
# but the library and all dependencies won't be loaded until required and used.
gem "google-cloud-core"
-require "google/cloud"
+require "google/cloud" unless defined? Google::Cloud.new
require "google/cloud/config"
require "googleauth"
module Google
module Cloud