google-cloud-storage 1.48.0 → 1.48.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a77b42f7925425dc6cc14c9676292017c15db9826ff30221112dfcf4eea9594b
4
- data.tar.gz: 6f3398d6858494cf5cec59a274d9f15395d302257aba7f016d66ebc6bdb52cd9
3
+ metadata.gz: 0ba208497567ec78a35a17309d8f7510a26cbfa304522fef436c32b607c7a295
4
+ data.tar.gz: 2e9294c55434f76c3723d1408c5b777c7bd195f4405ec08d88b8d33903136b60
5
5
  SHA512:
6
- metadata.gz: 60877c029fd33a3a0840463d09bf6eb6fe4b8355ace365e83e720cf5cf6c07de6a32b3be6b9c74be98cdc0c3331b05d6f08b4c4b25ff0d672da89584e9f66554
7
- data.tar.gz: e46861398365f3e4c8c6793bd013f7dbaeba7c774c11bb4a928ae6c1d14edec9ba45fe1038b382f6be7e590bd718dbfd641a04569f0d6ad701ada18a548cdc56
6
+ metadata.gz: 0f31dd1e06029deba139bd8da0551d44664890b88cb6259428f1d150268693aabc3f9e05892108cf38d2c25d18d8046f200c4fbdc6087594f12e8761dc2e7f90
7
+ data.tar.gz: f0d6919dbb3d252c069ed2673e3dbef881f94409ee6dd7ee73bd1ec63425f8c1afcd0ef19e87095001a69ebc80c6fe253d2e76712b9f412c2745ccbf3d55bdac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 1.48.1 (2024-01-26)
4
+
5
+ #### Bug Fixes
6
+
7
+ * Raise an error on mismatching universe domain ([#24486](https://github.com/googleapis/google-cloud-ruby/issues/24486))
8
+
3
9
  ### 1.48.0 (2024-01-25)
4
10
 
5
11
  #### Features
@@ -74,6 +74,12 @@ module Google
74
74
  @service.authorization = @credentials.client if @credentials
75
75
  @service.root_url = host if host
76
76
  @service.universe_domain = universe_domain
77
+ begin
78
+ @service.verify_universe_domain!
79
+ rescue Google::Apis::UniverseDomainError => e
80
+ # TODO: Create a Google::Cloud::Error subclass for this.
81
+ raise Google::Cloud::Error, e.message
82
+ end
77
83
  end
78
84
  # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
79
85
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Storage
19
- VERSION = "1.48.0".freeze
19
+ VERSION = "1.48.1".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.48.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-25 00:00:00.000000000 Z
12
+ date: 2024-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: google-apis-core
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '0.13'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.13'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: google-apis-iamcredentials_v1
30
44
  requirement: !ruby/object:Gem::Requirement