google-cloud-resource_manager 0.36.2 → 0.38.0

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: 7c7b96d0db87a09869a32271ad614c718129428a2b7d0bc7ee881301018d2f39
4
- data.tar.gz: '039aaa94b4532140f4309352134b1e6d971a32be4f648e467340c32d4b0300ab'
3
+ metadata.gz: 4960c59838179014d8f1f2360ee23ea0233220736783b6294ac68e09760cc009
4
+ data.tar.gz: ec4dd334ab9ef0b74c95885e2ad65b881b5b0d1cc390646fd892e0730d23bc85
5
5
  SHA512:
6
- metadata.gz: abdada2a9382c803f3f4e77fdfefc2e77df9fa4c2e151441193996a55dc93c9f3c040e8fbb362fbc98ddd078b1b3a4f30573f48ae4d157b772d864de14a9f7d6
7
- data.tar.gz: 0ebf3b97d5e8799faa9f331438f4fa324b69dee76a2b36d539775c576501a03b59853ab9ea2d2284906f4113956701628762abed6fcdcb3529c14b364eca3354
6
+ metadata.gz: f26b258951e8be89aa41b250f113613cddad62ccce892750492e4365062551dd053c22030f519568cd637da0faada58cd39a40e41f39d2cd62ea3370f3f61c81
7
+ data.tar.gz: bcb1c49eca2e906b9d6fe0739670773907bbd42f1dd790293bbe7dbef9ecaec07fc97eea40dd118de9fbc7b8b8b4f12fd57f234811896fd6aba46b676ed083f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 0.38.0 (2024-03-07)
4
+
5
+ #### Features
6
+
7
+ * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
8
+
9
+ ### 0.37.0 (2022-06-30)
10
+
11
+ #### Features
12
+
13
+ * Update minimum Ruby version to 2.6 ([#18444](https://github.com/googleapis/google-cloud-ruby/issues/18444))
14
+
3
15
  ### 0.36.2 / 2021-07-08
4
16
 
5
17
  #### Documentation
@@ -36,18 +36,15 @@ module Google
36
36
  def initialize credentials, retries: nil, timeout: nil, host: nil, quota_project: nil
37
37
  @credentials = credentials
38
38
  @service = API::CloudResourceManagerService.new
39
- @service.client_options.application_name = \
40
- "gcloud-ruby"
41
- @service.client_options.application_version = \
42
- Google::Cloud::ResourceManager::VERSION
39
+ @service.client_options.application_name = "gcloud-ruby"
40
+ @service.client_options.application_version = Google::Cloud::ResourceManager::VERSION
43
41
  @service.client_options.open_timeout_sec = timeout
44
42
  @service.client_options.read_timeout_sec = timeout
45
43
  @service.client_options.send_timeout_sec = timeout
46
44
  @service.request_options.retries = retries || 3
47
45
  @service.request_options.header ||= {}
48
- @service.request_options.header["x-goog-api-client"] = \
49
- "gl-ruby/#{RUBY_VERSION} " \
50
- "gccl/#{Google::Cloud::ResourceManager::VERSION}"
46
+ @service.request_options.header["x-goog-api-client"] =
47
+ "gl-ruby/#{RUBY_VERSION} gccl/#{Google::Cloud::ResourceManager::VERSION}"
51
48
  @service.request_options.quota_project = quota_project if quota_project
52
49
  @service.authorization = @credentials.client
53
50
  @service.root_url = host if host
@@ -80,7 +77,7 @@ module Google
80
77
  parent = parent.to_gapi unless parent.nil?
81
78
  project_attrs = {
82
79
  project_id: project_id, name: name, labels: labels, parent: parent
83
- }.delete_if { |_, v| v.nil? }
80
+ }.compact
84
81
  execute { service.create_project API::Project.new(**project_attrs) }
85
82
  end
86
83
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ResourceManager
19
- VERSION = "0.36.2".freeze
19
+ VERSION = "0.38.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -65,9 +65,11 @@ module Google
65
65
  # resource_manager = gcloud.resource_manager scope: readonly_scope
66
66
  #
67
67
  def resource_manager scope: nil, retries: nil, timeout: nil
68
+ retries ||= @retries
69
+ timeout ||= @timeout
68
70
  Google::Cloud.resource_manager @keyfile, scope: scope,
69
- retries: (retries || @retries),
70
- timeout: (timeout || @timeout)
71
+ retries: retries,
72
+ timeout: timeout
71
73
  end
72
74
 
73
75
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-resource_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.2
4
+ version: 0.38.0
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: 2021-07-08 00:00:00.000000000 Z
12
+ date: 2024-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -59,146 +59,6 @@ dependencies:
59
59
  - - "<"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.a
62
- - !ruby/object:Gem::Dependency
63
- name: google-style
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 1.25.1
69
- type: :development
70
- prerelease: false
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 1.25.1
76
- - !ruby/object:Gem::Dependency
77
- name: minitest
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '5.14'
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '5.14'
90
- - !ruby/object:Gem::Dependency
91
- name: minitest-autotest
92
- requirement: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.0'
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.0'
104
- - !ruby/object:Gem::Dependency
105
- name: minitest-focus
106
- requirement: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.1'
111
- type: :development
112
- prerelease: false
113
- version_requirements: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.1'
118
- - !ruby/object:Gem::Dependency
119
- name: minitest-rg
120
- requirement: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '5.2'
125
- type: :development
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '5.2'
132
- - !ruby/object:Gem::Dependency
133
- name: autotest-suffix
134
- requirement: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.1'
139
- type: :development
140
- prerelease: false
141
- version_requirements: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '1.1'
146
- - !ruby/object:Gem::Dependency
147
- name: redcarpet
148
- requirement: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '3.0'
153
- type: :development
154
- prerelease: false
155
- version_requirements: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '3.0'
160
- - !ruby/object:Gem::Dependency
161
- name: simplecov
162
- requirement: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.9'
167
- type: :development
168
- prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '0.9'
174
- - !ruby/object:Gem::Dependency
175
- name: yard
176
- requirement: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '0.9'
181
- type: :development
182
- prerelease: false
183
- version_requirements: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '0.9'
188
- - !ruby/object:Gem::Dependency
189
- name: yard-doctest
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: 0.1.13
195
- type: :development
196
- prerelease: false
197
- version_requirements: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: 0.1.13
202
62
  description: google-cloud-resource_manager is the official library for Google Cloud
203
63
  Resource Manager.
204
64
  email:
@@ -240,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
240
100
  requirements:
241
101
  - - ">="
242
102
  - !ruby/object:Gem::Version
243
- version: '2.5'
103
+ version: '2.7'
244
104
  required_rubygems_version: !ruby/object:Gem::Requirement
245
105
  requirements:
246
106
  - - ">="
247
107
  - !ruby/object:Gem::Version
248
108
  version: '0'
249
109
  requirements: []
250
- rubygems_version: 3.2.17
110
+ rubygems_version: 3.5.6
251
111
  signing_key:
252
112
  specification_version: 4
253
113
  summary: API Client library for Google Cloud Resource Manager