lib/google/cloud/datastore.rb in google-cloud-datastore-2.8.0 vs lib/google/cloud/datastore.rb in google-cloud-datastore-2.9.0

- old
+ new

@@ -125,10 +125,10 @@ host: emulator_host, timeout: timeout ) ) end - credentials ||= (keyfile || default_credentials(scope: scope)) + credentials ||= keyfile || default_credentials(scope: scope) unless credentials.is_a? Google::Auth::Credentials credentials = Datastore::Credentials.new credentials, scope: scope end if credentials.respond_to? :project_id