fog-google 1.29.3 → 1.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70267564198e1bf6559634d7a117abab84f75071dd4924103e5a2d95ffaf726a
4
- data.tar.gz: 79ddefe25739fc06bb54752473fd11b9f48014e2d1c9f0eccf8c58e0896505bc
3
+ metadata.gz: 6fbb2c15466badb3829494a41234c7db6530ce14379899ffe13ccfcfdc88a1e1
4
+ data.tar.gz: 7f447100fbfbae91310910cdacea6f747f886e95a94a02ee9a24c78e3ced9c1f
5
5
  SHA512:
6
- metadata.gz: 24a13db6b1f8577285099248c14bf2a701b7a1995fab782f94d19bf4176ba037ebf02c1e8ada3bcf759b9f47bbfe357540be402141f4379e2a4ed9ee7ad9551b
7
- data.tar.gz: a1ebe02f51befe24c8b7df2b9e0d4b2f8f60368353ce450771926b9c0de0b7d595c08ac692aafa402be7014bd5b2123ff48c933c03fd2cbc07e98bb950e50b8b
6
+ metadata.gz: f9ebeed14cab4e2a218d2199738b22465bdb03dd6a921e93852eb3c5e99f64827da2f6a4204de9577e7f1cdede8932d23ef86e0ab5deea41ea181d143fddb1e7
7
+ data.tar.gz: 53b3cbb2fa17945e36a4da0233a0239d6aa67a447b18a9cb68e36d2ce9678fea725340cd797a1552a2000b2b8e524f91677330d94b2b4d849477ec37cf77d05b
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ The format is loosely based on [Keep a Changelog](http://keepachangelog.com/en/1
4
4
 
5
5
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 1.29.4
8
+
9
+ - #657 Fix handling of universe domains with service key
10
+
7
11
  ## 1.29.3
8
12
 
9
13
  - #656 Fix IAM credentials not setting universe domain properly
@@ -174,8 +174,7 @@ module Fog
174
174
  # @return [Google::Auth::DefaultCredentials] - google auth object
175
175
  def process_application_default_auth(options)
176
176
  google_options = options.slice(:universe_domain)
177
- credentials = ::Google::Auth.get_application_default(options[:google_api_scope_url], google_options)
178
- credentials
177
+ ::Google::Auth.get_application_default(options[:google_api_scope_url], google_options)
179
178
  end
180
179
 
181
180
  # Helper method to process fallback authentication
@@ -216,14 +215,10 @@ module Fog
216
215
 
217
216
  validate_json_credentials(json_key)
218
217
 
219
- credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
218
+ ::Google::Auth::ServiceAccountCredentials.make_creds(
220
219
  :json_key_io => StringIO.new(json_key),
221
220
  :scope => options[:google_api_scope_url]
222
221
  )
223
-
224
- universe_domain = universe_domain_from_options(options)
225
- credentials.universe_domain = universe_domain if universe_domain && credentials.respond_to?(:universe_domain=)
226
- credentials
227
222
  end
228
223
 
229
224
  # Helper method to sort out deprecated and missing auth options
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Google
3
- VERSION = "1.29.3".freeze
3
+ VERSION = "1.29.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.3
4
+ version: 1.29.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Welch