google-cloud-bigquery 1.48.1 → 1.49.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: aa2cef46925794d89f8a8490fdfc92fc0fb324d0400b3b774d5e4ac361ccc3d3
4
- data.tar.gz: 77380e8fb5f297ab9bbc6478e171c34aa22afc83e993f34a76edbea4584d3b9f
3
+ metadata.gz: f979fe7e44af31c6d42eb73bc600518ac65256528922b0408e1d53a06eeb2bf3
4
+ data.tar.gz: 1166dc9eda59befc0b5f7db1d9b1a11f733a07ae04cedc6f0cbadd6861b54809
5
5
  SHA512:
6
- metadata.gz: 231494ea6cfab7158734bf5557dfcf685692295e708211b35ab7d719b672a52d2968cb1d763c8f1b1047fecf17c43f357809cade81c3534cc8577b5d092871ec
7
- data.tar.gz: 9920684cfcc772f7bb9503f089a1bd75ba2f1b578351a09fce66120ec5926d55c42b6cecfbbe7942f4965c99aebda078dd8df9df275ce38e11e3cb82e295d90f
6
+ metadata.gz: 0c03902d8c991ac39653a6a78c50f9f6196a6642efbc1bf507bc614a57f9f522c43d80db555830dfeb95739cdd987305634a1b35ecd4a63bf56e3b2c788fcbbb
7
+ data.tar.gz: e2b4769842cc0bed814ca19535d4fe205464f61a54ffab3b0f52c226b9f216bb9968852c4bb81a9e24947b11c7df559cf2c8bdd8785db8882860ba568dd71a5c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 1.49.1 (2024-06-05)
4
+
5
+ #### Bug Fixes
6
+
7
+ * Added bigdecimal to the gem dependencies ([#26012](https://github.com/googleapis/google-cloud-ruby/issues/26012))
8
+
9
+ ### 1.49.0 (2024-03-10)
10
+
11
+ #### Features
12
+
13
+ * Update minimum supported Ruby version to 2.7 ([#25298](https://github.com/googleapis/google-cloud-ruby/issues/25298))
14
+
3
15
  ### 1.48.1 (2024-02-10)
4
16
 
5
17
  #### Documentation
@@ -633,6 +633,7 @@ module Google
633
633
  create_session: nil,
634
634
  session_id: nil
635
635
  ensure_service!
636
+ project ||= self.project
636
637
  options = {
637
638
  params: params,
638
639
  types: types,
@@ -644,7 +645,7 @@ module Google
644
645
  write: write,
645
646
  dryrun: dryrun,
646
647
  dataset: dataset,
647
- project: (project || self.project),
648
+ project: project,
648
649
  standard_sql: standard_sql,
649
650
  legacy_sql: legacy_sql,
650
651
  large_results: large_results,
@@ -558,13 +558,15 @@ module Google
558
558
  def dataset_ref_from dts, pjt = nil
559
559
  return nil if dts.nil?
560
560
  if dts.respond_to? :dataset_id
561
+ pjt ||= dts.project_id || @project
561
562
  Google::Apis::BigqueryV2::DatasetReference.new(
562
- project_id: (pjt || dts.project_id || @project),
563
+ project_id: pjt,
563
564
  dataset_id: dts.dataset_id
564
565
  )
565
566
  else
567
+ pjt ||= @project
566
568
  Google::Apis::BigqueryV2::DatasetReference.new(
567
- project_id: (pjt || @project),
569
+ project_id: pjt,
568
570
  dataset_id: dts
569
571
  )
570
572
  end
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Bigquery
19
- VERSION = "1.48.1".freeze
19
+ VERSION = "1.49.1".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -72,7 +72,7 @@ module Google
72
72
  retries ||= configure.retries
73
73
  timeout ||= configure.timeout
74
74
  endpoint ||= configure.endpoint
75
- credentials ||= (keyfile || default_credentials(scope: scope))
75
+ credentials ||= keyfile || default_credentials(scope: scope)
76
76
  universe_domain ||= configure.universe_domain
77
77
 
78
78
  unless credentials.is_a? Google::Auth::Credentials
@@ -71,9 +71,11 @@ module Google
71
71
  # bigquery = gcloud.bigquery scope: platform_scope
72
72
  #
73
73
  def bigquery scope: nil, retries: nil, timeout: nil
74
+ retries ||= @retries
75
+ timeout ||= @timeout
74
76
  Google::Cloud.bigquery @project, @keyfile, scope: scope,
75
- retries: (retries || @retries),
76
- timeout: (timeout || @timeout)
77
+ retries: retries,
78
+ timeout: timeout
77
79
  end
78
80
 
79
81
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.1
4
+ version: 1.49.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,8 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-02-10 00:00:00.000000000 Z
12
+ date: 2024-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bigdecimal
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.0'
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: concurrent-ruby
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -95,160 +109,6 @@ dependencies:
95
109
  - - "~>"
96
110
  - !ruby/object:Gem::Version
97
111
  version: '1.0'
98
- - !ruby/object:Gem::Dependency
99
- name: autotest-suffix
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.1'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - !ruby/object:Gem::Dependency
113
- name: google-cloud-data_catalog
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '1.2'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '1.2'
126
- - !ruby/object:Gem::Dependency
127
- name: google-style
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: 1.26.1
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: 1.26.1
140
- - !ruby/object:Gem::Dependency
141
- name: minitest
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '5.16'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '5.16'
154
- - !ruby/object:Gem::Dependency
155
- name: minitest-autotest
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '1.0'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '1.0'
168
- - !ruby/object:Gem::Dependency
169
- name: minitest-focus
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '1.1'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '1.1'
182
- - !ruby/object:Gem::Dependency
183
- name: minitest-rg
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - "~>"
187
- - !ruby/object:Gem::Version
188
- version: '5.2'
189
- type: :development
190
- prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: '5.2'
196
- - !ruby/object:Gem::Dependency
197
- name: redcarpet
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - "~>"
201
- - !ruby/object:Gem::Version
202
- version: '3.0'
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - "~>"
208
- - !ruby/object:Gem::Version
209
- version: '3.0'
210
- - !ruby/object:Gem::Dependency
211
- name: simplecov
212
- requirement: !ruby/object:Gem::Requirement
213
- requirements:
214
- - - "~>"
215
- - !ruby/object:Gem::Version
216
- version: '0.18'
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - "~>"
222
- - !ruby/object:Gem::Version
223
- version: '0.18'
224
- - !ruby/object:Gem::Dependency
225
- name: yard
226
- requirement: !ruby/object:Gem::Requirement
227
- requirements:
228
- - - "~>"
229
- - !ruby/object:Gem::Version
230
- version: '0.9'
231
- type: :development
232
- prerelease: false
233
- version_requirements: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - "~>"
236
- - !ruby/object:Gem::Version
237
- version: '0.9'
238
- - !ruby/object:Gem::Dependency
239
- name: yard-doctest
240
- requirement: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - "~>"
243
- - !ruby/object:Gem::Version
244
- version: 0.1.13
245
- type: :development
246
- prerelease: false
247
- version_requirements: !ruby/object:Gem::Requirement
248
- requirements:
249
- - - "~>"
250
- - !ruby/object:Gem::Version
251
- version: 0.1.13
252
112
  description: google-cloud-bigquery is the official library for Google BigQuery.
253
113
  email:
254
114
  - mike@blowmage.com
@@ -322,14 +182,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
322
182
  requirements:
323
183
  - - ">="
324
184
  - !ruby/object:Gem::Version
325
- version: '2.6'
185
+ version: '2.7'
326
186
  required_rubygems_version: !ruby/object:Gem::Requirement
327
187
  requirements:
328
188
  - - ">="
329
189
  - !ruby/object:Gem::Version
330
190
  version: '0'
331
191
  requirements: []
332
- rubygems_version: 3.5.3
192
+ rubygems_version: 3.5.6
333
193
  signing_key:
334
194
  specification_version: 4
335
195
  summary: API Client library for Google BigQuery